Question: How many administrative territorial entities of Canada were established in a year other than 1749 or record Dewey Decimal Classification of 2-7191?
Choices:
3
4
5
6
7
8
9
10
11
12
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1749
!=
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity of Canada
function: FindAll
function: FilterStr
dependencies: 3
inputs: Dewey Decimal Classification
2--7191
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity of Canada
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> "administrative territorial entity of Canada" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1749 ) .  } UNION { ?e <Dewey_Decimal_Classification> ?pv . ?pv <pred:value> "2--7191" .  } }
Answer: 4