Question: What is the relationship between Luther (the one whose release region is Switzerland) and the Philippines?
Choices:
doctoral advisor
commander of
worshipped by
film release region
dialect of
followed by
captain
general manager
coextensive with
student
Program:
function: Find
inputs: Switzerland
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: Luther
function: And
dependencies: 1
2
function: Find
inputs: Philippines
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Luther" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Switzerland" . ?e_2 <pred:name> "Philippines" . ?e_1 ?p ?e_2 .  }
Answer: film release region