Question: What is the connection between Brno to Vienna (the one that is the capital of Austrian Empire)?
Choices:
geographic distribution
this taxon is source of
office held by head of government
employer
contributor(s) to the creative work
appointed by
twinned administrative body
dedicated to
natural product of taxon
donated by
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Brno" . ?e_2 <pred:name> "Vienna" . ?e_3 <capital> ?e_2 . ?e_3 <pred:name> "Austrian Empire" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Brno
function: Find
inputs: Austrian Empire
function: Relate
dependencies: 1
inputs: capital
forward
function: Find
inputs: Vienna
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4