Question: Does Animaniacs, of which Steven Spielberg is the producer, have fewer episodes than Smallville or does Smallville have less than Animaniacs?
Choices:
Smallville
Phineas and Ferb
American Dad!
South Park
Batman Beyond
Animaniacs
Aladdin
The Cleveland Show
The Venture Bros.
Robot Chicken
Program:
function: Find
inputs: Smallville
function: Find
inputs: Steven Spielberg
function: Relate
dependencies: 1
inputs: producer
backward
function: Find
inputs: Animaniacs
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Smallville" .  } UNION { ?e <pred:name> "Animaniacs" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Steven Spielberg" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Animaniacs