Question: Which of the miniseries created by Stephen King, the writer, is the shortest one?
Choices: The Stand
George Washington
The Ten Commandments
Roots
The Civil War
Emma
Edge of Darkness
The Diary of Anne Frank
The Shining
The Pacific
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" . ?e <creator> ?e_1 . ?e_1 <pred:name> "Stephen King" . ?e_1 <occupation> ?e_2 . ?e_2 <pred:name> "writer" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: writer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Stephen King
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: creator
backward
function: FilterConcept
dependencies: 4
inputs: miniseries
function: SelectAmong
dependencies: 5
inputs: duration
smallest
Answer: The Shining