Question: How many animated series are derivatives of Looney Tunes or have in excess of 600 episodes?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "animated series" .  { ?e <based_on> ?e_1 . ?e_1 <pred:name> "Looney Tunes" .  } UNION { ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "600"^^xsd:double ) .  } }
Program:
function: Find
inputs: Looney Tunes
function: Relate
dependencies: 0
inputs: based on
backward
function: FilterConcept
dependencies: 1
inputs: animated series
function: FindAll
function: FilterNum
dependencies: 3
inputs: number of episodes
600
>
function: FilterConcept
dependencies: 4
inputs: animated series
function: Or
dependencies: 2
5
function: Count
dependencies: 6