what is the government office within which the monarchs resides?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.04l4rkz m.03w5dlv m.03w5qdr m.03w5dk8 m.01475m m.04t3xn m.02q01m m.03tlkp m.01s28z m.04cydk m.03wjwn m.03w5qf3 m.05p1rc7 m.03w5dgz m.03w5dhf
Queen of New Zealand King of Bohemia King of the Lombards Queen of Bohemia Monarchy of Ireland King of Bahrain King of Syria King of the Geats King of the Romans Monarchy of South Africa King of Newfoundland King of the Franks Druk Gyalpo King of England King of Scots
class entity
government.government_office_or_title m.04syw
government.government_office_or_title government.government_office_category
Government Office or Title monarchs
none none
government.government_office_or_title.category
Category
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 :government.government_office_or_title . 
VALUES ?x1 { :m.04syw } 
?x0 :government.government_office_or_title.category ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND government.government_office_or_title (JOIN government.government_office_or_title.category m.04syw))