Question: How many big cities have a population less than 70000 or a NUTS code of DEB35?
Choices: 5
6
7
8
9
10
11
12
13
14
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 < "70000"^^xsd:double ) .  } UNION { ?e <NUTS_code> ?pv . ?pv <pred:value> "DEB35" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
70000
<
function: FilterConcept
dependencies: 1
inputs: big city
function: FindAll
function: FilterStr
dependencies: 3
inputs: NUTS code
DEB35
function: FilterConcept
dependencies: 4
inputs: big city
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 14