Question: How many republics have a life expectancy not equal to 14.2 years and have an inflation rate less than 6100 percent?
Choices:
33
34
35
36
37
38
39
40
41
42
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: life expectancy
14.2 year
!=
function: FilterConcept
dependencies: 1
inputs: republic
function: FindAll
function: FilterNum
dependencies: 3
inputs: inflation rate
6100 percentage
<
function: FilterConcept
dependencies: 4
inputs: republic
function: And
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "republic" . ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v != "14.2"^^xsd:double ) . ?e <inflation_rate> ?pv_1 . ?pv_1 <pred:unit> "percentage" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 < "6100"^^xsd:double ) .  }
Answer: 34