Question: What is the connection between Earth (the one whose narrative location is Oceania) to United States of America?
Choices:
signatory
characters
partially contains
time period
chairperson
religion
appointed by
military rank
connects with
country of origin
Program:
function: Find
inputs: Oceania
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Earth
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Earth" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "Oceania" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country of origin