Implemented a method to get the type of a webId