Question: How is Koblenz related to the German Empire that borders Austria-Hungary?
Choices:
office contested
territory overlaps
follows
country
had as last meal
hair color
airline hub
distribution
convicted of
start point
Program:
function: Find
inputs: Koblenz
function: Find
inputs: Austria-Hungary
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: German Empire
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Koblenz" . ?e_2 <pred:name> "German Empire" . ?e_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Austria-Hungary" . ?e_1 ?p ?e_2 .  }
Answer: country