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