Question: Does Dallas, distributed by Lorimar Television, or Star Trek: The Original Series have the smaller run of seasons?
Choices:
Six Feet Under
Dallas
Game of Thrones
Seinfeld
Phineas and Ferb
Dancing with the Stars
Bleak House
Saturday Night's Main Event
American Horror Story
Star Trek: The Original Series
Program:
function: Find
inputs: Lorimar Television
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Dallas
function: And
dependencies: 1
2
function: Find
inputs: Star Trek: The Original Series
function: SelectBetween
dependencies: 3
4
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dallas" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "Lorimar Television" .   } UNION { ?e <pred:name> "Star Trek: The Original Series" .  } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Star Trek: The Original Series