OWLOntologyID

Objective-C

@interface OWLOntologyID : NSObject <NSCopying>

Swift

class OWLOntologyID : NSObject, NSCopying

An object that identifies an ontology.

Since OWL 2, ontologies do not have to have an ontology IRI, or if they have an ontology IRI then they can optionally also have a version IRI. Instances of this OWLOntologyID class bundle identifying information of an ontology together. If an ontology doesn’t have an ontology IRI then we say that it is “anonymous”.

  • The ontology IRI, or nil if there is no ontology IRI.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) OWLIRI *ontologyIRI;

    Swift

    @NSCopying var ontologyIRI: OWLIRI? { get }
  • The version IRI of this ontology, or nil if there is no version IRI.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly, nullable) OWLIRI *versionIRI;

    Swift

    @NSCopying var versionIRI: OWLIRI? { get }