Question: Which administrative territorial entity bordering Sullivan County, population 43413, is in Vermont?
Choices:
Cass County
Windsor County
Grafton County
Washoe County
Washington County
Essex County
Orange County
African Union
Merrimack County
Kent County
Program:
function: Find
inputs: Sullivan County
function: FilterNum
dependencies: 0
inputs: population
43413
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity
function: Find
inputs: Vermont
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 5
inputs: administrative territorial entity
function: And
dependencies: 3
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Sullivan County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "43413"^^xsd:double .  ?e <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Vermont" .  }
Answer: Windsor County