Question: How many anime TV series have under 5400 episodes or are about snowboarding?
Choices:
9
10
11
12
13
14
15
16
17
18
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of episodes
5400
<
function: FilterConcept
dependencies: 1
inputs: anime television series
function: Find
inputs: snowboarding
function: Relate
dependencies: 3
inputs: main subject
backward
function: FilterConcept
dependencies: 4
inputs: anime television series
function: Or
dependencies: 2
5
function: Count
dependencies: 6
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 < "5400"^^xsd:double ) .  } UNION { ?e <main_subject> ?e_1 . ?e_1 <pred:name> "snowboarding" .  } }
Answer: 9