Question: How many Netherlands municipalities are Zeeland's capital or have fewer than 4600000 households?
Choices: 9
10
11
12
13
14
15
16
17
18
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "municipality of the Netherlands" .  { ?e_1 <capital> ?e . ?e_1 <pred:name> "Zeeland" .  } UNION { ?e <number_of_households> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "4600000"^^xsd:double ) .  } }
Program:
function: Find
inputs: Zeeland
function: Relate
dependencies: 0
inputs: capital
forward
function: FilterConcept
dependencies: 1
inputs: municipality of the Netherlands
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of households
4600000
<
function: FilterConcept
dependencies: 4
inputs: municipality of the Netherlands
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 11