Question: Which one is shorter, Red Dwarf or Sonic the Hedgehog (the one that is originally aired on American Broadcasting Company)?
Choices:
Tiny Toon Adventures
The Venture Bros.
Robot Chicken
Batman Beyond
Phineas and Ferb
South Park
Sonic the Hedgehog
Aladdin
The Cleveland Show
American Dad!
Program:
function: Find
inputs: Red Dwarf
function: Find
inputs: American Broadcasting Company
function: Relate
dependencies: 1
inputs: original network
backward
function: Find
inputs: Sonic the Hedgehog
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Red Dwarf" .  } UNION { ?e <pred:name> "Sonic the Hedgehog" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "American Broadcasting Company" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Sonic the Hedgehog