the chief of staff resides within which government office?
Entity Entity
m.05q8hq6 m.0wkxts0
Chief of the Serbian General Staff Chief of Staff
class entity
government.government_office_or_title m.025whr1
government.government_office_or_title government.government_office_category
Government Office or Title Chief of staff
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.025whr1 } 
?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.025whr1))