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