Question: How many film-festival editions have Berlin as a location?
Choices: 2
3
4
5
6
7
8
9
10
11
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film festival edition" . ?e <location> ?e_1 . ?e_1 <pred:name> "Berlin" .   }
Program:
function: Find
inputs: Berlin
function: Relate
dependencies: 0
inputs: location
backward
function: FilterConcept
dependencies: 1
inputs: film festival edition
function: Count
dependencies: 2
Answer: 7