Question: How many film-festival editions are followed by the 61st Berlin International Film Festival or have the edition number of 62?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film festival edition" .  { ?e <followed_by> ?e_1 . ?e_1 <pred:name> "61st Berlin International Film Festival" .  } UNION { ?e <edition_number> ?pv . ?pv <pred:value> "62" .  } }
Program:
function: Find
inputs: 61st Berlin International Film Festival
function: Relate
dependencies: 0
inputs: followed by
backward
function: FilterConcept
dependencies: 1
inputs: film festival edition
function: FindAll
function: FilterStr
dependencies: 3
inputs: edition number
62
function: FilterConcept
dependencies: 4
inputs: film festival edition
function: Or
dependencies: 2
5
function: Count
dependencies: 6