what monarch comes from the qutb shahis royal line?
Entity Entity Entity Entity Entity Entity Entity Entity
m.05px04 m.05px2z m.05p4l_ m.05pkw2 m.05px9b m.09tk2b m.04yzww m.04mqtc
Sultan Muhammad Qutb Shah Abdullah Qutb Shah Jamsheed Quli Qutb Shah Quli Qutb Mulk Abul Hasan Qutb Shah Subhan Quli Qutb Shah Muhammad Quli Qutb Shah Ibrahim Quli Qutb Shah Wali
class entity
royalty.monarch m.04kzm9
royalty.monarch royalty.royal_line
Monarch qutb shahis
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.04kzm9 } 
?x0 :royalty.monarch.royal_line ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND royalty.monarch (JOIN royalty.monarch.royal_line m.04kzm9))