Question: How many film festival editions are part of the Toronto International Film Festival or were held earlier than 1989?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film festival edition" .  { ?e <part_of_the_series> ?e_1 . ?e_1 <pred:name> "Toronto International Film Festival" .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1989 ) .  } }
Program:
function: Find
inputs: Toronto International Film Festival
function: Relate
dependencies: 0
inputs: part of the series
backward
function: FilterConcept
dependencies: 1
inputs: film festival edition
function: FindAll
function: FilterYear
dependencies: 3
inputs: point in time
1989
<
function: FilterConcept
dependencies: 4
inputs: film festival edition
function: Or
dependencies: 2
5
function: Count
dependencies: 6