Question: Does Damages or the supernatural-themed Twin Peaks have a smaller run of seasons?
Choices:
Robot Chicken
Twin Peaks
Saturday Night's Main Event
Phineas and Ferb
Seinfeld
Damages
Bleak House
American Horror Story
Game of Thrones
Dancing with the Stars
Program:
function: Find
inputs: Damages
function: Find
inputs: supernatural
function: Relate
dependencies: 1
inputs: main subject
backward
function: Find
inputs: Twin Peaks
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: number of seasons
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Damages" .  } UNION { ?e <pred:name> "Twin Peaks" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "supernatural" .   } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Twin Peaks