Question: Which show has fewer seasons, Freakazoid! or NYPD Blue?
Choices:
Phineas and Ferb
South Park
Batman Beyond
Freakazoid!
Tiny Toon Adventures
The Cleveland Show
The Venture Bros.
American Dad!
NYPD Blue
Aladdin
Program:
function: Find
inputs: Freakazoid!
function: Find
inputs: NYPD Blue
function: SelectBetween
dependencies: 0
1
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Freakazoid!" .  } UNION { ?e <pred:name> "NYPD Blue" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Freakazoid!