Question: GSS code (2011) S12000042 designates the city of which institution of higher learning's HQ?
Choices:
University of Aberdeen
University of Cambridge
Dundee United F.C.
Dundee F.C.
Indiana State University
Banaras Hindu University
University of Dundee
St. John's University
Memorial University of Newfoundland
University of Edinburgh
Answer: University of Dundee
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "higher education institution" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "city" . ?e_1 <GSS_code_(2011)> ?pv . ?pv <pred:value> "S12000042" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: GSS code (2011)
S12000042
function: FilterConcept
dependencies: 1
inputs: city
function: Relate
dependencies: 2
inputs: headquarters location
backward
function: FilterConcept
dependencies: 3
inputs: higher education institution
function: What
dependencies: 4