Question: Which show has fewer episodes, The Mary Tyler Moore Show or The Stand (the one whose release region is Germany)?
Choices:
The Pacific
Edge of Darkness
George Washington
The Ten Commandments
The Diary of Anne Frank
Roots
Battlestar Galactica
The Mary Tyler Moore Show
The Stand
Emma
Answer: The Stand
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Mary Tyler Moore Show" .  } UNION { ?e <pred:name> "The Stand" . ?e <film_release_region> ?e_1 . ?e_1 <pred:name> "Germany" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Mary Tyler Moore Show
function: Find
inputs: Germany
function: Relate
dependencies: 1
inputs: film release region
backward
function: Find
inputs: The Stand
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
less