Question: What is the connection between Suffolk (the one that shares border with Chesapeake) to Chesapeake?
Choices:
use
shares border with
has edition
taxon rank
participant
narrative role
dedicated to
has cause
costume designer
film release region
Program:
function: Find
inputs: Chesapeake
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Suffolk
function: And
dependencies: 1
2
function: Find
inputs: Chesapeake
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Suffolk" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Chesapeake" . ?e_2 <pred:name> "Chesapeake" . ?e_1 ?p ?e_2 .  }
Answer: shares border with