Question: How many film festival editions did not occur in 2011 and were located in Berlin?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film festival edition" . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2011 ) . ?e <location> ?e_1 . ?e_1 <pred:name> "Berlin" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: point in time
2011
!=
function: FilterConcept
dependencies: 1
inputs: film festival edition
function: Find
inputs: Berlin
function: Relate
dependencies: 3
inputs: location
backward
function: FilterConcept
dependencies: 4
inputs: film festival edition
function: And
dependencies: 2
5
function: Count
dependencies: 6