Question: Regarding TV series written by Stephe King (subreddit 'stephenking'), which one is the longest ?
Choices: The Ten Commandments
The Shining
Edge of Darkness
It
The Stand
George Washington
Battlestar Galactica
The Diary of Anne Frank
The Civil War
The Pacific
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> "Stephen King" . ?e_1 <subreddit> ?pv_1 . ?pv_1 <pred:value> "stephenking" . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Stephen King
function: FilterStr
dependencies: 0
inputs: subreddit
stephenking
function: Relate
dependencies: 1
inputs: after a work by
backward
function: FilterConcept
dependencies: 2
inputs: television series
function: SelectAmong
dependencies: 3
inputs: duration
largest
Answer: The Shining