Question: How is Cincinnati related to Munich, capital of Bavaria?
Choices: depicted by
student of
main subject
headquarters location
taxon rank
make-up artist
director/manager
significant person
maintained by
twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cincinnati" . ?e_2 <pred:name> "Munich" . ?e_3 <capital> ?e_2 . ?e_3 <pred:name> "Bavaria" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Cincinnati
function: Find
inputs: Bavaria
function: Relate
dependencies: 1
inputs: capital
forward
function: Find
inputs: Munich
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: twinned administrative body