Question: How many film festivals are there with 1-year frequency ?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film festival" . ?e <frequency_of_event> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> "1"^^xsd:double .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: frequency of event
1 year
=
function: FilterConcept
dependencies: 1
inputs: film festival
function: Count
dependencies: 2
Answer: 5