Question: London is where the University of Westminster's headquarter is located, what country does it belong to ?
Choices: United Kingdom
New Zealand
France
Cambodia
Uruguay
Kingdom of Saxony
Burkina Faso
South Africa
Hong Kong
Guyana
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Westminster" . ?e_2 <pred:name> "London" . ?e_2 <postal_code> ?pv . ?pv <pred:value> "BR" . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: University of Westminster
function: Find
inputs: London
function: FilterStr
dependencies: 1
inputs: postal code
BR
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
country
Answer: United Kingdom