Question: How many short films have the title The Animatrix or have the publication date which is not 1940?
Choices: 12
13
14
15
16
17
18
19
20
21
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "short film" .  { ?e <title> ?pv . ?pv <pred:value> "The Animatrix" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 1940 ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: title
The Animatrix
function: FilterConcept
dependencies: 1
inputs: short film
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
1940
!=
function: FilterConcept
dependencies: 4
inputs: short film
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 18