Question: How many first-level administrative country subdivisions are there whose establishment date is not in 1901 or maximum age for children when compulsory education ends is under 17.6 years old?
Choices:
42
43
44
45
46
47
48
49
50
51
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1901
!=
function: FilterConcept
dependencies: 1
inputs: first-level administrative country subdivision
function: FindAll
function: FilterNum
dependencies: 3
inputs: compulsory education (maximum age)
17.6 years old
<
function: FilterConcept
dependencies: 4
inputs: first-level administrative country subdivision
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> "first-level administrative country subdivision" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1901 ) .  } UNION { ?e <compulsory_education_(maximum_age)> ?pv . ?pv <pred:unit> "years old" . ?pv <pred:value> ?v . FILTER ( ?v < "17.6"^^xsd:double ) .  } }
Answer: 45