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