Question: How many municipalities of the Netherlands are the headquarters location of the Delft University of Technology or are an administrative division of South Holland?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 4
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "municipality of the Netherlands" .  { ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Delft University of Technology" .  } UNION { ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "South Holland" .  } }
Program:
function: Find
inputs: Delft University of Technology
function: Relate
dependencies: 0
inputs: headquarters location
forward
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