which monarch is the ruler of a kingdom that is also ruled by konbaung dynasty?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.04_v1w m.02q0j2c m.04_t_8 m.02qpf5y m.0f17zm m.05n4xj m.02qrqj3 m.02s867 m.0806zmj m.08hlyg m.0cbnvj
Hsinbyushin Bodawpaya Alaungpaya Pagan Min Bagyidaw Thibaw Min Naungdawgyi Mindon Min Singu Min Tharrawaddy Min Phaungkaza Maung Maung
class class entity
royalty.monarch royalty.kingdom m.051px2
royalty.monarch royalty.kingdom royalty.royal_line
Monarch Kingdom Konbaung Dynasty
none none none
royalty.kingdom.rulers royalty.royal_line.kingdom_s_ruled
Rulers Kingdom(s) ruled
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 . 
?x1 :type.object.type :royalty.kingdom . 
VALUES ?x2 { :m.051px2 } 
?x1 :royalty.kingdom.rulers ?x0 . 
?x2 :royalty.royal_line.kingdom_s_ruled ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND royalty.monarch (JOIN (R royalty.kingdom.rulers) (JOIN (R royalty.royal_line.kingdom_s_ruled) m.051px2)))