Question: Which one of the movies composed by Randy Edelman is the longest?
Choices:
Daylight
Shanghai Knights
Shanghai Noon
Gettysburg
The Mummy: Tomb of the Dragon Emperor
The Mask
EDtv
Anaconda
National Security
xXx
Program:
function: Find
inputs: Randy Edelman
function: Relate
dependencies: 0
inputs: composer
backward
function: FilterConcept
dependencies: 1
inputs: film
function: SelectAmong
dependencies: 2
inputs: duration
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "film" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Randy Edelman" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Gettysburg