Question: What administrative territorial entity has the FIPS 6-4 (US counties) 50017 and shares a border with Windsor County?
Choices:
Orange County
Washoe County
Sullivan County
Grafton County
Greene County
San Juan County
Cass County
Delaware County
Kent County
Lee County
Answer: Orange County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "50017" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Windsor County" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
50017
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: Find
inputs: Windsor County
function: Relate
dependencies: 3
inputs: shares border with
forward
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: And
dependencies: 2
5
function: What
dependencies: 6