Question: What country is the University of Westminster's headquarter location in London (the one whose detail map is London-boroughs.svg)?
Choices:
Holy Roman Empire
Thailand
Bhutan
Singapore
Turkey
Chile
Nepal
Scotland
United Kingdom
Bangladesh
Answer: United Kingdom
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Westminster" . ?e_2 <pred:name> "London" . ?e_2 <detail_map> ?pv . ?pv <pred:value> "London-boroughs.svg" . ?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: detail map
London-boroughs.svg
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
country