Question: How many states have an inflation rate less than 750 percent?
Choices:
18
19
20
21
22
23
24
25
26
27
Answer: 22
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <inflation_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> ?v . FILTER ( ?v < "750"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: inflation rate
750 percentage
<
function: FilterConcept
dependencies: 1
inputs: state
function: Count
dependencies: 2