Question: Which has fewer episodes, Around the World in 80 Days (the one whose genre is reality television) or Guiding Light?
Choices:
Seinfeld
Phineas and Ferb
Game of Thrones
Guiding Light
American Horror Story
Dancing with the Stars
Robot Chicken
Saturday Night's Main Event
Six Feet Under
Around the World in 80 Days
Program:
function: Find
inputs: reality television
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Around the World in 80 Days
function: And
dependencies: 1
2
function: Find
inputs: Guiding Light
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Around the World in 80 Days" . ?e <genre> ?e_1 . ?e_1 <pred:name> "reality television" .   } UNION { ?e <pred:name> "Guiding Light" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Around the World in 80 Days