Question: Which is the shortest among the visual artworks whose genre is psychological thriller?
Choices:
Perfume: The Story of a Murderer
They Shoot Horses, Don't They?
Basic Instinct 2
Carrie
Along Came a Spider
Antichrist
Vanilla Sky
The Butterfly Effect
Black Swan
Red Dragon
Program:
function: Find
inputs: psychological thriller
function: Relate
dependencies: 0
inputs: genre
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 <genre> ?e_1 . ?e_1 <pred:name> "psychological thriller" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Carrie