Question: Does the single-season Merlin have more episodes, or does Ally McBeal?
Choices: Game of Thrones
Bleak House
Phineas and Ferb
Saturday Night's Main Event
Six Feet Under
American Horror Story
Ally McBeal
Robot Chicken
Seinfeld
Dancing with the Stars
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Merlin" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "1"^^xsd:double . } UNION { ?e <pred:name> "Ally McBeal" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Merlin
function: FilterNum
dependencies: 0
inputs: number of seasons
1
=
function: Find
inputs: Ally McBeal
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
greater
Answer: Ally McBeal