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