Question: Does Days of our Lives or EastEnders have more episodes?
Choices:
Days of our Lives
American Horror Story
Robot Chicken
Saturday Night's Main Event
Game of Thrones
Bleak House
Six Feet Under
Phineas and Ferb
Seinfeld
EastEnders
Program:
function: Find
inputs: Days of our Lives
function: Find
inputs: EastEnders
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> "EastEnders" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Days of our Lives