Question: How many big cities either do not have a population of 63000000 or were established after 1703?
Choices:
64
65
66
67
68
69
70
71
72
73
Answer: 66
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "63000000"^^xsd:double ) .  } UNION { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1703 ) .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
63000000
!=
function: FilterConcept
dependencies: 1
inputs: big city
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1703
>
function: FilterConcept
dependencies: 4
inputs: big city
function: Or
dependencies: 2
5
function: Count
dependencies: 6