Question: What country does the US village, whose area is larger than 8,300,000 square m and whose postal code is 11551 ?
Choices:
Romania
Kenya Colony
United States of America
Czechoslovak Socialist Republic
Scotland
Albania
Iran
Lebanon
Holy Roman Empire
Bhutan
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "village in the United States" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square metre" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > "8300000"^^xsd:double ) . ?e <postal_code> ?pv . ?pv <pred:value> "11551" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
8300000 square metre
>
function: FilterConcept
dependencies: 1
inputs: village in the United States
function: QueryAttrQualifier
dependencies: 2
inputs: postal code
11551
country