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