Question: How many organizations have a number of employees not equal to a 350000 workforce or have a total revenue greater than 200900000000000 South Korean won?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "organization" .  { ?e <employees> ?pv . ?pv <pred:unit> "workforce" . ?pv <pred:value> ?v . FILTER ( ?v != "350000"^^xsd:double ) .  } UNION { ?e <total_revenue> ?pv . ?pv <pred:unit> "South Korean won" . ?pv <pred:value> ?v . FILTER ( ?v > "200900000000000"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: employees
350000 workforce
!=
function: FilterConcept
dependencies: 1
inputs: organization
function: FindAll
function: FilterNum
dependencies: 3
inputs: total revenue
200900000000000 South Korean won
>
function: FilterConcept
dependencies: 4
inputs: organization
function: Or
dependencies: 2
5
function: Count
dependencies: 6