Question: How many big cities have a population that is more than 2700000 or the postal code 50672?
Choices: 0
1
2
3
4
5
6
7
8
9
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 > "2700000"^^xsd:double ) .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> "50672" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
2700000
>
function: FilterConcept
dependencies: 1
inputs: big city
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
50672
function: FilterConcept
dependencies: 4
inputs: big city
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2