Question: How many New Jersey counties are not 5,800,000 square kilometers in size?
Choices: 17
18
19
20
21
22
23
24
25
26
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New Jersey" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v != "5800000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
5800000 square kilometre
!=
function: FilterConcept
dependencies: 1
inputs: county of New Jersey
function: Count
dependencies: 2
Answer: 19