Question: How many capitals have a population over 640000 or a postal code of 75116?
Choices:
26
27
28
29
30
31
32
33
34
35
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
640000
>
function: FilterConcept
dependencies: 1
inputs: capital
function: FindAll
function: FilterStr
dependencies: 3
inputs: postal code
75116
function: FilterConcept
dependencies: 4
inputs: capital
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "capital" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "640000"^^xsd:double ) .  } UNION { ?e <postal_code> ?pv . ?pv <pred:value> "75116" .  } }
Answer: 33