Question: How many democracies are within the Central European Time zone or have a life expectancy below 13.6 years?
Choices: 8
9
10
11
12
13
14
15
16
17
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "democracy" .  { ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Central European Time" .  } UNION { ?e <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v < "13.6"^^xsd:double ) .  } }
Program:
function: Find
inputs: Central European Time
function: Relate
dependencies: 0
inputs: located in time zone
backward
function: FilterConcept
dependencies: 1
inputs: democracy
function: FindAll
function: FilterNum
dependencies: 3
inputs: life expectancy
13.6 year
<
function: FilterConcept
dependencies: 4
inputs: democracy
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 8