Question: When was the US town in Montgomery County in Pennsylvania founded?
Choices:
1899-08-10
1901-05-01
1788-01-02
1991-02-26
1681
1914-05-24
1226
1703
1998
1915-01-01
Answer: 1681
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Montgomery County" . ?e_1 <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Pennsylvania" .  ?e <inception> ?pv .  }
Program:
function: Find
inputs: Pennsylvania
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Montgomery County
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: town of the United States
function: QueryAttr
dependencies: 5
inputs: inception