knights of the thistle has what order of chivalry?
Entity Entity Entity Entity
m.05glyz_ m.05gly_5 m.05gly_c m.05glyzt
Knight Companion of the Order of the Thistle Supernumerary Knight of the Order of the Thistle Lady Companion of the Order of the Thistle Supernumerary Lady of the Order of the Thistle
class entity
royalty.chivalric_title m.01zvcb
royalty.chivalric_title royalty.order_of_chivalry
Chivalric Title knights of the thistle
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.01zvcb } 
?x0 :royalty.chivalric_title.order_of_chivalry ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND royalty.chivalric_title (JOIN royalty.chivalric_title.order_of_chivalry m.01zvcb))