Question: Of all the visual artworks designed by Richard Day, which has the longest duration?
Choices:
The Grapes of Wrath
Exodus
Miracle on 34th Street
The Hurricane
Dressed to Kill
A Streetcar Named Desire
Iceland
How Green Was My Valley
On the Waterfront
Joan of Arc
Answer: Exodus
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e <production_designer> ?e_1 . ?e_1 <pred:name> "Richard Day" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Richard Day
function: Relate
dependencies: 0
inputs: production designer
backward
function: FilterConcept
dependencies: 1
inputs: visual artwork
function: SelectAmong
dependencies: 2
inputs: duration
largest