Question: What is the number of airlines whose beginning date is after the year 1926 or hub airfield is Heathrow Airport?
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> "airline" .  { ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1926 ) .  } UNION { ?e <airline_hub> ?e_1 . ?e_1 <pred:name> "Heathrow Airport" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: inception
1926
>
function: FilterConcept
dependencies: 1
inputs: airline
function: Find
inputs: Heathrow Airport
function: Relate
dependencies: 3
inputs: airline hub
backward
function: FilterConcept
dependencies: 4
inputs: airline
function: Or
dependencies: 2
5
function: Count
dependencies: 6