Question: The New York City story setting of TMNT, hailing from Canada, is in which country?
Choices:
German Democratic Republic
Iceland
United States of America
Norway
Greece
Ecuador
Germany
Argentina
Russia
Ukraine
Program:
function: Find
inputs: Canada
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: TMNT
function: And
dependencies: 1
2
function: Find
inputs: New York City
function: QueryRelationQualifier
dependencies: 3
4
inputs: narrative location
country
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "TMNT" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "Canada" . ?e_2 <pred:name> "New York City" . ?e_1 <narrative_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <narrative_location> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Answer: United States of America