Question: How many anime television series were released for Wii or whose publication date is not in 2002?
Choices:
6
7
8
9
10
11
12
13
14
15
Answer: 8
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "anime television series" .  { ?e <platform> ?e_1 . ?e_1 <pred:name> "Wii" .  } UNION { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2002 ) .  } }
Program:
function: Find
inputs: Wii
function: Relate
dependencies: 0
inputs: platform
backward
function: FilterConcept
dependencies: 1
inputs: anime television series
function: FindAll
function: FilterYear
dependencies: 3
inputs: publication date
2002
!=
function: FilterConcept
dependencies: 4
inputs: anime television series
function: Or
dependencies: 2
5
function: Count
dependencies: 6