Question: How is Antwerp, the twinned administrative body of Cape Town, related to Rostock?
Choices:
hair color
does not have part
languages spoken, written or signed
country for sport
airline alliance
twinned administrative body
mountain range
composer
worshipped by
used by
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Antwerp" . ?e_3 <twinned_administrative_body> ?e_1 . ?e_3 <pred:name> "Cape Town" . ?e_2 <pred:name> "Rostock" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Cape Town
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Antwerp
function: And
dependencies: 1
2
function: Find
inputs: Rostock
function: QueryRelation
dependencies: 3
4