Question: How many cities in the United States have a size that is not 8000 square miles?
Choices:
8
9
10
11
12
13
14
15
16
17
Answer: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town of the United States" . ?e <area> ?pv . ?pv <pred:unit> "square mile" . ?pv <pred:value> ?v . FILTER ( ?v != "8000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
8000 square mile
!=
function: FilterConcept
dependencies: 1
inputs: town of the United States
function: Count
dependencies: 2