Question: How many sovereign states distinct from the Second Polish Republic have a life expectancy other than 11.7 years?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Second Polish Republic
function: Relate
dependencies: 0
inputs: different from
backward
function: FilterConcept
dependencies: 1
inputs: sovereign state
function: FindAll
function: FilterNum
dependencies: 3
inputs: life expectancy
11.7 year
!=
function: FilterConcept
dependencies: 4
inputs: sovereign state
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> "sovereign state" . ?e <different_from> ?e_1 . ?e_1 <pred:name> "Second Polish Republic" .  ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v != "11.7"^^xsd:double ) .  }
Answer: 1