Question: What visual artwork directed by Roman Polanski has the shortest duration?
Choices:
The Pianist
Talk to Her
Oliver Twist
The Ghost Writer
A Prairie Home Companion
Chinatown
Rebecca
Rosemary's Baby
Carnage
Pleasantville
Program:
function: Find
inputs: Roman Polanski
function: Relate
dependencies: 0
inputs: director
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: SelectAmong
dependencies: 2
inputs: duration
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <director> ?e_1 . ?e_1 <pred:name> "Roman Polanski" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Carnage