Question: How many metropolitan boroughs have a population greater than 63000 or have an official website that is http://www.rochdale.gov.uk/?
Choices:
10
11
12
13
14
15
16
17
18
19
Answer: 16
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan borough" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "63000"^^xsd:double ) .  } UNION { ?e <official_website> ?pv . ?pv <pred:value> "http://www.rochdale.gov.uk/" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
63000
>
function: FilterConcept
dependencies: 1
inputs: metropolitan borough
function: FindAll
function: FilterStr
dependencies: 3
inputs: official website
http://www.rochdale.gov.uk/
function: FilterConcept
dependencies: 4
inputs: metropolitan borough
function: Or
dependencies: 2
5
function: Count
dependencies: 6