Question: Which show has more seasons, Seinfeld or A Pup Named Scooby-Doo?
Choices:
Seinfeld
Robot Chicken
Phineas and Ferb
Bleak House
Six Feet Under
Babylon 5
A Pup Named Scooby-Doo
Saturday Night's Main Event
Game of Thrones
Dancing with the Stars
Program:
function: Find
inputs: Seinfeld
function: Find
inputs: A Pup Named Scooby-Doo
function: SelectBetween
dependencies: 0
1
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Seinfeld" .  } UNION { ?e <pred:name> "A Pup Named Scooby-Doo" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Seinfeld