Question: What number of sovereign states have fewer than 8400000 people?
Choices: 101
102
103
104
105
106
107
108
109
110
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "8400000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
8400000
<
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Count
dependencies: 2
Answer: 102