name the legislative session which ended last.
Entity
m.010hm1rz
Second ministry of Manmohan Singh
class literal
government.legislative_session 0^^http://www.w3.org/2001/XMLSchema#int
government.legislative_session type.datetime
Legislative session 0
none argmax
government.legislative_session.date_ended
Date ended
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.legislative_session . 
{
SELECT (MAX(?y1) AS ?x1)  WHERE { 
?y0 :type.object.type :government.legislative_session . 
?y0 :government.legislative_session.date_ended ?y1 . 
FILTER ( ?y0 != ?y1  )
}
}
?x0 :government.legislative_session.date_ended ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(ARGMAX government.legislative_session government.legislative_session.date_ended)