which is the most recently used system of nobility?
Entity
m.0117tmfj
Monarchy of Greece
class literal
royalty.system_of_nobility 0^^http://www.w3.org/2001/XMLSchema#int
royalty.system_of_nobility type.datetime
System of nobility 0
none argmax
royalty.system_of_nobility.used_to_date
Used to date
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 :royalty.system_of_nobility . 
{
SELECT (MAX(?y1) AS ?x1)  WHERE { 
?y0 :type.object.type :royalty.system_of_nobility . 
?y0 :royalty.system_of_nobility.used_to_date ?y1 . 
FILTER ( ?y0 != ?y1  )
}
}
?x0 :royalty.system_of_nobility.used_to_date ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(ARGMAX royalty.system_of_nobility royalty.system_of_nobility.used_to_date)