Question: How many animations either have a publication date not in 2010 or have Doctor Eggman?
Choices:
5
6
7
8
9
10
11
12
13
14
Answer: 10
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "anime" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2010 ) .  } UNION { ?e_1 <present_in_work> ?e . ?e_1 <pred:name> "Doctor Eggman" .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2010
!=
function: FilterConcept
dependencies: 1
inputs: anime
function: Find
inputs: Doctor Eggman
function: Relate
dependencies: 3
inputs: present in work
forward
function: FilterConcept
dependencies: 4
inputs: anime
function: Or
dependencies: 2
5
function: Count
dependencies: 6