Question: How many big cities there are whose German district key is 05315 or whose population is less than 7300000?
Choices: 65
66
67
68
69
70
71
72
73
74
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" .  { ?e <German_district_key> ?pv . ?pv <pred:value> "05315" .  } UNION { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "7300000"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: German district key
05315
function: FilterConcept
dependencies: 1
inputs: big city
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
7300000
<
function: FilterConcept
dependencies: 4
inputs: big city
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 66