british state has what monarch?
Entity Entity Entity Entity
m.0cms2 m.0cw10 m.0cm03 m.0d1_f
Edward VIII of the United Kingdom Queen Victoria Edward VII Elizabeth II
class entity
royalty.monarch m.07ssc
royalty.monarch royalty.kingdom
Monarch british state
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.07ssc } 
?x0 :royalty.monarch.kingdom ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND royalty.monarch (JOIN royalty.monarch.kingdom m.07ssc))