Question: What show has less seasons, Northern Exposure or Deadwood?
Choices:
Deadwood
Six Feet Under
Phineas and Ferb
Saturday Night's Main Event
Bleak House
American Horror Story
Seinfeld
Northern Exposure
Dancing with the Stars
Game of Thrones
Program:
function: Find
inputs: Deadwood
function: Find
inputs: Northern Exposure
function: SelectBetween
dependencies: 0
1
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Deadwood" .  } UNION { ?e <pred:name> "Northern Exposure" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Deadwood