Question: Which movie is longer, The Cosby Show or Stargate Atlantis?
Choices:
Robot Chicken
Seinfeld
Game of Thrones
Stargate Atlantis
Dancing with the Stars
Saturday Night's Main Event
Bleak House
The Cosby Show
Six Feet Under
Phineas and Ferb
Program:
function: Find
inputs: The Cosby Show
function: Find
inputs: Stargate Atlantis
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Cosby Show" .  } UNION { ?e <pred:name> "Stargate Atlantis" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Stargate Atlantis