Question: Which one has less number of episodes between Homeland or The Untouchables (the one in English)?
Choices:
Dancing with the Stars
Homeland
Game of Thrones
Robot Chicken
Bleak House
Saturday Night's Main Event
Phineas and Ferb
Seinfeld
American Horror Story
The Untouchables
Answer: Homeland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Homeland" .  } UNION { ?e <pred:name> "The Untouchables" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .   } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Homeland
function: Find
inputs: English
function: Relate
dependencies: 1
inputs: language of work or name
backward
function: Find
inputs: The Untouchables
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
less