Question: Which one of feature movies with Hans Zimmer (the one who received 1996 Grammy Award) performing is the longest ?
Choices:
John Carter
Pirates of the Caribbean: At World's End
The Muppets
The Flintstones
The Flintstones in Viva Rock Vegas
Pirates of the Caribbean: On Stranger Tides
Alvin and the Chipmunks: Chipwrecked
National Treasure: Book of Secrets
Holes
Old Dogs
Answer: Pirates of the Caribbean: At World's End
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "feature film" . ?e <performer> ?e_1 . ?e_1 <pred:name> "Hans Zimmer" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "1996 Grammy Awards" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: 1996 Grammy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Hans Zimmer
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: performer
backward
function: FilterConcept
dependencies: 4
inputs: feature film
function: SelectAmong
dependencies: 5
inputs: duration
largest