Question: What is the connection between Nazi Germany to Kingdom of Hungary (the one that shares border with Nazi Germany)?
Choices:
instrumentation
shares border with
executive producer
update method
founded by
legal form
inspired by
replaces
general manager
field of work
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Nazi Germany" . ?e_2 <pred:name> "Kingdom of Hungary" . ?e_3 <shares_border_with> ?e_2 . ?e_3 <pred:name> "Nazi Germany" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Nazi Germany
function: Find
inputs: Nazi Germany
function: Relate
dependencies: 1
inputs: shares border with
forward
function: Find
inputs: Kingdom of Hungary
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4