Question: How many Dutch provinces have a founding year other than 1867 or have a population exceeding 3000000?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1867
!=
function: FilterConcept
dependencies: 1
inputs: province of the Netherlands
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
3000000
>
function: FilterConcept
dependencies: 4
inputs: province of the Netherlands
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> "province of the Netherlands" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1867 ) .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "3000000"^^xsd:double ) .  } }
Answer: 4