Question: Is Degrassi: The Next Generation or Stargate SG-1 the longer of the two?
Choices:
Seinfeld
Six Feet Under
Degrassi: The Next Generation
Game of Thrones
Stargate SG-1
Bleak House
Robot Chicken
Phineas and Ferb
Saturday Night's Main Event
Dancing with the Stars
Program:
function: Find
inputs: Degrassi: The Next Generation
function: Find
inputs: Stargate SG-1
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Degrassi: The Next Generation" .  } UNION { ?e <pred:name> "Stargate SG-1" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Stargate SG-1