Question: How many film festivals do not have a frequency of 0.9 years and were established after 1946?
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> "film festival" . ?e <frequency_of_event> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v != "0.9"^^xsd:double ) . ?e <inception> ?pv_1 . ?pv_1 <pred:year> ?v_1 . FILTER ( ?v_1 > 1946 ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: frequency of event
0.9 year
!=
function: FilterConcept
dependencies: 1
inputs: film festival
function: FindAll
function: FilterYear
dependencies: 3
inputs: inception
1946
>
function: FilterConcept
dependencies: 4
inputs: film festival
function: And
dependencies: 2
5
function: Count
dependencies: 6