Question: How many television series were either not published in 2007 or have less than 7200 episodes?
Choices: 8
9
10
11
12
13
14
15
16
17
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "anime television series" .  { ?e <publication_date> ?pv . ?pv <pred:year> ?v . FILTER ( ?v != 2007 ) .  } UNION { ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "7200"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: publication date
2007
!=
function: FilterConcept
dependencies: 1
inputs: anime television series
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of episodes
7200
<
function: FilterConcept
dependencies: 4
inputs: anime television series
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 9