Question: What country does Hempstead, whose postal code is 11551, belong to?
Choices:
Cambodia
Kuwait
Kingdom of Great Britain
South Africa
Holy Roman Empire
British Empire
United States of America
Bangladesh
Czechoslovak Socialist Republic
Saudi Arabia
Program:
function: Find
inputs: Hempstead
function: QueryAttrQualifier
dependencies: 0
inputs: postal code
11551
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:name> "Hempstead" . ?e <postal_code> ?pv . ?pv <pred:value> "11551" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv .  }
Answer: United States of America