the rank of knight commander has which chivalric title?
Entity Entity Entity Entity
m.0c1rct9 m.0bg9364 m.05stz4l m.05gj902
Knight Commander of the Royal Victorian Order Knight Commander of the Order of St Michael and St George Knight Commander of the Order of the Bath Knight Commander of the Order of the Star of India
class entity
royalty.chivalric_title m.02qhqyt
royalty.chivalric_title royalty.chivalric_rank
Chivalric Title Knight Commander
none none
royalty.chivalric_title.rank
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.chivalric_title . 
VALUES ?x1 { :m.02qhqyt } 
?x0 :royalty.chivalric_title.rank ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND royalty.chivalric_title (JOIN royalty.chivalric_title.rank m.02qhqyt))