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