Question: Does the English-language Pasadena or Degrassi: The Next Generation have the lower season count?
Choices:
Degrassi: The Next Generation
Dancing with the Stars
Saturday Night's Main Event
Game of Thrones
Bleak House
Six Feet Under
Pasadena
Phineas and Ferb
American Horror Story
Seinfeld
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Pasadena
function: And
dependencies: 1
2
function: Find
inputs: Degrassi: The Next Generation
function: SelectBetween
dependencies: 3
4
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Pasadena" . ?e <language_of_work_or_name> ?e_1 . ?e_1 <pred:name> "English" .   } UNION { ?e <pred:name> "Degrassi: The Next Generation" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Pasadena