Question: Which has the smallest duration among the feature films whose composer is Harry Gregson-Williams?
Choices:
Alvin and the Chipmunks: Chipwrecked
National Treasure: Book of Secrets
Old Dogs
G-Force
Holes
Prince of Persia: The Sands of Time
The Muppets
John Carter
The Chronicles of Narnia: The Lion, the Witch and the Wardrobe
The Flintstones in Viva Rock Vegas
Program:
function: Find
inputs: Harry Gregson-Williams
function: Relate
dependencies: 0
inputs: composer
backward
function: FilterConcept
dependencies: 1
inputs: feature film
function: SelectAmong
dependencies: 2
inputs: duration
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Harry Gregson-Williams" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Prince of Persia: The Sands of Time