leopold i of belgium heir rules which kingdom?
Entity
m.0154j
Belgium
class class entity
royalty.kingdom royalty.monarch m.0fm1_
royalty.kingdom royalty.monarch royalty.chivalric_order_member
Kingdom Monarch Leopold I of Belgium
none none none
royalty.kingdom.rulers people.person.parents
Rulers Parents
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.kingdom . 
?x1 :type.object.type :royalty.monarch . 
VALUES ?x2 { :m.0fm1_ } 
?x0 :royalty.kingdom.rulers ?x1 . 
?x1 :people.person.parents ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND royalty.kingdom (JOIN royalty.kingdom.rulers (JOIN people.person.parents m.0fm1_)))