Question: Which show has fewer episodes, Happy Days (the one whose narrative location is Milwaukee) or Eat Bulaga!?
Choices: Six Feet Under
Seinfeld
American Horror Story
Happy Days
Bleak House
Dancing with the Stars
Eat Bulaga!
Robot Chicken
Saturday Night's Main Event
Game of Thrones
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Happy Days" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Milwaukee" .   } UNION { ?e <pred:name> "Eat Bulaga!" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Milwaukee
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Happy Days
function: And
dependencies: 1
2
function: Find
inputs: Eat Bulaga!
function: SelectBetween
dependencies: 3
4
inputs: number of episodes
less
Answer: Happy Days