Question: What number of sovereign states have a population larger than 6400?
Choices:
144
145
146
147
148
149
150
151
152
153
Answer: 153
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 > "6400"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
6400
>
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: Count
dependencies: 2