which film song composer has the film song with the latest completion date?
Entity Entity Entity
m.01vvpvb m.01vvpvt m.057svc
Claus Norreen Lazyboy Søren Rasted
class class literal
music.composer film.film_song 0^^http://www.w3.org/2001/XMLSchema#int
music.composer film.film_song type.datetime
Composer Film song 0
none none argmax
music.composition.composer music.composition.date_completed
Composer Date completed
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :music.composer . 
?x1 :type.object.type :film.film_song . 
{
SELECT (MAX(?y2) AS ?x2)  WHERE { 
?y0 :type.object.type :music.composer . 
?y1 :type.object.type :film.film_song . 
?y1 :music.composition.composer ?y0 . 
?y1 :music.composition.date_completed ?y2 . 
FILTER ( ?y0 != ?y1 && ?y0 != ?y2 && ?y1 != ?y2  )
}
}
?x1 :music.composition.composer ?x0 . 
?x1 :music.composition.date_completed ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(ARGMAX music.composer (JOIN (R music.composition.composer) music.composition.date_completed))