Question: What is the connection between Amsterdam (that is the twinned administrative body of Tel Aviv) and Tel Aviv?
Choices:
mouth of the watercourse
field of this occupation
headquarters location
licensed to broadcast to
country for sport
position held
replaced by
twinned administrative body
approved by
candidacy in election
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Amsterdam" . ?e_1 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Tel Aviv" . ?e_2 <pred:name> "Tel Aviv" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Tel Aviv
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Amsterdam
function: And
dependencies: 1
2
function: Find
inputs: Tel Aviv
function: QueryRelation
dependencies: 3
4