Question: How many languages have more than 280 speakers?
Choices:
41
42
43
44
45
46
47
48
49
50
Answer: 45
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "language" . ?e <number_of_speakers> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "280"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of speakers
280
>
function: FilterConcept
dependencies: 1
inputs: language
function: Count
dependencies: 2