Question: How is Carroll County that shares border with Grafton County related to New Hampshire?
Choices: movement
exclave of
uses
residence
next higher rank
highest judicial authority
manner of death
located in the administrative territorial entity
famous people
student of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Carroll County" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "Grafton County" . ?e_2 <pred:name> "New Hampshire" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Grafton County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Carroll County
function: And
dependencies: 1
2
function: Find
inputs: New Hampshire
function: QueryRelation
dependencies: 3
4
Answer: located in the administrative territorial entity