Question: How many forms of government are there whose life expectancy is higher than 13.3 years or ITU letter code is ALB?
Choices:
30
31
32
33
34
35
36
37
38
39
Answer: 37
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "form of government" .  { ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v > "13.3"^^xsd:double ) .  } UNION { ?e <ITU_letter_code> ?pv . ?pv <pred:value> "ALB" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: life expectancy
13.3 year
>
function: FilterConcept
dependencies: 1
inputs: form of government
function: FindAll
function: FilterStr
dependencies: 3
inputs: ITU letter code
ALB
function: FilterConcept
dependencies: 4
inputs: form of government
function: Or
dependencies: 2
5
function: Count
dependencies: 6