Question: which one is longer, Star Trek the Original Series or Sesame Street
Choices:
Dancing with the Stars
Phineas and Ferb
Robot Chicken
Game of Thrones
Seinfeld
American Horror Story
Six Feet Under
Sesame Street
Saturday Night's Main Event
Star Trek: The Original Series
Answer: Star Trek: The Original Series
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sesame Street" .  } 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: Sesame Street
function: Find
inputs: Star Trek: The Original Series
function: SelectBetween
dependencies: 0
1
inputs: duration
greater