Question: How many animated movies are narrated by Richard Linklater or were not not published in 2012 ?
Choices:
37
38
39
40
41
42
43
44
45
46
Answer: 41
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated film" .  { ?e <narrator> ?e_1 . ?e_1 <pred:name> "Richard Linklater" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2012 ) .  } }
Program:
function: Find
inputs: Richard Linklater
function: Relate
dependencies: 0
inputs: narrator
backward
function: FilterConcept
dependencies: 1
inputs: animated film
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2012
!=
function: FilterConcept
dependencies: 4
inputs: animated film
function: Or
dependencies: 2
5
function: Count
dependencies: 6