Question: What is the ARCHON code of the university headquartered in London (the one whose population is 366151)?
Choices:
2177
941
981
651
397
744
1299
1968
2753
461
Answer: 941
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "university" . ?e <headquarters_location> ?e_1 . ?e_1 <pred:name> "London" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "366151"^^xsd:double . ?e <ARCHON_code> ?pv .  }
Program:
function: Find
inputs: London
function: FilterNum
dependencies: 0
inputs: population
366151
=
function: Relate
dependencies: 1
inputs: headquarters location
backward
function: FilterConcept
dependencies: 2
inputs: university
function: QueryAttr
dependencies: 3
inputs: ARCHON code