Question: What country does Lexington, with the population of 295,803, the headquarter location of University of Kentucky, belongs to?
Choices:
Socialist Federal Republic of Yugoslavia
Bangladesh
Papal States
Austria
Indonesia
Israel
Czech Republic
Kingdom of Saxony
United States of America
Burkina Faso
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "University of Kentucky" . ?e_2 <pred:name> "Lexington" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "295803"^^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 Kentucky
function: Find
inputs: Lexington
function: FilterNum
dependencies: 1
inputs: population
295803
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
country