Question: What is the relationship between Monroe County (the one that shares border with Lackawanna County) to Luzerne County?
Choices:
place of publication
producer
manner of death
practiced by
studied by
source of income
sponsor
month of the year
sport
shares border with
Program:
function: Find
inputs: Lackawanna County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Monroe County
function: And
dependencies: 1
2
function: Find
inputs: Luzerne County
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Monroe County" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Lackawanna County" . ?e_2 <pred:name> "Luzerne County" . ?e_1 ?p ?e_2 .  }
Answer: shares border with