which monarch has the royal line walashma dynasty?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0854yv m.0854sh m.082v41 m.084tj0 m.082txp m.0832kw m.0832my m.0832wk m.084tkg m.084tfj m.0832lk m.082tyq m.084tmj m.084tlh m.084tn6 m.0854rg m.084tpl m.084tgl
Barakat ibn Umar Din Ali ibn Umar Din Ali ibn Sabr ad-Din Jamal ad-Din II Sa'ad ad-Din II Jamal ad-Din I Haqq ad-Din I Sabr ad-Din II Badlay ibn Sa'ad ad-Din Ahmad ibn Ali Sabr ad-Din I Haqq ad-Din II Shams ad-Din ibn Muhammad Muhammad ibn Badlay Muhammad ibn Azhar ad-Din Umar Din Abu Bakr ibn Muhammad Mansur ad-Din of Adal
class entity
royalty.monarch m.0832hs
royalty.monarch royalty.royal_line
Monarch Walashma dynasty
none none
royalty.monarch.royal_line
Royal line
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.0832hs } 
?x0 :royalty.monarch.royal_line ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND royalty.monarch (JOIN royalty.monarch.royal_line m.0832hs))