Guessing of role by what type of historic=? tomb primitive is

Set person relation role "tomb" if tomb primitive has historic=tomb set, set role "memorial" if primitive is historic=memorial.