house of wettin succeeded what royal line?
Entity Entity Entity Entity Entity
m.03lht m.0zk5 m.0c5fr m.07h8pg m.06bsf7
House of Habsburg House of Ascania House of Bourbon Přemyslid dynasty House of Leszczyński
class entity
royalty.royal_line m.02ryw5
royalty.royal_line royalty.royal_line
Royal line House of Wettin
none none
royalty.royal_line.succeeded_by
Succeeded by
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.02ryw5 } 
?x0 :royalty.royal_line.succeeded_by ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND royalty.royal_line (JOIN royalty.royal_line.succeeded_by m.02ryw5))