Question: What is the number of airlines with the IATA airline designator UA.
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "airline" . ?e <IATA_airline_designator> ?pv . ?pv <pred:value> "UA" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: IATA airline designator
UA
function: FilterConcept
dependencies: 1
inputs: airline
function: Count
dependencies: 2