Question: The population of how many sovereign states exceeds 4.7?
Choices:
147
148
149
150
151
152
153
154
155
156
Answer: 154
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 > "4.7"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
4.7
>
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Count
dependencies: 2