Question: How is Sarajevo that is the twinned administrative body of Amman related to Ferrara?
Choices:
twinned administrative body
season starts
head of government
father
director/manager
chief executive officer
is a list of
permanent resident of
child
exclave of
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Sarajevo" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> "Amman" . ?e_2 <pred:name> "Ferrara" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Amman
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Sarajevo
function: And
dependencies: 1
2
function: Find
inputs: Ferrara
function: QueryRelation
dependencies: 3
4