owlapy.model.OWLImportsDeclaration¶
-
class
owlapy.model.
OWLImportsDeclaration
(import_iri: owlapy.model.IRI)[source]¶ Bases:
owlapy.model.HasIRI
Represents an import statement in an ontology.
- Parameters:
import_import_iri – imported ontology
- Returns:
an imports declaration
Methods
Gets the import IRI.
-
get_iri
() → owlapy.model.IRI[source]¶ Gets the import IRI.
- Returns:
The import IRI that points to the ontology to be imported. The imported ontology might have this IRI as its ontology IRI but this is not mandated. For example, an ontology with a non resolvable ontology IRI can be deployed at a resolvable URL.