Question: Democratic Party member Robert Ryan's place of death, New York City, belongs to which country?
Choices:
Serbia
Weimar Republic
Russian Soviet Federative Socialist Republic
German Democratic Republic
United States of America
United Arab Republic
Estonia
Taiwan
Ontario
international
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Robert Ryan" . ?e_1 <member_of_political_party> ?e_3 . ?e_3 <pred:name> "Democratic Party" . ?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: Democratic Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: Robert Ryan
function: And
dependencies: 1
2
function: Find
inputs: New York City
function: QueryRelationQualifier
dependencies: 3
4
inputs: place of death
country