Question: Which show has more seasons, The Muppet Show or Star Trek: Enterprise?
Choices:
Saturday Night's Main Event
Seinfeld
Robot Chicken
Phineas and Ferb
Six Feet Under
Star Trek: Enterprise
The Muppet Show
American Horror Story
Bleak House
Game of Thrones
Program:
function: Find
inputs: The Muppet Show
function: Find
inputs: Star Trek: Enterprise
function: SelectBetween
dependencies: 0
1
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Muppet Show" .  } UNION { ?e <pred:name> "Star Trek: Enterprise" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Muppet Show