Question: What is the connection between Lebanon (that is the region where A Prophet was released) and the Mediterranean Sea?
Choices:
official religion
child astronomical body
separated from
founded by
software engine
lowest point
production designer
has contributing factor
present in work
cast member
Answer: lowest point
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Lebanon" . ?e_3 <film_release_region> ?e_1 . ?e_3 <pred:name> "A Prophet" . ?e_2 <pred:name> "Mediterranean Sea" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: A Prophet
function: Relate
dependencies: 0
inputs: film release region
forward
function: Find
inputs: Lebanon
function: And
dependencies: 1
2
function: Find
inputs: Mediterranean Sea
function: QueryRelation
dependencies: 3
4