Question: What is the relationship between Australia (originator of Space Cowboys) and the Lion King (release region Poland)?
Choices:
occupant
registered with
board member
owned by
place served by transport hub
time period
start point
musical conductor
film release region
connects with
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Lion King" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Poland" . ?e_2 <pred:name> "Australia" . ?e_4 <country_of_origin> ?e_2 . ?e_4 <pred:name> "Space Cowboys" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Poland
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Lion King
function: And
dependencies: 1
2
function: Find
inputs: Space Cowboys
function: Relate
dependencies: 4
inputs: country of origin
forward
function: Find
inputs: Australia
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7