Question: Which country contains Lexington, population 6988, the death place of Robert E. Lee?
Choices:
Ireland
Kuwait
Monaco
Nazi Germany
Confederation of the Rhine
United States of America
South Korea
Argentina
Kingdom of Great Britain
India
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Robert E. Lee" . ?e_2 <pred:name> "Lexington" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "6988"^^xsd:double . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: Robert E. Lee
function: Find
inputs: Lexington
function: FilterNum
dependencies: 1
inputs: population
6988
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: place of death
country