Question: What is the number of New Jersey counties that have inception time other than 1683.
Choices:
16
17
18
19
20
21
22
23
24
25
Answer: 16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New Jersey" . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1683 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1683
!=
function: FilterConcept
dependencies: 1
inputs: county of New Jersey
function: Count
dependencies: 2