Question: What is the connection between Ryanair and Ireland (that is the release territory of Borat)?
Choices: mouth of the watercourse
country
production company
update method
material used
permanent resident of
derivative work
developer
country of origin
family name
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ryanair" . ?e_2 <pred:name> "Ireland" . ?e_3 <film_release_region> ?e_2 . ?e_3 <pred:name> "Borat" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ryanair
function: Find
inputs: Borat
function: Relate
dependencies: 1
inputs: film release region
forward
function: Find
inputs: Ireland
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: country