Question: When was the American city located in Allegany County, which has a population of 74495, created?
Choices: -315
1625
1905-06-09
1787
1929-02-11
1902-06-17
1961-02-21
1960-08-11
1826-01-01
1782
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Allegany County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "74495"^^xsd:double . ?e <inception> ?pv .  }
Program:
function: Find
inputs: Allegany County
function: FilterNum
dependencies: 0
inputs: population
74495
=
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: QueryAttr
dependencies: 3
inputs: inception
Answer: 1787