on 1982-05-21 which musical artist stopped being active as a musical artist?
Entity
m.0fqd4y4
The Imps
class literal
music.artist 1982-05-21^^http://www.w3.org/2001/XMLSchema#date
music.artist type.datetime
Musical Artist 1982-05-21
none none
music.artist.active_end
Active as Musical Artist (end)
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.artist . 
VALUES ?x1 { "1982-05-21-08:00"^^<http://www.w3.org/2001/XMLSchema#date> } 
?x0 :music.artist.active_end ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND music.artist (JOIN music.artist.active_end 1982-05-21^^http://www.w3.org/2001/XMLSchema#date))