Question: What country does a city in the US belong if we know University of Maryland is headquartered there, and its postal code is 20740?
Choices: English
People's Republic of China
Thailand
Orange Free State
Kingdom of Saxony
Roman Republic
Saudi Arabia
United States of America
Iceland
Ukraine
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "University of Maryland" .  ?e <postal_code> ?pv . ?pv <pred:value> "20740" . [ <pred:fact_h> ?e ; <pred:fact_r> <postal_code> ; <pred:fact_t> ?pv ] <country> ?qpv .  }
Program:
function: Find
inputs: University of Maryland
function: Relate
dependencies: 0
inputs: headquarters location
forward
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: QueryAttrQualifier
dependencies: 2
inputs: postal code
20740
country
Answer: United States of America