which national anthem has the earliest date when it was no longer officially the national anthem?
Entity
m.0593s6
Wien Neêrlands Bloed
class class literal
government.national_anthem government.national_anthem_of_a_country 0^^http://www.w3.org/2001/XMLSchema#int
government.national_anthem government.national_anthem_of_a_country type.datetime
National Anthem National anthem of a country 0
none none argmin
government.national_anthem.national_anthem_of government.national_anthem_of_a_country.official_anthem_until
National anthem of Official anthem until
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 :government.national_anthem . 
?x1 :type.object.type :government.national_anthem_of_a_country . 
{
SELECT (MIN(?y2) AS ?x2)  WHERE { 
?y0 :type.object.type :government.national_anthem . 
?y1 :type.object.type :government.national_anthem_of_a_country . 
?y0 :government.national_anthem.national_anthem_of ?y1 . 
?y1 :government.national_anthem_of_a_country.official_anthem_until ?y2 . 
FILTER ( ?y0 != ?y1 && ?y0 != ?y2 && ?y1 != ?y2  )
}
}
?x0 :government.national_anthem.national_anthem_of ?x1 . 
?x1 :government.national_anthem_of_a_country.official_anthem_until ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(ARGMIN government.national_anthem (JOIN government.national_anthem.national_anthem_of government.national_anthem_of_a_country.official_anthem_until))