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