Question: How many administrative territorial entities have a population not 6.9 and a total fertility rate not 4.9?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
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 != "6.9"^^xsd:double ) . ?e <total_fertility_rate> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "4.9"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
6.9
!=
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: FindAll
function: FilterNum
dependencies: 3
inputs: total fertility rate
4.9
!=
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: And
dependencies: 2
5
function: Count
dependencies: 6