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
Program:
function: Find
inputs: Ally McBeal
function: Find
inputs: Star Trek: The Original Series
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
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
Answer: Star Trek: The Original Series