Question: Which show has fewer seasons, CBS Schoolbreak Special or Lou Grant?
Choices:
Seinfeld
Robot Chicken
American Horror Story
Dancing with the Stars
CBS Schoolbreak Special
Game of Thrones
Lou Grant
Bleak House
Saturday Night's Main Event
Phineas and Ferb
Program:
function: Find
inputs: CBS Schoolbreak Special
function: Find
inputs: Lou Grant
function: SelectBetween
dependencies: 0
1
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "CBS Schoolbreak Special" .  } UNION { ?e <pred:name> "Lou Grant" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lou Grant