Question: How many editions of film festivals come after the 2010 Sundance Film Festival or the 59th Berlin International Film Festival?
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 <follows> ?e_1 . ?e_1 <pred:name> "2010 Sundance Film Festival" .  } UNION { ?e_1 <followed_by> ?e . ?e_1 <pred:name> "59th Berlin International Film Festival" .  } }
Program:
function: Find
inputs: 2010 Sundance Film Festival
function: Relate
dependencies: 0
inputs: follows
backward
function: FilterConcept
dependencies: 1
inputs: film festival edition
function: Find
inputs: 59th Berlin International Film Festival
function: Relate
dependencies: 3
inputs: followed by
forward
function: FilterConcept
dependencies: 4
inputs: film festival edition
function: Or
dependencies: 2
5
function: Count
dependencies: 6