Question: Tell me the one that has a longer duration, The Cleveland Show or Murphy Brown.
Choices:
Saturday Night's Main Event
Six Feet Under
Dancing with the Stars
Robot Chicken
Game of Thrones
The Cleveland Show
Phineas and Ferb
Murphy Brown
Bleak House
Seinfeld
Program:
function: Find
inputs: Murphy Brown
function: Find
inputs: The Cleveland Show
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Murphy Brown" .  } UNION { ?e <pred:name> "The Cleveland Show" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Murphy Brown