Question: What country is the location of Cambridge, which has a population of 91886 and is also where the MIT Sloan School of Management is headquartered?
Choices: Pakistan
United States of America
Sint Maarten
Brazil
Ireland
Belgium
Canada
Finland
Iceland
Portugal
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "MIT Sloan School of Management" . ?e_2 <pred:name> "Cambridge" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "91886"^^xsd:double . ?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: MIT Sloan School of Management
function: Find
inputs: Cambridge
function: FilterNum
dependencies: 1
inputs: population
91886
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
country
Answer: United States of America