Question: Which has fewer episodes, Elizabeth I or Vanity Fair (the one that uses the language English)?
Choices:
Elizabeth I
A Christmas Carol
All Quiet on the Western Front
The Late Shift
Shackleton
A Streetcar Named Desire
Vanity Fair
The Music Man
The Goodbye Girl
The Three Musketeers
Answer: Elizabeth I
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Elizabeth I" .  } UNION { ?e <pred:name> "Vanity Fair" . ?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: Elizabeth I
function: Find
inputs: English
function: Relate
dependencies: 1
inputs: language of work or name
backward
function: Find
inputs: Vanity Fair
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of episodes
less