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