Question: How many anime television series whose number of episodes is not equal to 670 or official website is http://www.toei-anim.co.jp/tv/dragon/ ?
Choices: 4
5
6
7
8
9
10
11
12
13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "anime television series" .  { ?e <official_website> ?pv . ?pv <pred:value> "http://www.toei-anim.co.jp/tv/dragon/" .  } UNION { ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "670"^^xsd:double ) .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: official website
http://www.toei-anim.co.jp/tv/dragon/
function: FilterConcept
dependencies: 1
inputs: anime television series
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of episodes
670
!=
function: FilterConcept
dependencies: 4
inputs: anime television series
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 9