Question: How many Dutch municipalities have less or more than 57,000 people living there or use http://www.nijmegen.nl/ as the official website ?
Choices:
7
8
9
10
11
12
13
14
15
16
Answer: 11
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> ?v . FILTER ( ?v != "57000"^^xsd:double ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.nijmegen.nl/" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
57000
!=
function: FilterConcept
dependencies: 1
inputs: municipality of the Netherlands
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.nijmegen.nl/
function: FilterConcept
dependencies: 4
inputs: municipality of the Netherlands
function: Or
dependencies: 2
5
function: Count
dependencies: 6