what government service provided spotsylvania county sheriff's office?
Entity
m.0gty6zf
Law enforcement
class entity
government.government_service m.0cm9f45
government.government_service government.government_agency
Government Service Spotsylvania County Sheriff's Office
none none
government.government_service.providing_agency
Providing agency
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_service . 
VALUES ?x1 { :m.0cm9f45 } 
?x0 :government.government_service.providing_agency ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND government.government_service (JOIN government.government_service.providing_agency m.0cm9f45))