Question: Which miniseries written by Stephen King (the one whose Munzinger IBA is 00000019582) is the longest ?
Choices:
Battlestar Galactica
The Shining
Roots
The Pacific
Edge of Darkness
George Washington
The Ten Commandments
The Diary of Anne Frank
It
The Stand
Program:
function: Find
inputs: Stephen King
function: FilterStr
dependencies: 0
inputs: Munzinger IBA
00000019582
function: Relate
dependencies: 1
inputs: after a work by
backward
function: FilterConcept
dependencies: 2
inputs: miniseries
function: SelectAmong
dependencies: 3
inputs: duration
largest
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 <Munzinger_IBA> ?pv_1 . ?pv_1 <pred:value> "00000019582" . ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Shining