Question: How many film festivals included the 2009 Sundance Film Festival and the 2011 Sundance Film Festival?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film festival" . ?e_1 <part_of_the_series> ?e . ?e_1 <pred:name> "2009 Sundance Film Festival" .  ?e_2 <part_of_the_series> ?e . ?e_2 <pred:name> "2011 Sundance Film Festival" .  }
Program:
function: Find
inputs: 2009 Sundance Film Festival
function: Relate
dependencies: 0
inputs: part of the series
forward
function: FilterConcept
dependencies: 1
inputs: film festival
function: Find
inputs: 2011 Sundance Film Festival
function: Relate
dependencies: 3
inputs: part of the series
forward
function: FilterConcept
dependencies: 4
inputs: film festival
function: And
dependencies: 2
5
function: Count
dependencies: 6