Question: What number of airlines have a total revenue larger than 8300000000 euros or have fewer than 1900 employees?
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> "airline" .  { ?e <total_revenue> ?pv . ?pv <pred:unit> "euro" . ?pv <pred:value> ?v . FILTER ( ?v > "8300000000"^^xsd:double ) .  } UNION { ?e <employees> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "1900"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: total revenue
8300000000 euro
>
function: FilterConcept
dependencies: 1
inputs: airline
function: FindAll
function: FilterNum
dependencies: 3
inputs: employees
1900
<
function: FilterConcept
dependencies: 4
inputs: airline
function: Or
dependencies: 2
5
function: Count
dependencies: 6