Question: What is the connection between Kent County (the one that shares border with Baltimore County) to Cecil County?
Choices:
lyrics by
appointed by
chief executive officer
father
shares border with
office contested
named after
located in or next to body of water
official color
material used
Program:
function: Find
inputs: Baltimore County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Kent County
function: And
dependencies: 1
2
function: Find
inputs: Cecil County
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kent County" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Baltimore County" . ?e_2 <pred:name> "Cecil County" . ?e_1 ?p ?e_2 .  }
Answer: shares border with