Question: How many Netherlands municipalities are in the country of the Netherlands or are the formation location of Esbjerg fB?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "municipality of the Netherlands" .  { ?e <country> ?e_1 . ?e_1 <pred:name> "Netherlands" .  } UNION { ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> "Esbjerg fB" .  } }
Program:
function: Find
inputs: Netherlands
function: Relate
dependencies: 0
inputs: country
backward
function: FilterConcept
dependencies: 1
inputs: municipality of the Netherlands
function: Find
inputs: Esbjerg fB
function: Relate
dependencies: 3
inputs: location of formation
forward
function: FilterConcept
dependencies: 4
inputs: municipality of the Netherlands
function: Or
dependencies: 2
5
function: Count
dependencies: 6