Question: Which one of miniseries written by English-speaking Stephen King has the longest duration ?
Choices: The Civil War
Battlestar Galactica
Edge of Darkness
The Shining
It
The Pacific
George Washington
The Ten Commandments
Roots
The Stand
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> "Stephen King" . ?e_1 <languages_spoken,_written_or_signed> ?e_2 . ?e_2 <pred:name> "English" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: languages spoken, written or signed
backward
function: Find
inputs: Stephen King
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: after a work by
backward
function: FilterConcept
dependencies: 4
inputs: miniseries
function: SelectAmong
dependencies: 5
inputs: duration
largest
Answer: The Shining