Question: How many municipalities of the Netherlands are there whose official website is http://www.rotterdam.nl/ or number of households is under 51000000?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "municipality of the Netherlands" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.rotterdam.nl/" .  } UNION { ?e <number_of_households> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "51000000"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.rotterdam.nl/
function: FilterConcept
dependencies: 1
inputs: municipality of the Netherlands
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of households
51000000
<
function: FilterConcept
dependencies: 4
inputs: municipality of the Netherlands
function: Or
dependencies: 2
5
function: Count
dependencies: 6