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