Question: How many republics have an inflation rate not 0 percent?
Choices:
27
28
29
30
31
32
33
34
35
36
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: inflation rate
0 percentage
!=
function: FilterConcept
dependencies: 1
inputs: republic
function: Count
dependencies: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" . ?e <inflation_rate> ?pv . ?pv <pred:unit> "percentage" . ?pv <pred:value> ?v . FILTER ( ?v != "0"^^xsd:double ) .  }
Answer: 34