Question: Which has a lesser number of seasons, Arrested Development or The Transformers?
Choices:
American Dad!
Arrested Development
Aladdin
Robot Chicken
The Cleveland Show
The Transformers
South Park
Batman Beyond
Phineas and Ferb
The Venture Bros.
Program:
function: Find
inputs: Arrested Development
function: Find
inputs: The Transformers
function: SelectBetween
dependencies: 0
1
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Arrested Development" .  } UNION { ?e <pred:name> "The Transformers" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: The Transformers