Question: What is the connection between Venice (the one that is the twinned administrative body of Tel Aviv) to Thessaloniki?
Choices:
twinned administrative body
has parts of the class
different from
headquarters location
product or material produced
home port
religious order
country
director of photography
professional or sports partner
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Venice" . ?e_1 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Tel Aviv" . ?e_2 <pred:name> "Thessaloniki" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Tel Aviv
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Venice
function: And
dependencies: 1
2
function: Find
inputs: Thessaloniki
function: QueryRelation
dependencies: 3
4