Question: How many sovereign states have a life expectancy greater than 12.6 years and a nominal GDP not equal to 69000000 United States dollars?
Choices: 122
123
124
125
126
127
128
129
130
131
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v > "12.6"^^xsd:double ) . ?e <nominal_GDP> ?pv_1 . ?pv_1 <pred:unit> "United States dollar" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "69000000"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: life expectancy
12.6 year
>
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: FindAll
function: FilterNum
dependencies: 3
inputs: nominal GDP
69000000 United States dollar
!=
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: And
dependencies: 2
5
function: Count
dependencies: 6
Answer: 125