Question: Which show produced by Dreamworks is the longest?
Choices:
The Diary of Anne Frank
Roots
Into the West
The Civil War
Edge of Darkness
Battlestar Galactica
The Ten Commandments
The Stand
Emma
The Pacific
Program:
function: Find
inputs: DreamWorks
function: Relate
dependencies: 0
inputs: production company
backward
function: FilterConcept
dependencies: 1
inputs: miniseries
function: SelectAmong
dependencies: 2
inputs: duration
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "miniseries" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "DreamWorks" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Into the West