Question: I'd like to know the number of sovereign states that has the total fertility rate not exactly 3.3.
Choices:
119
120
121
122
123
124
125
126
127
128
Answer: 126
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <total_fertility_rate> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "3.3"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: total fertility rate
3.3
!=
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Count
dependencies: 2