Question: Among the film that is a derivative work of James Bond that derives Quantum of Solace, Which has the smallest duration?
Choices:
The World Is Not Enough
A Prairie Home Companion
Quantum of Solace
Pleasantville
GoldenEye
Licence to Kill
Tomorrow Never Dies
The Spy Who Loved Me
Rebecca
Die Another Day
Answer: Quantum of Solace
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "James Bond" . ?e_1 <derivative_work> ?e_2 . ?e_2 <pred:name> "Quantum of Solace" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Quantum of Solace
function: Relate
dependencies: 0
inputs: derivative work
backward
function: Find
inputs: James Bond
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
forward
function: FilterConcept
dependencies: 4
inputs: film
function: SelectAmong
dependencies: 5
inputs: duration
smallest