Question: Which country does the the city of the United States whose official name is City of Albuquerque and postal code is 87119 belong to ?
Choices:
Slovenia
Kingdom of Great Britain
Spain
Austria
United States of America
Sint Maarten
Indonesia
Ecuador
Italy
South Africa
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official name
City of Albuquerque
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: QueryAttrQualifier
dependencies: 2
inputs: postal code
87119
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <official_name> ?pv_1 . ?pv_1 <pred:value> "City of Albuquerque" . ?e <postal_code> ?pv . ?pv <pred:value> "87119" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv .  }
Answer: United States of America