Even though the F 1 score of a logical form is 0, its answer type could still be correct.
we use the following trick: If there is a positive example with answer type t, we do not treat any other logical form with answer type t as negative example.