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