Question: How many silent films whose publication date is not in 1923 or whose title is The Hunchback of Notre Dame?
Choices:
5
6
7
8
9
10
11
12
13
14
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1923
!=
function: FilterConcept
dependencies: 1
inputs: silent film
function: FindAll
function: FilterStr
dependencies: 3
inputs: title
The Hunchback of Notre Dame
function: FilterConcept
dependencies: 4
inputs: silent film
function: Or
dependencies: 2
5
function: Count
dependencies: 6
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "silent film" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1923 ) .  } UNION { ?e <title> ?pv . ?pv <pred:value> "The Hunchback of Notre Dame" .  } }
Answer: 7