def tripleexprlabel_to_iriref(self, tripleExprLabel: ShExDocParser.TripleExprLabelContext) \
         -> Union[ShExJ.BNODE, ShExJ.IRIREF]:
     """ tripleExprLabel: iri | blankNode """
     if tripleExprLabel.iri():
         return self.iri_to_iriref(tripleExprLabel.iri())
     else:
         return ShExJ.BNODE(tripleExprLabel.blankNode().getText())
 def shapeexprlabel_to_IRI(self, shapeExprLabel: ShExDocParser.ShapeExprLabelContext) \
         -> Union[ShExJ.BNODE, ShExJ.IRIREF]:
     """ shapeExprLabel: iri | blankNode """
     if shapeExprLabel.iri():
         return self.iri_to_iriref(shapeExprLabel.iri())
     else:
         return ShExJ.BNODE(shapeExprLabel.blankNode().getText())