Question: Which one has fewer episodes, Star Trek: The Next Generation (the one whose start time is 1987-09-28) or Aladdin (the one that is originally aired on Disney Channel) ?
Choices: Fantastic Four
The Cleveland Show
Star Trek: The Next Generation
Batman Beyond
Robot Chicken
Tiny Toon Adventures
South Park
Aladdin
The Venture Bros.
Phineas and Ferb
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Star Trek: The Next Generation" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1987-09-28"^^xsd:date . } UNION { ?e <pred:name> "Aladdin" . ?e <original_network> ?e_1 . ?e_1 <pred:name> "Disney Channel" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Star Trek: The Next Generation
function: FilterDate
dependencies: 0
inputs: start time
1987-09-28
=
function: Find
inputs: Disney Channel
function: Relate
dependencies: 2
inputs: original network
backward
function: Find
inputs: Aladdin
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of episodes
less
Answer: Aladdin