Question: Which one has fewer episodes, Mars (the one that has Brian Grazer as an executive producer) or Eureka (the one that uses the language English)?
Choices: Seinfeld
Mars
Six Feet Under
Dancing with the Stars
Phineas and Ferb
Saturday Night's Main Event
American Horror Story
Eureka
Game of Thrones
Robot Chicken
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Mars" . ?e <executive_producer> ?e_1 . ?e_1 <pred:name> "Brian Grazer" .   } UNION { ?e <pred:name> "Eureka" . ?e <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> "English" .  } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Brian Grazer
function: Relate
dependencies: 0
inputs: executive producer
backward
function: Find
inputs: Mars
function: And
dependencies: 1
2
function: Find
inputs: English
function: Relate
dependencies: 4
inputs: language of work or name
backward
function: Find
inputs: Eureka
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: number of episodes
less
Answer: Mars