Question: Which has a lesser number of seasons, The Good Wife or Merlin (which uses the English language)?
Choices:
The Good Wife
Six Feet Under
American Horror Story
Saturday Night's Main Event
Game of Thrones
Phineas and Ferb
Dancing with the Stars
Bleak House
Merlin
Seinfeld
Answer: Merlin
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Good Wife" .  } UNION { ?e <pred:name> "Merlin" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: The Good Wife
function: Find
inputs: English
function: Relate
dependencies: 1
inputs: language of work or name
backward
function: Find
inputs: Merlin
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
less