def predicate_to_IRI(self, predicate: ShExDocParser.PredicateContext) -> ShExJ.IRIREF:
if predicate.iri():<EOL><INDENT>return self.iri_to_iriref(predicate.iri())<EOL><DEDENT>else:<EOL><INDENT>return RDF_TYPE<EOL><DEDENT>
predicate: iri | rdfType