Question: What country does the city that Herbert Hoover died in, New York City, belong to?
Choices:
Russia
United States of America
Ontario
Weimar Republic
Kuwait
Serbia
Kenya Colony
international
Pakistan
Argentina
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Herbert Hoover" . ?e_2 <pred:name> "New York City" . ?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: Herbert Hoover
function: Find
inputs: New York City
function: QueryRelationQualifier
dependencies: 0
1
inputs: place of death
country