Question: How many Dutch municipalities share a border with Eindhoven or have http://www.maastrichtportal.nl/ as their official website?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "municipality of the Netherlands" .  { ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Eindhoven" .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.maastrichtportal.nl/" .  } }
Program:
function: Find
inputs: Eindhoven
function: Relate
dependencies: 0
inputs: shares border with
forward
function: FilterConcept
dependencies: 1
inputs: municipality of the Netherlands
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.maastrichtportal.nl/
function: FilterConcept
dependencies: 4
inputs: municipality of the Netherlands
function: Or
dependencies: 2
5
function: Count
dependencies: 6