def getResourceMapPid(self):
        """Returns:

        str : PID of the Resource Map itself.

        """
        ore = [
            o for o in self.subjects(predicate=rdflib.RDF.type, object=ORE.ResourceMap)
        ][0]
        pid = [str(o) for o in self.objects(predicate=DCTERMS.identifier, subject=ore)][
            0
        ]
        return pid
Returns:

        str : PID of the Resource Map itself.