hermosa beach california has which government office?
Entity Entity Entity
m.04j3yy1 m.04j3yy7 m.04j3yyf
Mayor Pro Tem of Hermosa Beach Hermosa Beach City Council Member Mayor of Hermosa Beach
class entity
government.government_office_or_title m.0r0cp
government.government_office_or_title government.governmental_jurisdiction
Government Office or Title hermosa beach california
none none
government.government_office_or_title.jurisdiction
Jurisdiction
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.0r0cp } 
?x0 :government.government_office_or_title.jurisdiction ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND government.government_office_or_title (JOIN government.government_office_or_title.jurisdiction m.0r0cp))