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