Question: Is Seinfeld or The Penguins of Madagascar longer?
Choices:
Phineas and Ferb
Six Feet Under
Saturday Night's Main Event
Bleak House
Dancing with the Stars
Robot Chicken
The Penguins of Madagascar
American Horror Story
Seinfeld
Babylon 5
Program:
function: Find
inputs: Seinfeld
function: Find
inputs: The Penguins of Madagascar
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Seinfeld" .  } UNION { ?e <pred:name> "The Penguins of Madagascar" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Seinfeld