order of the bath has what order of chivalry?
Entity Entity Entity Entity Entity
m.05stz4_ m.05stz4l m.05m9m_l m.08pt0cc m.08pt0fl
Knight Grand Cross of the Order of the Bath Knight Commander of the Order of the Bath Companion of the Order of the Bath Dame Commander of the Order of the Bath Dame Grand Cross of the Order of the Bath
class entity
royalty.chivalric_title m.01t7cr
royalty.chivalric_title royalty.order_of_chivalry
Chivalric Title Order of the Bath
none none
royalty.chivalric_title.order_of_chivalry
Order of Chivalry
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.01t7cr } 
?x0 :royalty.chivalric_title.order_of_chivalry ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND royalty.chivalric_title (JOIN royalty.chivalric_title.order_of_chivalry m.01t7cr))