Question: How many silent movies in black-and-white were published in a year other than 1918?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 6
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" .  ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1918 ) .  }
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
1918
!=
function: FilterConcept
dependencies: 4
inputs: silent film
function: And
dependencies: 2
5
function: Count
dependencies: 6