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