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