what noble title does prince-elector have?
Entity Entity Entity Entity Entity Entity Entity Entity
m.03w5dlv m.0467nzb m.05khbjr m.05khbjk m.0bnqcm9 m.05khbjc m.05khbjy m.05sr_4d
King of Bohemia Count Palatine of the Rhine Archbishop of Trier Margrave of Brandenburg Elector of Saxony Archbishop of Mainz Duke of Saxony Electress Palantine
class entity
royalty.noble_title m.03n8m
royalty.noble_title royalty.noble_rank
Noble title Prince-elector
none none
royalty.noble_title.noble_rank
Noble rank
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.noble_title . 
VALUES ?x1 { :m.03n8m } 
?x0 :royalty.noble_title.noble_rank ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND royalty.noble_title (JOIN royalty.noble_title.noble_rank m.03n8m))