Question: How many editions of film festivals preceded the 60th edition of the Berlin International Film Festival or took place sometime other than 2011?
Choices:
8
9
10
11
12
13
14
15
16
17
Answer: 15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film festival edition" .  { ?e_1 <follows> ?e . ?e_1 <pred:name> "60th Berlin International Film Festival" .  } UNION { ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2011 ) .  } }
Program:
function: Find
inputs: 60th Berlin International Film Festival
function: Relate
dependencies: 0
inputs: follows
forward
function: FilterConcept
dependencies: 1
inputs: film festival edition
function: FindAll
function: FilterYear
dependencies: 3
inputs: point in time
2011
!=
function: FilterConcept
dependencies: 4
inputs: film festival edition
function: Or
dependencies: 2
5
function: Count
dependencies: 6