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