Question: What does Annapolis (the filming location of Syriana) have to do with Wexford?
Choices:
facet of
political ideology
costume designer
film regional debut venue
twinned administrative body
child
grants
published in
subsidiary
main food source
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Annapolis" . ?e_3 <filming_location> ?e_1 . ?e_3 <pred:name> "Syriana" . ?e_2 <pred:name> "Wexford" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Syriana
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: Annapolis
function: And
dependencies: 1
2
function: Find
inputs: Wexford
function: QueryRelation
dependencies: 3
4