Question: Which had the least amount of episodes between, The Edge of Night and the situation comedy King of the Hill?
Choices: Phineas and Ferb
King of the Hill
Tiny Toon Adventures
Robot Chicken
The Edge of Night
Aladdin
The Venture Bros.
American Dad!
South Park
Batman Beyond
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Edge of Night" .  } UNION { ?e <pred:name> "King of the Hill" . ?e <genre> ?e_1 . ?e_1 <pred:name> "situation comedy" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Edge of Night
function: Find
inputs: situation comedy
function: Relate
dependencies: 1
inputs: genre
backward
function: Find
inputs: King of the Hill
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
less
Answer: King of the Hill