Question: How many historical countries have a population surpassing 1600000000 or a founding year prior to 1868?
Choices:
14
15
16
17
18
19
20
21
22
23
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
1600000000
>
function: FilterConcept
dependencies: 1
inputs: historical country
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1868
<
function: FilterConcept
dependencies: 4
inputs: historical country
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> "historical country" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "1600000000"^^xsd:double ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1868 ) .  } }
Answer: 21