Question: What is the connection between Ljubljana and Vienna (that is the twinned administrative body of Tunis)?
Choices:
located in the administrative territorial entity
family
director
commissioned by
twinned administrative body
works in collection
office held by head of state
writing system
officially opened by
season starts
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ljubljana" . ?e_2 <pred:name> "Vienna" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Tunis" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Ljubljana
function: Find
inputs: Tunis
function: Relate
dependencies: 1
inputs: twinned administrative body
forward
function: Find
inputs: Vienna
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4