What role did Aberdeen play when it was a part of the regional government Grampian?
SELECT ?value WHERE { wd:/Aberdeen/ p:/located in the administrative territorial entity/ ?s . ?s ps:/located in the administrative territorial entity/ wd:/Grampian/ . ?s pq:/object has role/ ?value}