Question: How is Resident Evil (the one whose narrative location is United States of America) connected to Portugal?
Choices:
candidate
political alignment
parent astronomical body
drug used for treatment
appears in the form of
has parts of the class
main subject
award received
film release region
language of work or name
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Resident Evil" . ?e_1 <narrative_location> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Portugal" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Resident Evil
function: And
dependencies: 1
2
function: Find
inputs: Portugal
function: QueryRelation
dependencies: 3
4