Question: Which show has more episodes, Crash (the one whose number of episodes is 26) or Robot Chicken?
Choices:
South Park
Phineas and Ferb
Robot Chicken
Fantastic Four
The Venture Bros.
Crash
Aladdin
American Dad!
Tiny Toon Adventures
Batman Beyond
Program:
function: Find
inputs: Crash
function: FilterNum
dependencies: 0
inputs: number of episodes
26
=
function: Find
inputs: Robot Chicken
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Crash" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "26"^^xsd:double . } UNION { ?e <pred:name> "Robot Chicken" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Robot Chicken