Question: What is the connection between Carroll County (the one that shares border with Grafton County) to Grafton County?
Choices: airline alliance
instrument
shares border with
grants
godparent
lowest point
seed team
director of photography
location of discovery
part of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carroll County" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Grafton County" . ?e_2 <pred:name> "Grafton County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Grafton County
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Carroll County
function: And
dependencies: 1
2
function: Find
inputs: Grafton County
function: QueryRelation
dependencies: 3
4
Answer: shares border with