Question: What is the number of film festival editions that are a part of the movie festival that is the regional debut venue?
Choices:
7
8
9
10
11
12
13
14
15
16
Answer: 8
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film festival edition" . ?e <part_of_the_series> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "film festival" . ?e_2 <film_regional_debut_venue> ?e_1 . ?e_2 <pred:name> "American Graffiti" .   }
Program:
function: Find
inputs: American Graffiti
function: Relate
dependencies: 0
inputs: film regional debut venue
forward
function: FilterConcept
dependencies: 1
inputs: film festival
function: Relate
dependencies: 2
inputs: part of the series
backward
function: FilterConcept
dependencies: 3
inputs: film festival edition
function: Count
dependencies: 4