Question: How many silent movies are in black-and-white or were released in any year but 1923?
Choices: 5
6
7
8
9
10
11
12
13
14
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "silent film" .  { ?e <color> ?e_1 . ?e_1 <pred:name> "black-and-white" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1923 ) .  } }
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: FilterConcept
dependencies: 1
inputs: silent film
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
1923
!=
function: FilterConcept
dependencies: 4
inputs: silent film
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 7