Question: Is the season count higher for Seinfeld or Frank Herbert's Dune?
Choices:
Robot Chicken
Saturday Night's Main Event
Six Feet Under
Frank Herbert's Dune
Game of Thrones
Dancing with the Stars
Babylon 5
Phineas and Ferb
Bleak House
Seinfeld
Program:
function: Find
inputs: Seinfeld
function: Find
inputs: Frank Herbert's Dune
function: SelectBetween
dependencies: 0
1
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Seinfeld" .  } UNION { ?e <pred:name> "Frank Herbert's Dune" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Seinfeld