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