Question: How many islands have a population in excess of 51000000 or are the work site of Thomas Jane?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 3
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "island" .  { ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "51000000"^^xsd:double ) .  } UNION { ?e_1 <work_location> ?e . ?e_1 <pred:name> "Thomas Jane" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
51000000
>
function: FilterConcept
dependencies: 1
inputs: island
function: Find
inputs: Thomas Jane
function: Relate
dependencies: 3
inputs: work location
forward
function: FilterConcept
dependencies: 4
inputs: island
function: Or
dependencies: 2
5
function: Count
dependencies: 6