what is the government with an agency that has a successor of scottish fisheries protection agency?
Entity
m.01nq43
Scottish Government
class class entity
government.government government.government_agency m.082pks
government.government government.government_agency government.government_agency
Government Government Agency Scottish Fisheries Protection Agency
none none none
government.government_agency.government government.government_agency.successor_agency
Government Successor 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 . 
?x1 :type.object.type :government.government_agency . 
VALUES ?x2 { :m.082pks } 
?x1 :government.government_agency.government ?x0 . 
?x2 :government.government_agency.successor_agency ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND government.government (JOIN (R government.government_agency.government) (JOIN (R government.government_agency.successor_agency) m.082pks)))