Question: Does As the World Turns or Monk have greater duration?
Choices:
Dancing with the Stars
Robot Chicken
Game of Thrones
As the World Turns
Phineas and Ferb
Monk
Six Feet Under
Seinfeld
Bleak House
Saturday Night's Main Event
Program:
function: Find
inputs: As the World Turns
function: Find
inputs: Monk
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "As the World Turns" .  } UNION { ?e <pred:name> "Monk" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: As the World Turns