Question: How many silent films were distributed by THINKFilm or published in a year excluding 1926?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 5
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 != 1926 ) .  } UNION { ?e <distributor> ?e_1 . ?e_1 <pred:name> "THINKFilm" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
1926
!=
function: FilterConcept
dependencies: 1
inputs: silent film
function: Find
inputs: THINKFilm
function: Relate
dependencies: 3
inputs: distributor
backward
function: FilterConcept
dependencies: 4
inputs: silent film
function: Or
dependencies: 2
5
function: Count
dependencies: 6