Question: What is the number of animated feature film whose publication date is not in 2001 or whose publication date is before 1998 ?
Choices:
75
76
77
78
79
80
81
82
83
84
Answer: 75
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated feature film" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2001 ) .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1998 ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2001
!=
function: FilterConcept
dependencies: 1
inputs: animated feature film
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
1998
<
function: FilterConcept
dependencies: 4
inputs: animated feature film
function: Or
dependencies: 2
5
function: Count
dependencies: 6