Question: Which administrative territorial entity bordering St. Louis was not founded in 1829?
Choices:
Orange County
Douglas County
Scott County
New Haven County
St. Louis County
Madison County
Lake County
Washoe County
African Union
Lee County
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1829
!=
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: Find
inputs: St. Louis
function: Relate
dependencies: 3
inputs: shares border with
backward
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1829 ) . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "St. Louis" .  }
Answer: St. Louis County