Question: How many US cities with zip code 46207 were established in a year besides 1893?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <postal_code> ?pv . ?pv <pred:value> "46207" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v . FILTER ( ?v != 1893 ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
46207
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1893
!=
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: And
dependencies: 2
5
function: Count
dependencies: 6