Question: To what country does University of Richmond's HQ location of Richmond (population 210857) belong?
Choices:
Aruba
Bulgaria
Norway
Philippines
Egypt
Russian Empire
United States of America
Argentina
Chile
Ireland
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Richmond" . ?e_2 <pred:name> "Richmond" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "210857"^^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: University of Richmond
function: Find
inputs: Richmond
function: FilterNum
dependencies: 1
inputs: population
210857
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
country