Question: How many non-metropolitan district exists which has population of more than 13000000 or whose inception time is before 1974?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "non-metropolitan district" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "13000000"^^xsd:double ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1974 ) .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
13000000
>
function: FilterConcept
dependencies: 1
inputs: non-metropolitan district
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1974
<
function: FilterConcept
dependencies: 4
inputs: non-metropolitan district
function: Or
dependencies: 2
5
function: Count
dependencies: 6