Question: How many democracies have a nominal GDP not equal to 1003200000000 Czech koruna and have an inflation rate greater than 7400 percentage?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" . ?e <nominal_GDP> ?pv . ?pv <pred:unit> "Czech koruna" . ?pv <pred:value> ?v . FILTER ( ?v != "1003200000000"^^xsd:double ) . ?e <inflation_rate> ?pv_1 . ?pv_1 <pred:unit> "percentage" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > "7400"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: nominal GDP
1003200000000 Czech koruna
!=
function: FilterConcept
dependencies: 1
inputs: democracy
function: FindAll
function: FilterNum
dependencies: 3
inputs: inflation rate
7400 percentage
>
function: FilterConcept
dependencies: 4
inputs: democracy
function: And
dependencies: 2
5
function: Count
dependencies: 6