what is the name of the demak sultanate monarch?
Entity Entity Entity
m.0w22tvy m.0w22tyd m.0w22tzz
Raden Patah Pati Unus Sultan Trenggana
class entity
royalty.monarch m.0br9kd
royalty.monarch royalty.kingdom
Monarch Demak Sultanate
none none
royalty.monarch.kingdom
Kingdom
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.monarch . 
VALUES ?x1 { :m.0br9kd } 
?x0 :royalty.monarch.kingdom ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND royalty.monarch (JOIN royalty.monarch.kingdom m.0br9kd))