Question: How many administrative territorial entities have a population that is not equal to 1600000000 and has a Dewey Decimal Classification of 2--78961?
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> "administrative territorial entity" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "1600000000"^^xsd:double ) . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--78961" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
1600000000
!=
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: FindAll
function: FilterStr
dependencies: 3
inputs: Dewey Decimal Classification
2--78961
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: And
dependencies: 2
5
function: Count
dependencies: 6