Question: How many historical countries whose dissolution date is not in 1910 or whose population is less than 2100?
Choices: 26
27
28
29
30
31
32
33
34
35
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "historical country" .  { ?e <dissolved,_abolished_or_demolished> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1910 ) .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "2100"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: dissolved, abolished or demolished
1910
!=
function: FilterConcept
dependencies: 1
inputs: historical country
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
2100
<
function: FilterConcept
dependencies: 4
inputs: historical country
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 27