Question: What is the connection between Rambo (the one that origins from United States of America) to Mexico?
Choices:
dialect of
narrative role
organizer
conferred by
dissertation submitted to
filming location
instrumentation
registered with
residence
programming paradigm
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Rambo
function: And
dependencies: 1
2
function: Find
inputs: Mexico
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Rambo" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "Mexico" . ?e_1 ?p ?e_2 .  }
Answer: filming location