Question: What is the connection between X-Men Origins: Wolverine (the one whose release region is South Africa) to Slovenia?
Choices:
film release region
political ideology
given name
has cause
collection
month of the year
father
professorship
software engine
general manager
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "X-Men Origins: Wolverine" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "South Africa" . ?e_2 <pred:name> "Slovenia" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: South Africa
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: X-Men Origins: Wolverine
function: And
dependencies: 1
2
function: Find
inputs: Slovenia
function: QueryRelation
dependencies: 3
4