Question: Was the administrative territorial entity with Lexington, population 295803, as its capital founded in a year other than 1817?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Lexington" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "295803"^^xsd:double . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1817 ) .  }
Program:
function: Find
inputs: Lexington
function: FilterNum
dependencies: 0
inputs: population
295803
=
function: Relate
dependencies: 1
inputs: capital
backward
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity
function: QueryAttr
dependencies: 3
inputs: inception
function: VerifyYear
dependencies: 4
inputs: 1817
!=
Answer: yes