western australian government railways was the former name of which government agency?
Entity
m.07hg4n
Westrail
class entity
government.government_agency m.07m0qq
government.government_agency government.government_agency
Government Agency Western Australian Government Railways
none none
government.government_agency.predecessor_agency
Predecessor 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_agency . 
VALUES ?x1 { :m.07m0qq } 
?x0 :government.government_agency.predecessor_agency ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND government.government_agency (JOIN government.government_agency.predecessor_agency m.07m0qq))