Question: Which show has fewer episodes, Mobile Suit Gundam or The Office (the one that is created by Ricky Gervais)?
Choices:
Robot Chicken
Seinfeld
Bleak House
Mobile Suit Gundam
American Horror Story
Game of Thrones
Six Feet Under
Phineas and Ferb
The Office
Saturday Night's Main Event
Answer: The Office
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mobile Suit Gundam" .  } UNION { ?e <pred:name> "The Office" . ?e <creator> ?e_1 . ?e_1 <pred:name> "Ricky Gervais" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Mobile Suit Gundam
function: Find
inputs: Ricky Gervais
function: Relate
dependencies: 1
inputs: creator
backward
function: Find
inputs: The Office
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
less