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