Question: Kurt Vonnegut passed away in New York City, what country does it belong to?
Choices:
Spain
Union of South Africa
Iceland
United States of America
Curaçao
Cambodia
Hong Kong
Bangladesh
Lebanon
Burkina Faso
Program:
function: Find
inputs: Kurt Vonnegut
function: Find
inputs: New York City
function: QueryRelationQualifier
dependencies: 0
1
inputs: place of death
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Kurt Vonnegut" . ?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 .  }
Answer: United States of America