Question: What is the number of first-level administrative country subdivisions that are succeeded by Brandenburg (whose area is 29478.63 square kilometers) or have an establishment date that is before 1803?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Brandenburg
function: FilterNum
dependencies: 0
inputs: area
29478.63 square kilometre
=
function: Relate
dependencies: 1
inputs: followed by
backward
function: FilterConcept
dependencies: 2
inputs: first-level administrative country subdivision
function: FindAll
function: FilterYear
dependencies: 4
inputs: inception
1803
<
function: FilterConcept
dependencies: 5
inputs: first-level administrative country subdivision
function: Or
dependencies: 3
6
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "first-level administrative country subdivision" .  { ?e <followed_by> ?e_1 . ?e_1 <pred:name> "Brandenburg" . ?e_1 <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "29478.63"^^xsd:double .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1803 ) .  } }
Answer: 6