Question: Does Dynasty (running for 45 minute) or Ally McBeal have the small number of episodes?
Choices: Game of Thrones
Dynasty
Seinfeld
Robot Chicken
Ally McBeal
Dancing with the Stars
Six Feet Under
Saturday Night's Main Event
Phineas and Ferb
Bleak House
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dynasty" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "45"^^xsd:double . } UNION { ?e <pred:name> "Ally McBeal" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Dynasty
function: FilterNum
dependencies: 0
inputs: duration
45 minute
=
function: Find
inputs: Ally McBeal
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
less
Answer: Ally McBeal