Question: What country does an US village, with the population of over 0.7 and the postal code 11549, belong ?
Choices:
Thailand
Kuwait
Kingdom of Great Britain
Caribbean Netherlands
United States of America
Suriname
Georgia
Finland
Monaco
Austria
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "village in the United States" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > "0.7"^^xsd:double ) . ?e <postal_code> ?pv . ?pv <pred:value> "11549" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
0.7
>
function: FilterConcept
dependencies: 1
inputs: village in the United States
function: QueryAttrQualifier
dependencies: 2
inputs: postal code
11549
country