the governmental body (if any) of the australian capital territory legislative assembly belongs to what government office or title?
Entity Entity
m.027jyhs m.0598jq3
Speaker of the Australian Capital Territory Legislative Assembly Member of the Australian Capital Territory Legislative Assembly
class entity
government.government_office_or_title m.02s0r1
government.government_office_or_title government.governmental_body
Government Office or Title Australian Capital Territory Legislative Assembly
none none
government.government_office_or_title.governmental_body_if_any
Governmental body (if any)
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.02s0r1 } 
?x0 :government.government_office_or_title.governmental_body_if_any ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND government.government_office_or_title (JOIN government.government_office_or_title.governmental_body_if_any m.02s0r1))