Question: How many geographic regions have a population of less than 68000000 or have a Stack Exchange tag of https://travel.stackexchange.com/tags/pacific-ocean?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "geographic region" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "68000000"^^xsd:double ) .  } UNION { ?e <Stack_Exchange_tag> ?pv . ?pv <pred:value> "https://travel.stackexchange.com/tags/pacific-ocean" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
68000000
<
function: FilterConcept
dependencies: 1
inputs: geographic region
function: FindAll
function: FilterStr
dependencies: 3
inputs: Stack Exchange tag
https://travel.stackexchange.com/tags/pacific-ocean
function: FilterConcept
dependencies: 4
inputs: geographic region
function: Or
dependencies: 2
5
function: Count
dependencies: 6