Skip to content

Commit

Permalink
added properties iri and str for OWLNamedIndividual #2
Browse files Browse the repository at this point in the history
  • Loading branch information
alkidbaci committed Dec 21, 2023
1 parent 3805fd4 commit 9b19a1e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions owlapy/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,14 @@ def get_iri(self) -> IRI:
# documented in parent
return self._iri

@property
def iri(self):
return self._iri

@property
def str(self):
return self._iri.as_str()


_M = TypeVar('_M', bound='OWLOntologyManager') #:

Expand Down

0 comments on commit 9b19a1e

Please sign in to comment.