in which royal line can you find monarch joachim ii hector, elector of brandenburg?
Entity
m.03ln9
House of Hohenzollern
class entity
royalty.royal_line m.044_t
royalty.royal_line royalty.monarch
Royal line Joachim II Hector, Elector of Brandenburg
none none
royalty.royal_line.monarchs_from_this_line
Monarchs from this 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.royal_line . 
VALUES ?x1 { :m.044_t } 
?x0 :royalty.royal_line.monarchs_from_this_line ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND royalty.royal_line (JOIN royalty.royal_line.monarchs_from_this_line m.044_t))