who was the monarch of southern han?
Entity
m.010x9qf7
Liu Bin
class entity
royalty.monarch m.05knp0
royalty.monarch royalty.kingdom
Monarch Southern Han
none none
royalty.monarch.kingdom
Kingdom
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.05knp0 } 
?x0 :royalty.monarch.kingdom ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND royalty.monarch (JOIN royalty.monarch.kingdom m.05knp0))