the speaker of the northern territory legislative assembly is a government office category of what kind?
Entity
m.02079p
Speaker
class entity
government.government_office_category m.069xph
government.government_office_category government.government_office_or_title
Government office category Speaker of the Northern Territory Legislative Assembly
none none
government.government_office_category.offices
Offices
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_category . 
VALUES ?x1 { :m.069xph } 
?x0 :government.government_office_category.offices ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND government.government_office_category (JOIN government.government_office_category.offices m.069xph))