empress has the noble title of what?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.05t315m m.05gj9w0 m.05khcb1 m.05nd1c4 m.05nd1cg m.05sv4jv m.05t_n8f m.07nt05s m.05dc6rd m.062_rvc
Empress of Trebizond Empress of the Holy Roman Empire Empress of India Empress of China Empress of Eastern Wu Empress of Jin Empress of Constantinople Empress of the Franks Empress Consort of the Western Roman Empire Empress of the Byzantine Empire
class entity
royalty.noble_title m.05gj9yd
royalty.noble_title royalty.noble_rank
Noble title Empress
none none
royalty.noble_title.noble_rank
Noble rank
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.noble_title . 
VALUES ?x1 { :m.05gj9yd } 
?x0 :royalty.noble_title.noble_rank ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND royalty.noble_title (JOIN royalty.noble_title.noble_rank m.05gj9yd))