Question: How many airlines employ under 700,000 personnel and also operate Boeing 737 aircraft?
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 <employees> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "700000"^^xsd:double ) . ?e <item_operated> ?e_1 . ?e_1 <pred:name> "Boeing 737" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: employees
700000
<
function: FilterConcept
dependencies: 1
inputs: airline
function: Find
inputs: Boeing 737
function: Relate
dependencies: 3
inputs: item operated
backward
function: FilterConcept
dependencies: 4
inputs: airline
function: And
dependencies: 2
5
function: Count
dependencies: 6