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