Question: What is the number of municipalities of the Netherlands that has a population of population of 1.8 or that is an administrative division of South Holland?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "municipality of the Netherlands" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "1.8"^^xsd:double .  } UNION { ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "South Holland" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
1.8
=
function: FilterConcept
dependencies: 1
inputs: municipality of the Netherlands
function: Find
inputs: South Holland
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: municipality of the Netherlands
function: Or
dependencies: 2
5
function: Count
dependencies: 6