OWLDataFactory

@protocol OWLDataFactory <NSObject>

An interface for creating entities, class expressions and axioms.

OWL vocabulary

  • Gets the built in owl:Thing class.

    Declaration

    Objective-C

    - (nonnull id<OWLClass>)thing;

    Return Value

    OWLClass corresponding to owl:Thing.

  • Gets the built in owl:Nothing class.

    Declaration

    Objective-C

    - (nonnull id<OWLClass>)nothing;

    Return Value

    OWLClass corresponding to owl:Nothing.

  • Gets the built in owl:topObjectProperty class.

    Declaration

    Objective-C

    - (nonnull id<OWLObjectProperty>)topObjectProperty;

    Return Value

    OWLObjectProperty corresponding to owl:topObjectProperty.

  • Gets the built in owl:bottomObjectProperty class.

    Declaration

    Objective-C

    - (nonnull id<OWLObjectProperty>)bottomObjectProperty;

    Return Value

    OWLObjectProperty corresponding to owl:bottomObjectProperty.

Entities

  • Gets an entity that has the specified IRI and is of the specified type.

    Declaration

    Objective-C

    - (nonnull id<OWLEntity>)entityWithType:(OWLEntityType)type
                                        iri:(nonnull OWLIRI *)iri;

    Parameters

    type

    The type of the entity that will be returned.

    iri

    The IRI of the entity that will be returned.

    Return Value

    An entity that has the same IRI as this entity and is of the specified type.

  • Gets an instance of OWLClass that has the specified IRI.

    Declaration

    Objective-C

    - (nonnull id<OWLClass>)classWithIRI:(nonnull OWLIRI *)iri;

    Parameters

    iri

    The IRI.

    Return Value

    An OWLClass that has the specified IRI.

  • Gets an instance of OWLObjectProperty that has the specified IRI.

    Declaration

    Objective-C

    - (nonnull id<OWLObjectProperty>)objectPropertyWithIRI:(nonnull OWLIRI *)iri;

    Parameters

    iri

    The IRI.

    Return Value

    An OWLObjectProperty that has the specified IRI.

  • Gets an instance of OWLNamedIndividual that has the specified IRI.

    Declaration

    Objective-C

    - (nonnull id<OWLNamedIndividual>)namedIndividualWithIRI:(nonnull OWLIRI *)iri;

    Parameters

    iri

    The IRI.

    Return Value

    An OWLNamedIndividual that has the specified IRI.

  • Gets an OWLAnonymousIndividual. The NodeID for the individual will be generated automatically. Successive invocations of this method (on this object) will result in instances of OWLAnonymousIndividual that do not have NodeIDs that have been used previously.

    Declaration

    Objective-C

    - (nonnull id<OWLAnonymousIndividual>)anonymousIndividual;

    Return Value

    An instance of OWLAnonymousIndividual.

  • Gets an OWLAnonymousIndividual that has a specific NodeID.

    Declaration

    Objective-C

    - (nonnull id<OWLAnonymousIndividual>)anonymousIndividualWithNodeID:
        (OWLNodeID)nodeID;

    Parameters

    nodeID

    The node ID.

    Return Value

    An instance of OWLAnonymousIndividual.

Entity to/from identifiers

  • Gets the class that has the specified identifier.

    Declaration

    Objective-C

    - (nonnull id<OWLClass>)classWithEntityID:(OWLEntityID)entityID;

    Parameters

    entityID

    The identifier;

    Return Value

    An instance of OWLClass.

  • Gets the named individual that has the specified identifier.

    Declaration

    Objective-C

    - (nonnull id<OWLNamedIndividual>)namedIndividualWithEntityID:
        (OWLEntityID)entityID;

    Parameters

    entityID

    The identifier;

    Return Value

    An instance of OWLNamedIndividual.

  • Gets the object property that has the specified identifier.

    Declaration

    Objective-C

    - (nonnull id<OWLObjectProperty>)objectPropertyWithEntityID:
        (OWLEntityID)entityID;

    Parameters

    entityID

    The identifier;

    Return Value

    An instance of OWLObjectProperty.

Class expressions

Axioms