Question: What is the connection between Moscow (the one that is the twinned administrative body of Tel Aviv) to Kiev?
Choices:
member of sports team
has part
twinned administrative body
illustrator
religious order
ethnic group
instrumentation
designated as terrorist by
inspired by
original film format
Program:
function: Find
inputs: Tel Aviv
function: Relate
dependencies: 0
inputs: twinned administrative body
backward
function: Find
inputs: Moscow
function: And
dependencies: 1
2
function: Find
inputs: Kiev
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Moscow" . ?e_1 <twinned_administrative_body> ?e_3 . ?e_3 <pred:name> "Tel Aviv" . ?e_2 <pred:name> "Kiev" . ?e_1 ?p ?e_2 .  }
Answer: twinned administrative body