Question: Which show has more seasons, Scrubs or Ally McBeal?
Choices:
Saturday Night's Main Event
Game of Thrones
Ally McBeal
Phineas and Ferb
Scrubs
Robot Chicken
Dancing with the Stars
Six Feet Under
Bleak House
American Horror Story
Program:
function: Find
inputs: Scrubs
function: Find
inputs: Ally McBeal
function: SelectBetween
dependencies: 0
1
inputs: number of seasons
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Scrubs" .  } UNION { ?e <pred:name> "Ally McBeal" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Scrubs