Question: Which one, Star Wars: The Clone Wars (the one that has Simon Pegg as a voice actor) or Robot Chicken, has greater duration?
Choices:
Fantastic Four
Phineas and Ferb
The Cleveland Show
Tiny Toon Adventures
American Dad!
The Venture Bros.
Aladdin
Star Wars: The Clone Wars
South Park
Batman Beyond
Program:
function: Find
inputs: Simon Pegg
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Star Wars: The Clone Wars
function: And
dependencies: 1
2
function: Find
inputs: Robot Chicken
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Star Wars: The Clone Wars" . ?e <voice_actor> ?e_1 . ?e_1 <pred:name> "Simon Pegg" .   } UNION { ?e <pred:name> "Robot Chicken" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Star Wars: The Clone Wars