Question: How many anime television series with less than 8800 episodes or that originally aired on Fuji Television?
Choices:
4
5
6
7
8
9
10
11
12
13
Answer: 9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "anime television series" .  { ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "8800"^^xsd:double ) .  } UNION { ?e <original_network> ?e_1 . ?e_1 <pred:name> "Fuji Television" .  } }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of episodes
8800
<
function: FilterConcept
dependencies: 1
inputs: anime television series
function: Find
inputs: Fuji Television
function: Relate
dependencies: 3
inputs: original network
backward
function: FilterConcept
dependencies: 4
inputs: anime television series
function: Or
dependencies: 2
5
function: Count
dependencies: 6