Question: What is the relationship between Helena (the one that shares a border with Billings) and Billings?
Choices:
cause of death
currency
contributor(s) to the creative work
organizer
shares border with
manner of death
symptom of
has effect
copyright representative
instrumentation
Program:
function: Find
inputs: Billings
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Helena
function: And
dependencies: 1
2
function: Find
inputs: Billings
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Helena" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Billings" . ?e_2 <pred:name> "Billings" . ?e_1 ?p ?e_2 .  }
Answer: shares border with