Question: Among the feature films that have Michael Kahn (the one that received 66th Academy Awards) as a film editor, which one has the longest duration?
Choices:
John Carter
G-Force
Hook
Prince of Persia: The Sands of Time
The Flintstones in Viva Rock Vegas
The Flintstones
Holes
National Treasure: Book of Secrets
The Muppets
Old Dogs
Answer: Hook
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <film_editor> ?e_1 . ?e_1 <pred:name> "Michael Kahn" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "66th Academy Awards" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: 66th Academy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Michael Kahn
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: film editor
backward
function: FilterConcept
dependencies: 4
inputs: feature film
function: SelectAmong
dependencies: 5
inputs: duration
largest