Question: What is the New York county whose FIPS 6-4 (US counties) is 36077 and that borders Montgomery County which was founded on 1772-03-12?
Choices:
Orange County
Greene County
Saratoga County
Warren County
Clinton County
Niagara County
Otsego County
Albany County
Herkimer County
Fulton County
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
36077
function: FilterConcept
dependencies: 1
inputs: county of New York
function: Find
inputs: Montgomery County
function: FilterDate
dependencies: 3
inputs: inception
1772-03-12
=
function: Relate
dependencies: 4
inputs: shares border with
forward
function: FilterConcept
dependencies: 5
inputs: county of New York
function: And
dependencies: 2
6
function: What
dependencies: 7
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New York" . ?e <FIPS_6-4_(US_counties)> ?pv . ?pv <pred:value> "36077" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Montgomery County" . ?e_1 <inception> ?pv_1 . ?pv_1 <pred:date> "1772-03-12"^^xsd:date .  }
Answer: Otsego County