Question: How many sovereign states are part of Eastern Europe or have a life expectancy exceeding 11.3 years?
Choices:
121
122
123
124
125
126
127
128
129
130
Program:
function: Find
inputs: Eastern Europe
function: Relate
dependencies: 0
inputs: has part
forward
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: FindAll
function: FilterNum
dependencies: 3
inputs: life expectancy
11.3 year
>
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" .  { ?e_1 <has_part> ?e . ?e_1 <pred:name> "Eastern Europe" .  } UNION { ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v > "11.3"^^xsd:double ) .  } }
Answer: 125