Question: Does Dark Shadows (that has 5 seasons) or Buffy the Vampire Slayer (that uses the English language) have the lower number of episodes?
Choices:
Saturday Night's Main Event
Six Feet Under
Buffy the Vampire Slayer
Bleak House
Dark Shadows
Seinfeld
Game of Thrones
Robot Chicken
American Horror Story
Dancing with the Stars
Answer: Buffy the Vampire Slayer
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dark Shadows" . ?e <number_of_seasons> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "5"^^xsd:double . } UNION { ?e <pred:name> "Buffy the Vampire Slayer" . ?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: Dark Shadows
function: FilterNum
dependencies: 0
inputs: number of seasons
5
=
function: Find
inputs: English
function: Relate
dependencies: 2
inputs: language of work or name
backward
function: Find
inputs: Buffy the Vampire Slayer
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of episodes
less