Question: Which country is Lehigh University's headquarter located, if we know it is in Betlehem, with the population of 74982?
Choices:
Syria
United States of America
Pakistan
Greece
Finland
Confederation of the Rhine
Kazakhstan
South Korea
Bhutan
Russian Empire
Program:
function: Find
inputs: Lehigh University
function: Find
inputs: Bethlehem
function: FilterNum
dependencies: 1
inputs: population
74982
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Lehigh University" . ?e_2 <pred:name> "Bethlehem" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "74982"^^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 .  }
Answer: United States of America