Question: What is the connection between Varna to Barcelona (the one that is the filming location of The Impossible)?
Choices:
twinned administrative body
color
religion
location of discovery
doctoral advisor
different from
sponsor
eye color
derivative work
edition or translation of
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Varna" . ?e_2 <pred:name> "Barcelona" . ?e_3 <filming_location> ?e_2 . ?e_3 <pred:name> "The Impossible" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Varna
function: Find
inputs: The Impossible
function: Relate
dependencies: 1
inputs: filming location
forward
function: Find
inputs: Barcelona
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4