Question: Which has greater duration, The Waltons or Star Trek: Enterprise?
Choices:
American Horror Story
The Waltons
Dancing with the Stars
Phineas and Ferb
Star Trek: Enterprise
Bleak House
Robot Chicken
Game of Thrones
Six Feet Under
Seinfeld
Program:
function: Find
inputs: The Waltons
function: Find
inputs: Star Trek: Enterprise
function: SelectBetween
dependencies: 0
1
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Waltons" .  } UNION { ?e <pred:name> "Star Trek: Enterprise" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Waltons