Question: Brazil, a country with friendly diplomatic ties to Angola, has what kind of relation to The Fifth Element, which had a release in the region of Uruguay?
Choices: start point
mother
separated from
film release region
field of work
grants
subsidiary
has part
tributary
religion
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Fifth Element" . ?e_1 <film_release_region> ?e_3 . ?e_3 <pred:name> "Uruguay" . ?e_2 <pred:name> "Brazil" . ?e_4 <diplomatic_relation> ?e_2 . ?e_4 <pred:name> "Angola" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Uruguay
function: Relate
dependencies: 0
inputs: film release region
backward
function: Find
inputs: The Fifth Element
function: And
dependencies: 1
2
function: Find
inputs: Angola
function: Relate
dependencies: 4
inputs: diplomatic relation
forward
function: Find
inputs: Brazil
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: film release region