Interface InternalGraphModel

All Superinterfaces:
org.semanticweb.owlapi.model.HasOntologyID, org.apache.jena.shared.Lock, org.apache.jena.rdf.model.Model, org.apache.jena.rdf.model.ModelCon, org.apache.jena.rdf.model.ModelGraphInterface, org.apache.jena.ontapi.common.OntEnhGraph, org.apache.jena.ontapi.model.OntModel, org.apache.jena.shared.PrefixMapping, org.apache.jena.rdf.model.RDFReaderF, org.apache.jena.rdf.model.RDFWriterF
All Known Implementing Classes:
InternalGraphModelImpl

public interface InternalGraphModel extends org.apache.jena.ontapi.model.OntModel, org.apache.jena.ontapi.common.OntEnhGraph, org.semanticweb.owlapi.model.HasOntologyID
A Buffer Graph OWL model, that extends ONTAPI Jena Model providing various methods to work with OWLAPI Objects.

Created by @ssz on 24.05.2020.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.apache.jena.shared.PrefixMapping

    org.apache.jena.shared.PrefixMapping.Factory, org.apache.jena.shared.PrefixMapping.IllegalPrefixException, org.apache.jena.shared.PrefixMapping.JenaLockedException
  • Field Summary

    Fields inherited from interface org.apache.jena.shared.Lock

    READ, WRITE

    Fields inherited from interface org.apache.jena.shared.PrefixMapping

    Extended, Standard
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.jena.ontapi.model.OntModel
    add(List<org.apache.jena.rdf.model.Statement> arg0)
     
    org.apache.jena.ontapi.model.OntModel
    add(org.apache.jena.rdf.model.Model arg0)
     
    org.apache.jena.ontapi.model.OntModel
    add(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, String arg2)
     
    org.apache.jena.ontapi.model.OntModel
    add(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, String arg2, String arg3)
     
    org.apache.jena.ontapi.model.OntModel
    add(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, String arg2, org.apache.jena.datatypes.RDFDatatype arg3)
     
    org.apache.jena.ontapi.model.OntModel
    add(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, org.apache.jena.rdf.model.RDFNode arg2)
     
    org.apache.jena.ontapi.model.OntModel
    add(org.apache.jena.rdf.model.Statement arg0)
     
    org.apache.jena.ontapi.model.OntModel
    add(org.apache.jena.rdf.model.Statement[] arg0)
     
    org.apache.jena.ontapi.model.OntModel
    add(org.apache.jena.rdf.model.StmtIterator arg0)
     
    boolean
    add(org.semanticweb.owlapi.model.OWLAnnotation annotation)
    Adds the given annotation to the ontology header of the model.
    boolean
    add(org.semanticweb.owlapi.model.OWLAxiom axiom)
    Adds the specified axiom to the model.
    org.apache.jena.ontapi.model.OntModel
    addLiteral(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, boolean arg2)
     
    org.apache.jena.ontapi.model.OntModel
    addLiteral(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, char arg2)
     
    org.apache.jena.ontapi.model.OntModel
    addLiteral(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, double arg2)
     
    org.apache.jena.ontapi.model.OntModel
    addLiteral(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, float arg2)
     
    org.apache.jena.ontapi.model.OntModel
    addLiteral(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, int arg2)
     
    org.apache.jena.ontapi.model.OntModel
    addLiteral(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, long arg2)
     
    org.apache.jena.ontapi.model.OntModel
    addLiteral(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, org.apache.jena.rdf.model.Literal arg2)
     
    void
    Invalidates all caches.
    void
    Invalidates the cache if needed.
    org.apache.jena.ontapi.model.OntModel
     
    boolean
    contains(org.semanticweb.owlapi.model.OWLAnnotation annotation)
    Answers true if the given annotation is present in ontology header.
    boolean
    contains(org.semanticweb.owlapi.model.OWLAxiom axiom)
    Answers true if the given axiom is present within this buffer-model.
    boolean
    containsIgnoreAnnotations(org.semanticweb.owlapi.model.OWLAxiom axiom)
    Answers true if the given axiom is present within the model.
    boolean
    containsOWLDeclaration(org.semanticweb.owlapi.model.OWLEntity entity)
    Tests if the given OWLEntity has the OWL declaration.
    boolean
    containsOWLEntity(org.semanticweb.owlapi.model.OWLAnnotationProperty p)
    Answers true if the given property is present in the ontology signature.
    boolean
    containsOWLEntity(org.semanticweb.owlapi.model.OWLClass c)
    Answers true if the given class is present in the ontology signature.
    boolean
    containsOWLEntity(org.semanticweb.owlapi.model.OWLDataProperty p)
    Answers true if the given property is present in the ontology signature.
    boolean
    containsOWLEntity(org.semanticweb.owlapi.model.OWLDatatype d)
    Answers true if the given datatype is present in the ontology signature.
    boolean
    containsOWLEntity(org.semanticweb.owlapi.model.OWLNamedIndividual i)
    Answers true if the given individual is present in the ontology signature.
    boolean
    containsOWLEntity(org.semanticweb.owlapi.model.OWLObjectProperty p)
    Answers true if the given property is present in the ontology signature.
    org.apache.jena.ontapi.model.OntSWRL.Atom.WithBuiltin
    createBuiltInSWRLAtom(org.apache.jena.rdf.model.Resource arg0, Collection<org.apache.jena.ontapi.model.OntSWRL.DArg> arg1)
     
    org.apache.jena.ontapi.model.OntSWRL.Atom.WithClass
    createClassSWRLAtom(org.apache.jena.ontapi.model.OntClass arg0, org.apache.jena.ontapi.model.OntSWRL.IArg arg1)
     
    org.apache.jena.ontapi.model.OntClass.NaryDataAllValuesFrom
    createDataAllValuesFrom(Collection<org.apache.jena.ontapi.model.OntDataProperty> arg0, org.apache.jena.ontapi.model.OntDataRange arg1)
     
    org.apache.jena.ontapi.model.OntClass.DataAllValuesFrom
    createDataAllValuesFrom(org.apache.jena.ontapi.model.OntDataProperty arg0, org.apache.jena.ontapi.model.OntDataRange arg1)
     
    org.apache.jena.ontapi.model.OntClass.DataCardinality
    createDataCardinality(org.apache.jena.ontapi.model.OntDataProperty arg0, int arg1, org.apache.jena.ontapi.model.OntDataRange arg2)
     
    org.apache.jena.ontapi.model.OntDataRange.ComplementOf
    createDataComplementOf(org.apache.jena.ontapi.model.OntDataRange arg0)
     
    org.apache.jena.ontapi.model.OntClass.DataHasValue
    createDataHasValue(org.apache.jena.ontapi.model.OntDataProperty arg0, org.apache.jena.rdf.model.Literal arg1)
     
    org.apache.jena.ontapi.model.OntDataRange.IntersectionOf
    createDataIntersectionOf(Collection<org.apache.jena.ontapi.model.OntDataRange> arg0)
     
    default org.apache.jena.ontapi.model.OntDataRange.IntersectionOf
    createDataIntersectionOf(org.apache.jena.ontapi.model.OntDataRange... arg0)
     
    org.apache.jena.ontapi.model.OntClass.DataMaxCardinality
    createDataMaxCardinality(org.apache.jena.ontapi.model.OntDataProperty arg0, int arg1, org.apache.jena.ontapi.model.OntDataRange arg2)
     
    org.apache.jena.ontapi.model.OntClass.DataMinCardinality
    createDataMinCardinality(org.apache.jena.ontapi.model.OntDataProperty arg0, int arg1, org.apache.jena.ontapi.model.OntDataRange arg2)
     
    org.apache.jena.ontapi.model.OntDataRange.OneOf
    createDataOneOf(Collection<org.apache.jena.rdf.model.Literal> arg0)
     
    default org.apache.jena.ontapi.model.OntDataRange.OneOf
    createDataOneOf(org.apache.jena.rdf.model.Literal... arg0)
     
    org.apache.jena.ontapi.model.OntSWRL.Atom.WithDataProperty
    createDataPropertySWRLAtom(org.apache.jena.ontapi.model.OntDataProperty arg0, org.apache.jena.ontapi.model.OntSWRL.IArg arg1, org.apache.jena.ontapi.model.OntSWRL.DArg arg2)
     
    org.apache.jena.ontapi.model.OntSWRL.Atom.WithDataRange
    createDataRangeSWRLAtom(org.apache.jena.ontapi.model.OntDataRange arg0, org.apache.jena.ontapi.model.OntSWRL.DArg arg1)
     
    org.apache.jena.ontapi.model.OntDataRange.Restriction
    createDataRestriction(org.apache.jena.ontapi.model.OntDataRange.Named arg0, Collection<org.apache.jena.ontapi.model.OntFacetRestriction> arg1)
     
    default org.apache.jena.ontapi.model.OntDataRange.Restriction
    createDataRestriction(org.apache.jena.ontapi.model.OntDataRange.Named arg0, org.apache.jena.ontapi.model.OntFacetRestriction... arg1)
     
    org.apache.jena.ontapi.model.OntClass.NaryDataSomeValuesFrom
    createDataSomeValuesFrom(Collection<org.apache.jena.ontapi.model.OntDataProperty> arg0, org.apache.jena.ontapi.model.OntDataRange arg1)
     
    org.apache.jena.ontapi.model.OntClass.DataSomeValuesFrom
    createDataSomeValuesFrom(org.apache.jena.ontapi.model.OntDataProperty arg0, org.apache.jena.ontapi.model.OntDataRange arg1)
     
    org.apache.jena.ontapi.model.OntDataRange.UnionOf
    createDataUnionOf(Collection<org.apache.jena.ontapi.model.OntDataRange> arg0)
     
    default org.apache.jena.ontapi.model.OntDataRange.UnionOf
    createDataUnionOf(org.apache.jena.ontapi.model.OntDataRange... arg0)
     
    org.apache.jena.ontapi.model.OntDisjoint.Individuals
    createDifferentIndividuals(Collection<org.apache.jena.ontapi.model.OntIndividual> arg0)
     
    default org.apache.jena.ontapi.model.OntDisjoint.Individuals
    createDifferentIndividuals(org.apache.jena.ontapi.model.OntIndividual... arg0)
     
    org.apache.jena.ontapi.model.OntSWRL.Atom.WithDifferentIndividuals
    createDifferentIndividualsSWRLAtom(org.apache.jena.ontapi.model.OntSWRL.IArg arg0, org.apache.jena.ontapi.model.OntSWRL.IArg arg1)
     
    org.apache.jena.ontapi.model.OntDisjoint.Classes
    createDisjointClasses(Collection<org.apache.jena.ontapi.model.OntClass> arg0)
     
    default org.apache.jena.ontapi.model.OntDisjoint.Classes
    createDisjointClasses(org.apache.jena.ontapi.model.OntClass... arg0)
     
    org.apache.jena.ontapi.model.OntDisjoint.DataProperties
    createDisjointDataProperties(Collection<org.apache.jena.ontapi.model.OntDataProperty> arg0)
     
    default org.apache.jena.ontapi.model.OntDisjoint.DataProperties
    createDisjointDataProperties(org.apache.jena.ontapi.model.OntDataProperty... arg0)
     
    org.apache.jena.ontapi.model.OntDisjoint.ObjectProperties
    createDisjointObjectProperties(Collection<org.apache.jena.ontapi.model.OntObjectProperty> arg0)
     
    default org.apache.jena.ontapi.model.OntDisjoint.ObjectProperties
    createDisjointObjectProperties(org.apache.jena.ontapi.model.OntObjectProperty... arg0)
     
    org.apache.jena.ontapi.model.OntClass.HasSelf
    createHasSelf(org.apache.jena.ontapi.model.OntObjectProperty arg0)
     
    org.apache.jena.ontapi.model.OntClass.ObjectAllValuesFrom
    createObjectAllValuesFrom(org.apache.jena.ontapi.model.OntObjectProperty arg0, org.apache.jena.ontapi.model.OntClass arg1)
     
    org.apache.jena.ontapi.model.OntClass.ObjectCardinality
    createObjectCardinality(org.apache.jena.ontapi.model.OntObjectProperty arg0, int arg1, org.apache.jena.ontapi.model.OntClass arg2)
     
    org.apache.jena.ontapi.model.OntClass.ComplementOf
    createObjectComplementOf(org.apache.jena.ontapi.model.OntClass arg0)
     
    org.apache.jena.ontapi.model.OntClass.ObjectHasValue
    createObjectHasValue(org.apache.jena.ontapi.model.OntObjectProperty arg0, org.apache.jena.ontapi.model.OntIndividual arg1)
     
    org.apache.jena.ontapi.model.OntClass.IntersectionOf
    createObjectIntersectionOf(Collection<org.apache.jena.ontapi.model.OntClass> arg0)
     
    default org.apache.jena.ontapi.model.OntClass.IntersectionOf
    createObjectIntersectionOf(org.apache.jena.ontapi.model.OntClass... arg0)
     
    org.apache.jena.ontapi.model.OntClass.ObjectMaxCardinality
    createObjectMaxCardinality(org.apache.jena.ontapi.model.OntObjectProperty arg0, int arg1, org.apache.jena.ontapi.model.OntClass arg2)
     
    org.apache.jena.ontapi.model.OntClass.ObjectMinCardinality
    createObjectMinCardinality(org.apache.jena.ontapi.model.OntObjectProperty arg0, int arg1, org.apache.jena.ontapi.model.OntClass arg2)
     
    org.apache.jena.ontapi.model.OntClass.OneOf
    createObjectOneOf(Collection<org.apache.jena.ontapi.model.OntIndividual> arg0)
     
    default org.apache.jena.ontapi.model.OntClass.OneOf
    createObjectOneOf(org.apache.jena.ontapi.model.OntIndividual... arg0)
     
    org.apache.jena.ontapi.model.OntSWRL.Atom.WithObjectProperty
    createObjectPropertySWRLAtom(org.apache.jena.ontapi.model.OntObjectProperty arg0, org.apache.jena.ontapi.model.OntSWRL.IArg arg1, org.apache.jena.ontapi.model.OntSWRL.IArg arg2)
     
    org.apache.jena.ontapi.model.OntClass.ObjectSomeValuesFrom
    createObjectSomeValuesFrom(org.apache.jena.ontapi.model.OntObjectProperty arg0, org.apache.jena.ontapi.model.OntClass arg1)
     
    org.apache.jena.ontapi.model.OntClass.UnionOf
    createObjectUnionOf(Collection<org.apache.jena.ontapi.model.OntClass> arg0)
     
    default org.apache.jena.ontapi.model.OntClass.UnionOf
    createObjectUnionOf(org.apache.jena.ontapi.model.OntClass... arg0)
     
    org.apache.jena.ontapi.model.OntSWRL.Atom.WithSameIndividuals
    createSameIndividualsSWRLAtom(org.apache.jena.ontapi.model.OntSWRL.IArg arg0, org.apache.jena.ontapi.model.OntSWRL.IArg arg1)
     
    org.apache.jena.ontapi.model.OntSWRL.Imp
    createSWRLImp(Collection<org.apache.jena.ontapi.model.OntSWRL.Atom<?>> arg0, Collection<org.apache.jena.ontapi.model.OntSWRL.Atom<?>> arg1)
     
    org.apache.jena.ontapi.model.OntSWRL.Variable
     
    void
    Forcibly loads the whole content cache.
    Gets the OWL Ontology ID from the model.
    long
    Returns the number of axioms in this ontology.
    org.apache.jena.ontapi.UnionGraph
    Answers the UnionGraph which this Model is presenting.
    boolean
    Answers true if the ontology is ontologically empty (no header, no axioms).
    Stream<org.semanticweb.owlapi.model.OWLAnonymousIndividual>
    Lists all (component) anonymous individuals in the form of OWL-API objects.
    Stream<org.semanticweb.owlapi.model.OWLNamedIndividual>
    Lists all (component) named individuals in the form of OWL-API objects.
    Stream<org.semanticweb.owlapi.model.OWLAnonymousIndividual>
    Lists all (graph) anonymous individuals in the form of OWL-API objects.
    Stream<org.semanticweb.owlapi.model.OWLNamedIndividual>
    Lists all (graph) named individuals in the form of OWL-API objects.
    default Stream<org.semanticweb.owlapi.model.OWLAnnotationAssertionAxiom>
    listOWLAnnotationAssertionAxioms(org.semanticweb.owlapi.model.OWLAnnotationSubject subject)
    Lists Annotation Assertion Axioms with the given subject.
    Stream<org.semanticweb.owlapi.model.OWLAnnotationProperty>
    Lists all annotation properties in the form of OWL-API objects.
    default Stream<org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom>
    listOWLAnnotationPropertyDomainAxioms(org.semanticweb.owlapi.model.OWLAnnotationProperty subject)
     
    default Stream<org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom>
    listOWLAnnotationPropertyRangeAxioms(org.semanticweb.owlapi.model.OWLAnnotationProperty subject)
     
    Stream<org.semanticweb.owlapi.model.OWLAnnotation>
    Gets all ontology header annotations.
    default Stream<org.semanticweb.owlapi.model.OWLAsymmetricObjectPropertyAxiom>
    listOWLAsymmetricObjectPropertyAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
     
    Stream<org.semanticweb.owlapi.model.OWLAxiom>
    Lists all ontology axioms.
    <A extends org.semanticweb.owlapi.model.OWLAxiom>
    Stream<A>
    Lists axioms of the given class-type.
    <A extends org.semanticweb.owlapi.model.OWLAxiom>
    Stream<A>
    listOWLAxioms(Class<A> type, org.semanticweb.owlapi.model.OWLObject object)
    Selects all axioms for the given object-component.
    Stream<org.semanticweb.owlapi.model.OWLAxiom>
    listOWLAxioms(Iterable<org.semanticweb.owlapi.model.AxiomType<?>> filter)
    Lists axioms for the specified types.
    <A extends org.semanticweb.owlapi.model.OWLAxiom>
    Stream<A>
    listOWLAxioms(org.semanticweb.owlapi.model.AxiomType<A> type)
    Lists axioms of the given axiom-type.
    Stream<org.semanticweb.owlapi.model.OWLAxiom>
    listOWLAxioms(org.semanticweb.owlapi.model.OWLPrimitive primitive)
    Lists all OWLAxioms for the given OWLPrimitive
    default Stream<org.semanticweb.owlapi.model.OWLClassAssertionAxiom>
    listOWLClassAssertionAxioms(org.semanticweb.owlapi.model.OWLClassExpression object)
    Lists ClassAssertion Axioms by the given class-object.
    default Stream<org.semanticweb.owlapi.model.OWLClassAssertionAxiom>
    listOWLClassAssertionAxioms(org.semanticweb.owlapi.model.OWLIndividual subject)
    Lists ClassAssertion Axioms by the given individual-subject.
    Stream<org.semanticweb.owlapi.model.OWLClass>
    Lists all OWL classes in the form of OWL-API objects.
    Stream<org.semanticweb.owlapi.model.OWLClassExpression>
    Lists all class expressions (both anonymous and named) in the form of OWL-API objects.
    Stream<org.semanticweb.owlapi.model.OWLDataProperty>
    Lists all data properties in the form of OWL-API objects.
    default Stream<org.semanticweb.owlapi.model.OWLDataPropertyAssertionAxiom>
    listOWLDataPropertyAssertionAxioms(org.semanticweb.owlapi.model.OWLIndividual subject)
    Lists DataPropertyAssertion Axioms by the given individual-subject.
    default Stream<org.semanticweb.owlapi.model.OWLDataPropertyDomainAxiom>
    listOWLDataPropertyDomainAxioms(org.semanticweb.owlapi.model.OWLDataProperty subject)
     
    default Stream<org.semanticweb.owlapi.model.OWLDataPropertyRangeAxiom>
    listOWLDataPropertyRangeAxioms(org.semanticweb.owlapi.model.OWLDataProperty subject)
     
    default Stream<org.semanticweb.owlapi.model.OWLDatatypeDefinitionAxiom>
    listOWLDatatypeDefinitionAxioms(org.semanticweb.owlapi.model.OWLDatatype datatype)
     
    Stream<org.semanticweb.owlapi.model.OWLDatatype>
    Lists all named data-ranges (i.e. datatypes) in the form of OWL-API objects.
    default Stream<org.semanticweb.owlapi.model.OWLDeclarationAxiom>
    listOWLDeclarationAxioms(org.semanticweb.owlapi.model.OWLEntity entity)
    Lists Declaration Axioms for the specified entity.
    default Stream<org.semanticweb.owlapi.model.OWLDifferentIndividualsAxiom>
    listOWLDifferentIndividualsAxioms(org.semanticweb.owlapi.model.OWLIndividual operand)
     
    default Stream<org.semanticweb.owlapi.model.OWLDisjointClassesAxiom>
    listOWLDisjointClassesAxioms(org.semanticweb.owlapi.model.OWLClass clazz)
    Lists DisjointClasses Axioms by the given class-component.
    default Stream<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom>
    listOWLDisjointDataPropertiesAxioms(org.semanticweb.owlapi.model.OWLDataProperty operand)
     
    default Stream<org.semanticweb.owlapi.model.OWLDisjointObjectPropertiesAxiom>
    listOWLDisjointObjectPropertiesAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression operand)
     
    default Stream<org.semanticweb.owlapi.model.OWLDisjointUnionAxiom>
    listOWLDisjointUnionAxioms(org.semanticweb.owlapi.model.OWLClass subject)
     
    Stream<org.semanticweb.owlapi.model.OWLEntity>
    listOWLEntities(org.semanticweb.owlapi.model.IRI iri)
    Lists OWL Entity for the specified IRI.
    default Stream<org.semanticweb.owlapi.model.OWLEquivalentClassesAxiom>
    listOWLEquivalentClassesAxioms(org.semanticweb.owlapi.model.OWLClass clazz)
    Lists EquivalentClasses Axioms by the given class-component.
    default Stream<org.semanticweb.owlapi.model.OWLEquivalentDataPropertiesAxiom>
    listOWLEquivalentDataPropertiesAxioms(org.semanticweb.owlapi.model.OWLDataProperty operand)
     
    default Stream<org.semanticweb.owlapi.model.OWLEquivalentObjectPropertiesAxiom>
    listOWLEquivalentObjectPropertiesAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression operand)
     
    default Stream<org.semanticweb.owlapi.model.OWLFunctionalDataPropertyAxiom>
    listOWLFunctionalDataPropertyAxioms(org.semanticweb.owlapi.model.OWLDataProperty subject)
     
    default Stream<org.semanticweb.owlapi.model.OWLFunctionalObjectPropertyAxiom>
    listOWLFunctionalObjectPropertyAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
     
    default Stream<org.semanticweb.owlapi.model.OWLHasKeyAxiom>
    listOWLHasKeyAxioms(org.semanticweb.owlapi.model.OWLClass subject)
     
    Stream<org.semanticweb.owlapi.model.OWLImportsDeclaration>
    Lists all owl import-declarations.
    default Stream<org.semanticweb.owlapi.model.OWLInverseFunctionalObjectPropertyAxiom>
    listOWLInverseFunctionalObjectPropertyAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
     
    default Stream<org.semanticweb.owlapi.model.OWLInverseObjectPropertiesAxiom>
    listOWLInverseObjectPropertiesAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression operand)
     
    default Stream<org.semanticweb.owlapi.model.OWLIrreflexiveObjectPropertyAxiom>
    listOWLIrreflexiveObjectPropertyAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
     
    Stream<org.semanticweb.owlapi.model.OWLLogicalAxiom>
    Lists all logical axioms.
    default <A extends org.semanticweb.owlapi.model.OWLNaryAxiom<? super K>, K extends org.semanticweb.owlapi.model.OWLObject>
    Stream<A>
     
    default Stream<org.semanticweb.owlapi.model.OWLNegativeDataPropertyAssertionAxiom>
    listOWLNegativeDataPropertyAssertionAxioms(org.semanticweb.owlapi.model.OWLIndividual subject)
     
    default Stream<org.semanticweb.owlapi.model.OWLNegativeObjectPropertyAssertionAxiom>
    listOWLNegativeObjectPropertyAssertionAxioms(org.semanticweb.owlapi.model.OWLIndividual subject)
     
    Stream<org.semanticweb.owlapi.model.OWLObjectProperty>
    Lists all object properties in the form of OWL-API objects.
    default Stream<org.semanticweb.owlapi.model.OWLObjectPropertyAssertionAxiom>
    listOWLObjectPropertyAssertionAxioms(org.semanticweb.owlapi.model.OWLIndividual subject)
    Lists ObjectPropertyAssertion Axioms by the given individual-subject.
    default Stream<org.semanticweb.owlapi.model.OWLObjectPropertyDomainAxiom>
    listOWLObjectPropertyDomainAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
    Lists ObjectPropertyDomain Axioms by the given property-subject.
    default Stream<org.semanticweb.owlapi.model.OWLObjectPropertyRangeAxiom>
    listOWLObjectPropertyRangeAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
    Lists ObjectPropertyRange Axioms by the given property-subject.
    default <A extends org.semanticweb.owlapi.model.OWLAxiom & org.semanticweb.owlapi.model.HasProperty<P>, P extends org.semanticweb.owlapi.model.OWLPropertyExpression>
    Stream<A>
    listOWLPropertyAxioms(Class<A> type, P property)
     
    default Stream<org.semanticweb.owlapi.model.OWLReflexiveObjectPropertyAxiom>
    listOWLReflexiveObjectPropertyAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
     
    default Stream<org.semanticweb.owlapi.model.OWLSameIndividualAxiom>
    listOWLSameIndividualAxioms(org.semanticweb.owlapi.model.OWLIndividual operand)
     
    default Stream<org.semanticweb.owlapi.model.OWLSubAnnotationPropertyOfAxiom>
    listOWLSubAnnotationPropertyOfAxiomsByObject(org.semanticweb.owlapi.model.OWLAnnotationProperty object)
     
    default Stream<org.semanticweb.owlapi.model.OWLSubAnnotationPropertyOfAxiom>
    listOWLSubAnnotationPropertyOfAxiomsBySubject(org.semanticweb.owlapi.model.OWLAnnotationProperty subject)
     
    default Stream<org.semanticweb.owlapi.model.OWLSubClassOfAxiom>
    listOWLSubClassOfAxiomsByObject(org.semanticweb.owlapi.model.OWLClass object)
    Lists SubClassOf Axioms by the given super class.
    default Stream<org.semanticweb.owlapi.model.OWLSubClassOfAxiom>
    listOWLSubClassOfAxiomsBySubject(org.semanticweb.owlapi.model.OWLClass subject)
    Lists SubClassOf Axioms by the given sub class.
    default Stream<org.semanticweb.owlapi.model.OWLSubDataPropertyOfAxiom>
    listOWLSubDataPropertyOfAxiomsByObject(org.semanticweb.owlapi.model.OWLDataProperty object)
     
    default Stream<org.semanticweb.owlapi.model.OWLSubDataPropertyOfAxiom>
    listOWLSubDataPropertyOfAxiomsBySubject(org.semanticweb.owlapi.model.OWLDataProperty subject)
     
    default Stream<org.semanticweb.owlapi.model.OWLSubObjectPropertyOfAxiom>
    listOWLSubObjectPropertyOfAxiomsByObject(org.semanticweb.owlapi.model.OWLObjectPropertyExpression object)
     
    default Stream<org.semanticweb.owlapi.model.OWLSubObjectPropertyOfAxiom>
    listOWLSubObjectPropertyOfAxiomsBySubject(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
     
    default <A extends org.semanticweb.owlapi.model.OWLSubPropertyAxiom<P>, P extends org.semanticweb.owlapi.model.OWLPropertyExpression>
    Stream<A>
     
    default <A extends org.semanticweb.owlapi.model.OWLSubPropertyAxiom<P>, P extends org.semanticweb.owlapi.model.OWLPropertyExpression>
    Stream<A>
     
    default Stream<org.semanticweb.owlapi.model.OWLSymmetricObjectPropertyAxiom>
    listOWLSymmetricObjectPropertyAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
     
    default Stream<org.semanticweb.owlapi.model.OWLTransitiveObjectPropertyAxiom>
    listOWLTransitiveObjectPropertyAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
     
    Stream<org.semanticweb.owlapi.model.IRI>
    listPunningIRIs(boolean withImports)
    Lists all 'punnings', i.e. subjects of OWLEntitys with different types.
    org.apache.jena.ontapi.model.OntModel
     
    org.apache.jena.ontapi.model.OntModel
     
    org.apache.jena.ontapi.model.OntModel
    read(InputStream arg0, String arg1)
     
    org.apache.jena.ontapi.model.OntModel
    read(InputStream arg0, String arg1, String arg2)
     
    org.apache.jena.ontapi.model.OntModel
    read(Reader arg0, String arg1)
     
    org.apache.jena.ontapi.model.OntModel
    read(Reader arg0, String arg1, String arg2)
     
    org.apache.jena.ontapi.model.OntModel
    read(String arg0)
     
    org.apache.jena.ontapi.model.OntModel
    read(String arg0, String arg1)
     
    org.apache.jena.ontapi.model.OntModel
    read(String arg0, String arg1, String arg2)
     
    org.apache.jena.ontapi.model.OntModel
    register(org.apache.jena.rdf.model.ModelChangedListener arg0)
     
    org.apache.jena.ontapi.model.OntModel
    remove(List<org.apache.jena.rdf.model.Statement> arg0)
     
    org.apache.jena.ontapi.model.OntModel
    remove(org.apache.jena.rdf.model.Model arg0)
     
    org.apache.jena.ontapi.model.OntModel
    remove(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, org.apache.jena.rdf.model.RDFNode arg2)
     
    org.apache.jena.ontapi.model.OntModel
    remove(org.apache.jena.rdf.model.Statement arg0)
     
    org.apache.jena.ontapi.model.OntModel
    remove(org.apache.jena.rdf.model.Statement[] arg0)
     
    org.apache.jena.ontapi.model.OntModel
    remove(org.apache.jena.rdf.model.StmtIterator arg0)
     
    boolean
    remove(org.semanticweb.owlapi.model.OWLAnnotation annotation)
    Removes the given ontology header annotation from the model.
    boolean
    remove(org.semanticweb.owlapi.model.OWLAxiom axiom)
    Removes the given axiom from the model.
    org.apache.jena.ontapi.model.OntModel
     
    org.apache.jena.ontapi.model.OntModel
    removeAll(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, org.apache.jena.rdf.model.RDFNode arg2)
     
    org.apache.jena.ontapi.model.OntModel
     
    org.apache.jena.ontapi.model.OntModel
    setNsPrefix(String arg0, String arg1)
     
    org.apache.jena.ontapi.model.OntModel
     
    org.apache.jena.ontapi.model.OntModel
    setNsPrefixes(org.apache.jena.shared.PrefixMapping arg0)
     
    void
    setOntologyID(org.semanticweb.owlapi.model.OWLOntologyID id)
    Sets the OWL Ontology ID to the model.
    org.apache.jena.ontapi.model.OntModel
    unregister(org.apache.jena.rdf.model.ModelChangedListener arg0)
     
    org.apache.jena.ontapi.model.OntModel
    withDefaultMappings(org.apache.jena.shared.PrefixMapping arg0)
     
    org.apache.jena.ontapi.model.OntModel
    write(OutputStream arg0, String arg1)
     
    org.apache.jena.ontapi.model.OntModel
    write(OutputStream arg0, String arg1, String arg2)
     
    org.apache.jena.ontapi.model.OntModel
    write(Writer arg0, String arg1)
     
    org.apache.jena.ontapi.model.OntModel
    write(Writer arg0, String arg1, String arg2)
     
    org.apache.jena.ontapi.model.OntModel
     
    org.apache.jena.ontapi.model.OntModel
    writeAll(OutputStream arg0, String arg1, String arg2)
     
    org.apache.jena.ontapi.model.OntModel
    writeAll(Writer arg0, String arg1)
     
    org.apache.jena.ontapi.model.OntModel
    writeAll(Writer arg0, String arg1, String arg2)
     

    Methods inherited from interface org.apache.jena.shared.Lock

    enterCriticalSection, leaveCriticalSection

    Methods inherited from interface org.apache.jena.rdf.model.Model

    abort, begin, calculateInTxn, clearNsPrefixMap, close, commit, contains, contains, contains, containsAll, containsAll, containsAny, containsAny, containsResource, createList, createList, createList, createLiteral, createLiteral, createProperty, createReifier, createReifier, createResource, createResource, createResource, createStatement, createStatementTerm, createTypedLiteral, createTypedLiteral, createTypedLiteral, difference, equals, executeInTxn, getLock, getProperty, getProperty, getProperty, getReader, getRequiredProperty, getRequiredProperty, getResource, getResource, getWriter, independent, intersection, isClosed, isEmpty, isIsomorphicWith, listNameSpaces, listObjects, listObjectsOfProperty, listObjectsOfProperty, listResourcesWithProperty, listResourcesWithProperty, listStatements, listStatements, listSubjects, listSubjectsWithProperty, listSubjectsWithProperty, removeNsPrefix, setNsPrefix, setNsPrefixes, setNsPrefixes, size, supportsSetOperations, supportsTransactions, union, withDefaultMappings, write, write

    Methods inherited from interface org.apache.jena.rdf.model.ModelCon

    add, contains, contains, contains, containsLiteral, containsLiteral, containsLiteral, containsLiteral, containsLiteral, containsLiteral, containsLiteral, createAlt, createAlt, createBag, createBag, createLiteral, createLiteralStatement, createLiteralStatement, createLiteralStatement, createLiteralStatement, createLiteralStatement, createLiteralStatement, createLiteralStatement, createProperty, createResource, createResource, createSeq, createSeq, createStatement, createStatement, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, createTypedLiteral, getAlt, getAlt, getBag, getBag, getList, getList, getProperty, getRDFNode, getSeq, getSeq, listLiteralStatements, listLiteralStatements, listLiteralStatements, listLiteralStatements, listLiteralStatements, listLiteralStatements, listResourcesWithProperty, listResourcesWithProperty, listResourcesWithProperty, listResourcesWithProperty, listResourcesWithProperty, listResourcesWithProperty, listStatements, listStatements, listStatements, listSubjectsWithProperty, listSubjectsWithProperty, listSubjectsWithProperty

    Methods inherited from interface org.apache.jena.rdf.model.ModelGraphInterface

    asRDFNode, getGraph, wrapAsResource

    Methods inherited from interface org.apache.jena.ontapi.common.OntEnhGraph

    canNodeAs, checkType, findNodeAs, getNodeAs, getOntPersonality, safeFindNodeAs

    Methods inherited from interface org.apache.jena.ontapi.model.OntModel

    addImport, annotationProperties, asInferenceModel, asStatement, classes, createAnnotationProperty, createDataProperty, createDatatype, createFacetRestriction, createIndividual, createIndividual, createObjectProperty, createOntClass, createOntEntity, createRDFProperty, dataProperties, datatypes, fetchOntEntity, getAnnotationProperty, getAnnotationProperty, getBaseGraph, getBaseModel, getDataProperty, getDataProperty, getDatatype, getDatatype, getDatatype, getID, getIndividual, getIndividual, getObjectProperty, getObjectProperty, getOntClass, getOntClass, getOntEntity, getOntEntity, getOWLBackwardCompatibleWith, getOWLBottomDataProperty, getOWLBottomObjectProperty, getOWLDeprecated, getOWLIncompatibleWith, getOWLNothing, getOWLPriorVersion, getOWLThing, getOWLTopDataProperty, getOWLTopObjectProperty, getOWLVersionInfo, getRDFSComment, getRDFSIsDefinedBy, getRDFSLabel, getRDFSLiteral, getRDFSSeeAlso, hasImport, hasImport, hierarchyRoots, id, imports, individuals, localStatements, localStatements, namedIndividuals, objectProperties, ontEntities, ontEntities, ontObjects, properties, removeImport, removeImport, removeOntObject, removeOntStatement, setID, statements, statements

    Methods inherited from interface org.apache.jena.shared.PrefixMapping

    expandPrefix, getNsPrefixMap, getNsPrefixURI, getNsURIPrefix, hasNoMappings, numPrefixes, qnameFor, samePrefixMappingAs, shortForm
  • Method Details

    • getUnionGraph

      org.apache.jena.ontapi.UnionGraph getUnionGraph()
      Answers the UnionGraph which this Model is presenting.
      Returns:
      UnionGraph
    • getOntologyID

      ID getOntologyID()
      Gets the OWL Ontology ID from the model.
      Specified by:
      getOntologyID in interface org.semanticweb.owlapi.model.HasOntologyID
      Returns:
      ID
      See Also:
      • OntModel.getID()
    • setOntologyID

      void setOntologyID(org.semanticweb.owlapi.model.OWLOntologyID id)
      Sets the OWL Ontology ID to the model.
      Parameters:
      id - OWLOntologyID
      Throws:
      IllegalArgumentException - in case the given id is broken
      See Also:
      • OntModel.setID(String)
    • listOWLImportDeclarations

      Stream<org.semanticweb.owlapi.model.OWLImportsDeclaration> listOWLImportDeclarations()
      Lists all owl import-declarations.
      Returns:
      a Stream of OWLImportsDeclarations
    • listOWLAnnotations

      Stream<org.semanticweb.owlapi.model.OWLAnnotation> listOWLAnnotations()
      Gets all ontology header annotations.
      Returns:
      a Stream of OWLAnnotation
      See Also:
    • listOWLClassExpressions

      Stream<org.semanticweb.owlapi.model.OWLClassExpression> listOWLClassExpressions()
      Lists all class expressions (both anonymous and named) in the form of OWL-API objects.
      Returns:
      a Stream of OWLClassExpressions
      See Also:
    • listComponentOWLAnonymousIndividuals

      Stream<org.semanticweb.owlapi.model.OWLAnonymousIndividual> listComponentOWLAnonymousIndividuals()
      Lists all (component) anonymous individuals in the form of OWL-API objects. The difference with the method listGraphOWLAnonymousIndividuals() is that this method retrieves individuals from components' cache collected from base graph, while the method listGraphOWLAnonymousIndividuals() uses OntModel.individuals().
      Returns:
      a Stream of OWLAnonymousIndividuals
    • listGraphOWLAnonymousIndividuals

      Stream<org.semanticweb.owlapi.model.OWLAnonymousIndividual> listGraphOWLAnonymousIndividuals()
      Lists all (graph) anonymous individuals in the form of OWL-API objects. This method uses OntModel.individuals() method, while the method listComponentOWLAnonymousIndividuals() parses individuals from components' cache collected from base graph.
      Returns:
      a Stream of OWLNamedIndividuals
    • listComponentOWLNamedIndividuals

      Stream<org.semanticweb.owlapi.model.OWLNamedIndividual> listComponentOWLNamedIndividuals()
      Lists all (component) named individuals in the form of OWL-API objects. The difference with the method listGraphOWLNamedIndividuals() is that this method retrieves individuals from components' cache collected from base graph, while the method listGraphOWLNamedIndividuals() uses OntModel.individuals().
      Returns:
      a Stream of OWLNamedIndividuals
    • listGraphOWLNamedIndividuals

      Stream<org.semanticweb.owlapi.model.OWLNamedIndividual> listGraphOWLNamedIndividuals()
      Lists all (graph) named individuals in the form of OWL-API objects. This method uses OntModel.individuals() method, while the method listComponentOWLNamedIndividuals() parses individuals from components' cache collected from base graph.
      Returns:
      a Stream of OWLNamedIndividuals
    • listOWLClasses

      Stream<org.semanticweb.owlapi.model.OWLClass> listOWLClasses()
      Lists all OWL classes in the form of OWL-API objects.
      Returns:
      a Stream of OWLClasses.
    • listOWLDatatypes

      Stream<org.semanticweb.owlapi.model.OWLDatatype> listOWLDatatypes()
      Lists all named data-ranges (i.e. datatypes) in the form of OWL-API objects.
      Returns:
      a Stream of OWLDatatypes
    • listOWLDataProperties

      Stream<org.semanticweb.owlapi.model.OWLDataProperty> listOWLDataProperties()
      Lists all data properties in the form of OWL-API objects.
      Returns:
      a Stream of OWLDataPropertys
    • listOWLObjectProperties

      Stream<org.semanticweb.owlapi.model.OWLObjectProperty> listOWLObjectProperties()
      Lists all object properties in the form of OWL-API objects.
      Returns:
      a Stream of OWLObjectPropertys
    • listOWLAnnotationProperties

      Stream<org.semanticweb.owlapi.model.OWLAnnotationProperty> listOWLAnnotationProperties()
      Lists all annotation properties in the form of OWL-API objects.
      Returns:
      a Stream of OWLAnnotationPropertys
    • listOWLEntities

      Stream<org.semanticweb.owlapi.model.OWLEntity> listOWLEntities(org.semanticweb.owlapi.model.IRI iri)
      Lists OWL Entity for the specified IRI.
      Parameters:
      iri - IRI
      Returns:
      a Stream of OWLEntitys.
    • listPunningIRIs

      Stream<org.semanticweb.owlapi.model.IRI> listPunningIRIs(boolean withImports)
      Lists all 'punnings', i.e. subjects of OWLEntitys with different types.
      Parameters:
      withImports - if false the method takes into account only the base graph
      Returns:
      a Stream of IRIs
      See Also:
    • containsOWLDeclaration

      boolean containsOWLDeclaration(org.semanticweb.owlapi.model.OWLEntity entity)
      Tests if the given OWLEntity has the OWL declaration. A builtin entity has no declarations.
      Parameters:
      entity - OWLEntity to test
      Returns:
      boolean
    • containsOWLEntity

      boolean containsOWLEntity(org.semanticweb.owlapi.model.OWLClass c)
      Answers true if the given class is present in the ontology signature.
      Parameters:
      c - OWLClass
      Returns:
      boolean
    • containsOWLEntity

      boolean containsOWLEntity(org.semanticweb.owlapi.model.OWLDatatype d)
      Answers true if the given datatype is present in the ontology signature.
      Parameters:
      d - OWLDatatype
      Returns:
      boolean
    • containsOWLEntity

      boolean containsOWLEntity(org.semanticweb.owlapi.model.OWLNamedIndividual i)
      Answers true if the given individual is present in the ontology signature.
      Parameters:
      i - OWLNamedIndividual
      Returns:
      boolean
    • containsOWLEntity

      boolean containsOWLEntity(org.semanticweb.owlapi.model.OWLDataProperty p)
      Answers true if the given property is present in the ontology signature.
      Parameters:
      p - OWLDataProperty
      Returns:
      boolean
    • containsOWLEntity

      boolean containsOWLEntity(org.semanticweb.owlapi.model.OWLObjectProperty p)
      Answers true if the given property is present in the ontology signature.
      Parameters:
      p - OWLObjectProperty
      Returns:
      boolean
    • containsOWLEntity

      boolean containsOWLEntity(org.semanticweb.owlapi.model.OWLAnnotationProperty p)
      Answers true if the given property is present in the ontology signature.
      Parameters:
      p - OWLAnnotationProperty
      Returns:
      boolean
    • listOWLAxioms

      Stream<org.semanticweb.owlapi.model.OWLAxiom> listOWLAxioms()
      Lists all ontology axioms.
      Returns:
      Stream of OWLAxioms
      See Also:
    • listOWLLogicalAxioms

      Stream<org.semanticweb.owlapi.model.OWLLogicalAxiom> listOWLLogicalAxioms()
      Lists all logical axioms.
      Returns:
      a Stream of OWLAxioms
    • listOWLAxioms

      <A extends org.semanticweb.owlapi.model.OWLAxiom> Stream<A> listOWLAxioms(org.semanticweb.owlapi.model.AxiomType<A> type)
      Lists axioms of the given axiom-type.
      Type Parameters:
      A - type of axiom
      Parameters:
      type - AxiomType
      Returns:
      Stream of OWLAxioms
    • listOWLAxioms

      Stream<org.semanticweb.owlapi.model.OWLAxiom> listOWLAxioms(Iterable<org.semanticweb.owlapi.model.AxiomType<?>> filter)
      Lists axioms for the specified types.
      Parameters:
      filter - a Iterable of AxiomTypes
      Returns:
      Stream of OWLAxioms
    • listOWLAxioms

      Stream<org.semanticweb.owlapi.model.OWLAxiom> listOWLAxioms(org.semanticweb.owlapi.model.OWLPrimitive primitive)
      Lists all OWLAxioms for the given OWLPrimitive
      Parameters:
      primitive - not null
      Returns:
      a Stream of OWLAxioms
    • listOWLAxioms

      <A extends org.semanticweb.owlapi.model.OWLAxiom> Stream<A> listOWLAxioms(Class<A> type, org.semanticweb.owlapi.model.OWLObject object)
      Selects all axioms for the given object-component.
      Type Parameters:
      A - any subtype of OWLAxiom
      Parameters:
      type - a class-type of OWLAxiom
      object - OWLObject, that is present as a component in every container of the returned stream
      Returns:
      a Stream of OWLAxioms
    • getOWLAxiomCount

      long getOWLAxiomCount()
      Returns the number of axioms in this ontology.
      Returns:
      long, the count
    • contains

      boolean contains(org.semanticweb.owlapi.model.OWLAxiom axiom)
      Answers true if the given axiom is present within this buffer-model. It is equivalent to the expression this.listOWLAxioms().anyMatch(a::equals).
      Parameters:
      axiom - OWLAxiom, not null
      Returns:
      true if the axiom is present within the model
      See Also:
    • contains

      boolean contains(org.semanticweb.owlapi.model.OWLAnnotation annotation)
      Answers true if the given annotation is present in ontology header.
      Parameters:
      annotation - OWLAnnotation, not null
      Returns:
      true if the annotation is present within the model
      See Also:
    • containsIgnoreAnnotations

      boolean containsIgnoreAnnotations(org.semanticweb.owlapi.model.OWLAxiom axiom)
      Answers true if the given axiom is present within the model. While comparing axiom annotations (if present) are ignored.
      Parameters:
      axiom - OWLAxiom, not null
      Returns:
      true if base axiom (its main part) is present
      See Also:
    • isOntologyEmpty

      boolean isOntologyEmpty()
      Answers true if the ontology is ontologically empty (no header, no axioms).
      Returns:
      true if the ontology does not contain any axioms and annotations (locally); note, that the encapsulated graph still may contain some triples, and the method Model.isEmpty() may return false at the same time
    • add

      boolean add(org.semanticweb.owlapi.model.OWLAxiom axiom)
      Adds the specified axiom to the model.
      Parameters:
      axiom - OWLAxiom
      Returns:
      true if the axiom has been added to the graph
      See Also:
    • add

      boolean add(org.semanticweb.owlapi.model.OWLAnnotation annotation)
      Adds the given annotation to the ontology header of the model.
      Parameters:
      annotation - OWLAnnotation
      Returns:
      true if the annotation has been added to the graph
      See Also:
    • remove

      boolean remove(org.semanticweb.owlapi.model.OWLAxiom axiom)
      Removes the given axiom from the model. Also, clears the cache for the entity type, if the entity has been belonged to the removed axiom.
      Parameters:
      axiom - OWLAxiom
      Returns:
      true if the axiom has been removed from the graph
      See Also:
    • remove

      boolean remove(org.semanticweb.owlapi.model.OWLAnnotation annotation)
      Removes the given ontology header annotation from the model.
      Parameters:
      annotation - OWLAnnotation
      Returns:
      true if the annotation has been removed from the graph
      See Also:
    • clearCache

      void clearCache()
      Invalidates all caches.
    • forceLoad

      void forceLoad()
      Forcibly loads the whole content cache.
    • clearCacheIfNeeded

      void clearCacheIfNeeded()
      Invalidates the cache if needed.

      The OWL-API serialization may not work correctly without explicit expansion of axioms into a strictly defined form. The cache cleaning encourages repeated reading of the encapsulated graph, and, thus, leads the axioms to a uniform view. Without this operation, the axiomatic representation would look slightly different and the reload test (loading/saving in different formats) would not be passed. Also, absence of uniformed axiomatic view may lead to exceptions, since some OWL-storers require explicit declarations, which may not be present, if the ontology was assembled manually. It is important to invalidate whole the cache, since user-defined axioms may content parts of other axioms, such as annotation assertions, declarations, data-range definitions, etc.

    • add

      org.apache.jena.ontapi.model.OntModel add(org.apache.jena.rdf.model.Statement arg0)
      Specified by:
      add in interface org.apache.jena.rdf.model.Model
    • add

      org.apache.jena.ontapi.model.OntModel add(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, org.apache.jena.rdf.model.RDFNode arg2)
      Specified by:
      add in interface org.apache.jena.rdf.model.ModelCon
    • add

      org.apache.jena.ontapi.model.OntModel add(org.apache.jena.rdf.model.Model arg0)
      Specified by:
      add in interface org.apache.jena.rdf.model.Model
    • add

      org.apache.jena.ontapi.model.OntModel add(org.apache.jena.rdf.model.StmtIterator arg0)
      Specified by:
      add in interface org.apache.jena.rdf.model.Model
    • add

      org.apache.jena.ontapi.model.OntModel add(org.apache.jena.rdf.model.Statement[] arg0)
      Specified by:
      add in interface org.apache.jena.rdf.model.Model
    • add

      org.apache.jena.ontapi.model.OntModel add(List<org.apache.jena.rdf.model.Statement> arg0)
      Specified by:
      add in interface org.apache.jena.rdf.model.Model
    • remove

      org.apache.jena.ontapi.model.OntModel remove(org.apache.jena.rdf.model.Statement arg0)
      Specified by:
      remove in interface org.apache.jena.rdf.model.Model
    • remove

      org.apache.jena.ontapi.model.OntModel remove(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, org.apache.jena.rdf.model.RDFNode arg2)
      Specified by:
      remove in interface org.apache.jena.rdf.model.ModelCon
    • remove

      org.apache.jena.ontapi.model.OntModel remove(org.apache.jena.rdf.model.Model arg0)
      Specified by:
      remove in interface org.apache.jena.rdf.model.ModelCon
    • remove

      org.apache.jena.ontapi.model.OntModel remove(org.apache.jena.rdf.model.StmtIterator arg0)
      Specified by:
      remove in interface org.apache.jena.rdf.model.ModelCon
    • removeAll

      org.apache.jena.ontapi.model.OntModel removeAll(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, org.apache.jena.rdf.model.RDFNode arg2)
      Specified by:
      removeAll in interface org.apache.jena.rdf.model.Model
    • remove

      org.apache.jena.ontapi.model.OntModel remove(org.apache.jena.rdf.model.Statement[] arg0)
      Specified by:
      remove in interface org.apache.jena.rdf.model.Model
    • remove

      org.apache.jena.ontapi.model.OntModel remove(List<org.apache.jena.rdf.model.Statement> arg0)
      Specified by:
      remove in interface org.apache.jena.rdf.model.Model
    • removeAll

      org.apache.jena.ontapi.model.OntModel removeAll()
      Specified by:
      removeAll in interface org.apache.jena.rdf.model.Model
    • addLiteral

      org.apache.jena.ontapi.model.OntModel addLiteral(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, boolean arg2)
      Specified by:
      addLiteral in interface org.apache.jena.rdf.model.ModelCon
    • addLiteral

      org.apache.jena.ontapi.model.OntModel addLiteral(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, long arg2)
      Specified by:
      addLiteral in interface org.apache.jena.rdf.model.ModelCon
    • addLiteral

      org.apache.jena.ontapi.model.OntModel addLiteral(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, int arg2)
      Specified by:
      addLiteral in interface org.apache.jena.rdf.model.ModelCon
    • addLiteral

      org.apache.jena.ontapi.model.OntModel addLiteral(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, char arg2)
      Specified by:
      addLiteral in interface org.apache.jena.rdf.model.ModelCon
    • addLiteral

      org.apache.jena.ontapi.model.OntModel addLiteral(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, float arg2)
      Specified by:
      addLiteral in interface org.apache.jena.rdf.model.ModelCon
    • addLiteral

      org.apache.jena.ontapi.model.OntModel addLiteral(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, double arg2)
      Specified by:
      addLiteral in interface org.apache.jena.rdf.model.ModelCon
    • addLiteral

      org.apache.jena.ontapi.model.OntModel addLiteral(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, org.apache.jena.rdf.model.Literal arg2)
      Specified by:
      addLiteral in interface org.apache.jena.rdf.model.ModelCon
    • add

      org.apache.jena.ontapi.model.OntModel add(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, String arg2)
      Specified by:
      add in interface org.apache.jena.rdf.model.ModelCon
    • add

      org.apache.jena.ontapi.model.OntModel add(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, String arg2, org.apache.jena.datatypes.RDFDatatype arg3)
      Specified by:
      add in interface org.apache.jena.rdf.model.ModelCon
    • add

      org.apache.jena.ontapi.model.OntModel add(org.apache.jena.rdf.model.Resource arg0, org.apache.jena.rdf.model.Property arg1, String arg2, String arg3)
      Specified by:
      add in interface org.apache.jena.rdf.model.ModelCon
    • register

      org.apache.jena.ontapi.model.OntModel register(org.apache.jena.rdf.model.ModelChangedListener arg0)
      Specified by:
      register in interface org.apache.jena.rdf.model.Model
    • unregister

      org.apache.jena.ontapi.model.OntModel unregister(org.apache.jena.rdf.model.ModelChangedListener arg0)
      Specified by:
      unregister in interface org.apache.jena.rdf.model.Model
    • notifyEvent

      org.apache.jena.ontapi.model.OntModel notifyEvent(Object arg0)
      Specified by:
      notifyEvent in interface org.apache.jena.rdf.model.Model
    • setNsPrefix

      org.apache.jena.ontapi.model.OntModel setNsPrefix(String arg0, String arg1)
      Specified by:
      setNsPrefix in interface org.apache.jena.shared.PrefixMapping
    • removeNsPrefix

      org.apache.jena.ontapi.model.OntModel removeNsPrefix(String arg0)
      Specified by:
      removeNsPrefix in interface org.apache.jena.shared.PrefixMapping
    • clearNsPrefixMap

      org.apache.jena.ontapi.model.OntModel clearNsPrefixMap()
      Specified by:
      clearNsPrefixMap in interface org.apache.jena.shared.PrefixMapping
    • setNsPrefixes

      org.apache.jena.ontapi.model.OntModel setNsPrefixes(org.apache.jena.shared.PrefixMapping arg0)
      Specified by:
      setNsPrefixes in interface org.apache.jena.shared.PrefixMapping
    • setNsPrefixes

      org.apache.jena.ontapi.model.OntModel setNsPrefixes(Map<String,String> arg0)
      Specified by:
      setNsPrefixes in interface org.apache.jena.shared.PrefixMapping
    • withDefaultMappings

      org.apache.jena.ontapi.model.OntModel withDefaultMappings(org.apache.jena.shared.PrefixMapping arg0)
      Specified by:
      withDefaultMappings in interface org.apache.jena.shared.PrefixMapping
    • lock

      org.apache.jena.ontapi.model.OntModel lock()
      Specified by:
      lock in interface org.apache.jena.shared.PrefixMapping
    • read

      org.apache.jena.ontapi.model.OntModel read(String arg0)
      Specified by:
      read in interface org.apache.jena.rdf.model.Model
    • read

      org.apache.jena.ontapi.model.OntModel read(InputStream arg0, String arg1)
      Specified by:
      read in interface org.apache.jena.rdf.model.Model
    • read

      org.apache.jena.ontapi.model.OntModel read(InputStream arg0, String arg1, String arg2)
      Specified by:
      read in interface org.apache.jena.rdf.model.Model
    • read

      org.apache.jena.ontapi.model.OntModel read(Reader arg0, String arg1)
      Specified by:
      read in interface org.apache.jena.rdf.model.Model
    • read

      org.apache.jena.ontapi.model.OntModel read(String arg0, String arg1)
      Specified by:
      read in interface org.apache.jena.rdf.model.Model
    • read

      org.apache.jena.ontapi.model.OntModel read(Reader arg0, String arg1, String arg2)
      Specified by:
      read in interface org.apache.jena.rdf.model.Model
    • read

      org.apache.jena.ontapi.model.OntModel read(String arg0, String arg1, String arg2)
      Specified by:
      read in interface org.apache.jena.rdf.model.Model
    • write

      org.apache.jena.ontapi.model.OntModel write(Writer arg0, String arg1)
      Specified by:
      write in interface org.apache.jena.rdf.model.Model
    • write

      org.apache.jena.ontapi.model.OntModel write(Writer arg0, String arg1, String arg2)
      Specified by:
      write in interface org.apache.jena.rdf.model.Model
    • write

      org.apache.jena.ontapi.model.OntModel write(OutputStream arg0, String arg1)
      Specified by:
      write in interface org.apache.jena.rdf.model.Model
    • write

      org.apache.jena.ontapi.model.OntModel write(OutputStream arg0, String arg1, String arg2)
      Specified by:
      write in interface org.apache.jena.rdf.model.Model
    • writeAll

      org.apache.jena.ontapi.model.OntModel writeAll(Writer arg0, String arg1, String arg2)
    • writeAll

      org.apache.jena.ontapi.model.OntModel writeAll(Writer arg0, String arg1)
    • writeAll

      org.apache.jena.ontapi.model.OntModel writeAll(OutputStream arg0, String arg1, String arg2)
    • writeAll

      org.apache.jena.ontapi.model.OntModel writeAll(OutputStream arg0, String arg1)
    • createObjectSomeValuesFrom

      org.apache.jena.ontapi.model.OntClass.ObjectSomeValuesFrom createObjectSomeValuesFrom(org.apache.jena.ontapi.model.OntObjectProperty arg0, org.apache.jena.ontapi.model.OntClass arg1)
    • createDataSomeValuesFrom

      org.apache.jena.ontapi.model.OntClass.DataSomeValuesFrom createDataSomeValuesFrom(org.apache.jena.ontapi.model.OntDataProperty arg0, org.apache.jena.ontapi.model.OntDataRange arg1)
    • createObjectAllValuesFrom

      org.apache.jena.ontapi.model.OntClass.ObjectAllValuesFrom createObjectAllValuesFrom(org.apache.jena.ontapi.model.OntObjectProperty arg0, org.apache.jena.ontapi.model.OntClass arg1)
    • createDataAllValuesFrom

      org.apache.jena.ontapi.model.OntClass.DataAllValuesFrom createDataAllValuesFrom(org.apache.jena.ontapi.model.OntDataProperty arg0, org.apache.jena.ontapi.model.OntDataRange arg1)
    • createObjectHasValue

      org.apache.jena.ontapi.model.OntClass.ObjectHasValue createObjectHasValue(org.apache.jena.ontapi.model.OntObjectProperty arg0, org.apache.jena.ontapi.model.OntIndividual arg1)
    • createDataHasValue

      org.apache.jena.ontapi.model.OntClass.DataHasValue createDataHasValue(org.apache.jena.ontapi.model.OntDataProperty arg0, org.apache.jena.rdf.model.Literal arg1)
    • createObjectMinCardinality

      org.apache.jena.ontapi.model.OntClass.ObjectMinCardinality createObjectMinCardinality(org.apache.jena.ontapi.model.OntObjectProperty arg0, int arg1, org.apache.jena.ontapi.model.OntClass arg2)
    • createDataMinCardinality

      org.apache.jena.ontapi.model.OntClass.DataMinCardinality createDataMinCardinality(org.apache.jena.ontapi.model.OntDataProperty arg0, int arg1, org.apache.jena.ontapi.model.OntDataRange arg2)
    • createObjectMaxCardinality

      org.apache.jena.ontapi.model.OntClass.ObjectMaxCardinality createObjectMaxCardinality(org.apache.jena.ontapi.model.OntObjectProperty arg0, int arg1, org.apache.jena.ontapi.model.OntClass arg2)
    • createDataMaxCardinality

      org.apache.jena.ontapi.model.OntClass.DataMaxCardinality createDataMaxCardinality(org.apache.jena.ontapi.model.OntDataProperty arg0, int arg1, org.apache.jena.ontapi.model.OntDataRange arg2)
    • createObjectCardinality

      org.apache.jena.ontapi.model.OntClass.ObjectCardinality createObjectCardinality(org.apache.jena.ontapi.model.OntObjectProperty arg0, int arg1, org.apache.jena.ontapi.model.OntClass arg2)
    • createDataCardinality

      org.apache.jena.ontapi.model.OntClass.DataCardinality createDataCardinality(org.apache.jena.ontapi.model.OntDataProperty arg0, int arg1, org.apache.jena.ontapi.model.OntDataRange arg2)
    • createHasSelf

      org.apache.jena.ontapi.model.OntClass.HasSelf createHasSelf(org.apache.jena.ontapi.model.OntObjectProperty arg0)
    • createObjectUnionOf

      org.apache.jena.ontapi.model.OntClass.UnionOf createObjectUnionOf(Collection<org.apache.jena.ontapi.model.OntClass> arg0)
    • createObjectIntersectionOf

      org.apache.jena.ontapi.model.OntClass.IntersectionOf createObjectIntersectionOf(Collection<org.apache.jena.ontapi.model.OntClass> arg0)
    • createObjectOneOf

      org.apache.jena.ontapi.model.OntClass.OneOf createObjectOneOf(Collection<org.apache.jena.ontapi.model.OntIndividual> arg0)
    • createObjectComplementOf

      org.apache.jena.ontapi.model.OntClass.ComplementOf createObjectComplementOf(org.apache.jena.ontapi.model.OntClass arg0)
    • createDataAllValuesFrom

      org.apache.jena.ontapi.model.OntClass.NaryDataAllValuesFrom createDataAllValuesFrom(Collection<org.apache.jena.ontapi.model.OntDataProperty> arg0, org.apache.jena.ontapi.model.OntDataRange arg1)
    • createDataSomeValuesFrom

      org.apache.jena.ontapi.model.OntClass.NaryDataSomeValuesFrom createDataSomeValuesFrom(Collection<org.apache.jena.ontapi.model.OntDataProperty> arg0, org.apache.jena.ontapi.model.OntDataRange arg1)
    • createObjectIntersectionOf

      default org.apache.jena.ontapi.model.OntClass.IntersectionOf createObjectIntersectionOf(org.apache.jena.ontapi.model.OntClass... arg0)
    • createObjectUnionOf

      default org.apache.jena.ontapi.model.OntClass.UnionOf createObjectUnionOf(org.apache.jena.ontapi.model.OntClass... arg0)
    • createObjectOneOf

      default org.apache.jena.ontapi.model.OntClass.OneOf createObjectOneOf(org.apache.jena.ontapi.model.OntIndividual... arg0)
    • createDataOneOf

      org.apache.jena.ontapi.model.OntDataRange.OneOf createDataOneOf(Collection<org.apache.jena.rdf.model.Literal> arg0)
    • createDataRestriction

      org.apache.jena.ontapi.model.OntDataRange.Restriction createDataRestriction(org.apache.jena.ontapi.model.OntDataRange.Named arg0, Collection<org.apache.jena.ontapi.model.OntFacetRestriction> arg1)
    • createDataComplementOf

      org.apache.jena.ontapi.model.OntDataRange.ComplementOf createDataComplementOf(org.apache.jena.ontapi.model.OntDataRange arg0)
    • createDataUnionOf

      org.apache.jena.ontapi.model.OntDataRange.UnionOf createDataUnionOf(Collection<org.apache.jena.ontapi.model.OntDataRange> arg0)
    • createDataIntersectionOf

      org.apache.jena.ontapi.model.OntDataRange.IntersectionOf createDataIntersectionOf(Collection<org.apache.jena.ontapi.model.OntDataRange> arg0)
    • createDataOneOf

      default org.apache.jena.ontapi.model.OntDataRange.OneOf createDataOneOf(org.apache.jena.rdf.model.Literal... arg0)
    • createDataRestriction

      default org.apache.jena.ontapi.model.OntDataRange.Restriction createDataRestriction(org.apache.jena.ontapi.model.OntDataRange.Named arg0, org.apache.jena.ontapi.model.OntFacetRestriction... arg1)
    • createDataUnionOf

      default org.apache.jena.ontapi.model.OntDataRange.UnionOf createDataUnionOf(org.apache.jena.ontapi.model.OntDataRange... arg0)
    • createDataIntersectionOf

      default org.apache.jena.ontapi.model.OntDataRange.IntersectionOf createDataIntersectionOf(org.apache.jena.ontapi.model.OntDataRange... arg0)
    • createDisjointClasses

      org.apache.jena.ontapi.model.OntDisjoint.Classes createDisjointClasses(Collection<org.apache.jena.ontapi.model.OntClass> arg0)
    • createDifferentIndividuals

      org.apache.jena.ontapi.model.OntDisjoint.Individuals createDifferentIndividuals(Collection<org.apache.jena.ontapi.model.OntIndividual> arg0)
    • createDisjointObjectProperties

      org.apache.jena.ontapi.model.OntDisjoint.ObjectProperties createDisjointObjectProperties(Collection<org.apache.jena.ontapi.model.OntObjectProperty> arg0)
    • createDisjointDataProperties

      org.apache.jena.ontapi.model.OntDisjoint.DataProperties createDisjointDataProperties(Collection<org.apache.jena.ontapi.model.OntDataProperty> arg0)
    • createDisjointClasses

      default org.apache.jena.ontapi.model.OntDisjoint.Classes createDisjointClasses(org.apache.jena.ontapi.model.OntClass... arg0)
    • createDifferentIndividuals

      default org.apache.jena.ontapi.model.OntDisjoint.Individuals createDifferentIndividuals(org.apache.jena.ontapi.model.OntIndividual... arg0)
    • createDisjointObjectProperties

      default org.apache.jena.ontapi.model.OntDisjoint.ObjectProperties createDisjointObjectProperties(org.apache.jena.ontapi.model.OntObjectProperty... arg0)
    • createDisjointDataProperties

      default org.apache.jena.ontapi.model.OntDisjoint.DataProperties createDisjointDataProperties(org.apache.jena.ontapi.model.OntDataProperty... arg0)
    • createSWRLVariable

      org.apache.jena.ontapi.model.OntSWRL.Variable createSWRLVariable(String arg0)
    • createBuiltInSWRLAtom

      org.apache.jena.ontapi.model.OntSWRL.Atom.WithBuiltin createBuiltInSWRLAtom(org.apache.jena.rdf.model.Resource arg0, Collection<org.apache.jena.ontapi.model.OntSWRL.DArg> arg1)
    • createClassSWRLAtom

      org.apache.jena.ontapi.model.OntSWRL.Atom.WithClass createClassSWRLAtom(org.apache.jena.ontapi.model.OntClass arg0, org.apache.jena.ontapi.model.OntSWRL.IArg arg1)
    • createDataRangeSWRLAtom

      org.apache.jena.ontapi.model.OntSWRL.Atom.WithDataRange createDataRangeSWRLAtom(org.apache.jena.ontapi.model.OntDataRange arg0, org.apache.jena.ontapi.model.OntSWRL.DArg arg1)
    • createDataPropertySWRLAtom

      org.apache.jena.ontapi.model.OntSWRL.Atom.WithDataProperty createDataPropertySWRLAtom(org.apache.jena.ontapi.model.OntDataProperty arg0, org.apache.jena.ontapi.model.OntSWRL.IArg arg1, org.apache.jena.ontapi.model.OntSWRL.DArg arg2)
    • createObjectPropertySWRLAtom

      org.apache.jena.ontapi.model.OntSWRL.Atom.WithObjectProperty createObjectPropertySWRLAtom(org.apache.jena.ontapi.model.OntObjectProperty arg0, org.apache.jena.ontapi.model.OntSWRL.IArg arg1, org.apache.jena.ontapi.model.OntSWRL.IArg arg2)
    • createDifferentIndividualsSWRLAtom

      org.apache.jena.ontapi.model.OntSWRL.Atom.WithDifferentIndividuals createDifferentIndividualsSWRLAtom(org.apache.jena.ontapi.model.OntSWRL.IArg arg0, org.apache.jena.ontapi.model.OntSWRL.IArg arg1)
    • createSameIndividualsSWRLAtom

      org.apache.jena.ontapi.model.OntSWRL.Atom.WithSameIndividuals createSameIndividualsSWRLAtom(org.apache.jena.ontapi.model.OntSWRL.IArg arg0, org.apache.jena.ontapi.model.OntSWRL.IArg arg1)
    • createSWRLImp

      org.apache.jena.ontapi.model.OntSWRL.Imp createSWRLImp(Collection<org.apache.jena.ontapi.model.OntSWRL.Atom<?>> arg0, Collection<org.apache.jena.ontapi.model.OntSWRL.Atom<?>> arg1)
    • listOWLAxioms

      <A extends org.semanticweb.owlapi.model.OWLAxiom> Stream<A> listOWLAxioms(Class<A> type)
      Lists axioms of the given class-type.
      Type Parameters:
      A - subtype of OWLAxiom
      Parameters:
      type - Class
      Returns:
      a Stream of OWLAxioms
      See Also:
      • AxiomType
    • listOWLDeclarationAxioms

      default Stream<org.semanticweb.owlapi.model.OWLDeclarationAxiom> listOWLDeclarationAxioms(org.semanticweb.owlapi.model.OWLEntity entity)
      Lists Declaration Axioms for the specified entity. Note: method may return non-cached axioms.
      Parameters:
      entity - OWLEntity, not null
      Returns:
      a Stream of OWLDeclarationAxioms
    • listOWLAnnotationAssertionAxioms

      default Stream<org.semanticweb.owlapi.model.OWLAnnotationAssertionAxiom> listOWLAnnotationAssertionAxioms(org.semanticweb.owlapi.model.OWLAnnotationSubject subject)
      Lists Annotation Assertion Axioms with the given subject. Note: method returns non-cached axioms.
      Parameters:
      subject - OWLAnnotationSubject, not null
      Returns:
      a Stream of OWLAnnotationAssertionAxioms
    • listOWLSubClassOfAxiomsBySubject

      default Stream<org.semanticweb.owlapi.model.OWLSubClassOfAxiom> listOWLSubClassOfAxiomsBySubject(org.semanticweb.owlapi.model.OWLClass subject)
      Lists SubClassOf Axioms by the given sub class.
      Parameters:
      subject - OWLClass, not null
      Returns:
      a Stream of OWLSubClassOfAxioms
    • listOWLSubClassOfAxiomsByObject

      default Stream<org.semanticweb.owlapi.model.OWLSubClassOfAxiom> listOWLSubClassOfAxiomsByObject(org.semanticweb.owlapi.model.OWLClass object)
      Lists SubClassOf Axioms by the given super class.
      Parameters:
      object - OWLClass, not null
      Returns:
      Stream of OWLSubClassOfAxioms
    • listOWLEquivalentClassesAxioms

      default Stream<org.semanticweb.owlapi.model.OWLEquivalentClassesAxiom> listOWLEquivalentClassesAxioms(org.semanticweb.owlapi.model.OWLClass clazz)
      Lists EquivalentClasses Axioms by the given class-component.
      Parameters:
      clazz - OWLClass, not null
      Returns:
      a Stream of OWLEquivalentClassesAxioms
    • listOWLDisjointClassesAxioms

      default Stream<org.semanticweb.owlapi.model.OWLDisjointClassesAxiom> listOWLDisjointClassesAxioms(org.semanticweb.owlapi.model.OWLClass clazz)
      Lists DisjointClasses Axioms by the given class-component.
      Parameters:
      clazz - OWLClass, not null
      Returns:
      a Stream of OWLDisjointClassesAxioms
    • listOWLDisjointUnionAxioms

      default Stream<org.semanticweb.owlapi.model.OWLDisjointUnionAxiom> listOWLDisjointUnionAxioms(org.semanticweb.owlapi.model.OWLClass subject)
    • listOWLHasKeyAxioms

      default Stream<org.semanticweb.owlapi.model.OWLHasKeyAxiom> listOWLHasKeyAxioms(org.semanticweb.owlapi.model.OWLClass subject)
    • listOWLClassAssertionAxioms

      default Stream<org.semanticweb.owlapi.model.OWLClassAssertionAxiom> listOWLClassAssertionAxioms(org.semanticweb.owlapi.model.OWLClassExpression object)
      Lists ClassAssertion Axioms by the given class-object.
      Parameters:
      object - OWLClassExpression, not null
      Returns:
      a Stream of OWLClassAssertionAxioms
    • listOWLDatatypeDefinitionAxioms

      default Stream<org.semanticweb.owlapi.model.OWLDatatypeDefinitionAxiom> listOWLDatatypeDefinitionAxioms(org.semanticweb.owlapi.model.OWLDatatype datatype)
    • listOWLClassAssertionAxioms

      default Stream<org.semanticweb.owlapi.model.OWLClassAssertionAxiom> listOWLClassAssertionAxioms(org.semanticweb.owlapi.model.OWLIndividual subject)
      Lists ClassAssertion Axioms by the given individual-subject.
      Parameters:
      subject - OWLIndividual, not null
      Returns:
      a Stream of OWLClassAssertionAxioms
    • listOWLSameIndividualAxioms

      default Stream<org.semanticweb.owlapi.model.OWLSameIndividualAxiom> listOWLSameIndividualAxioms(org.semanticweb.owlapi.model.OWLIndividual operand)
    • listOWLDifferentIndividualsAxioms

      default Stream<org.semanticweb.owlapi.model.OWLDifferentIndividualsAxiom> listOWLDifferentIndividualsAxioms(org.semanticweb.owlapi.model.OWLIndividual operand)
    • listOWLObjectPropertyAssertionAxioms

      default Stream<org.semanticweb.owlapi.model.OWLObjectPropertyAssertionAxiom> listOWLObjectPropertyAssertionAxioms(org.semanticweb.owlapi.model.OWLIndividual subject)
      Lists ObjectPropertyAssertion Axioms by the given individual-subject.
      Parameters:
      subject - OWLIndividual, not null
      Returns:
      a Stream of OWLObjectPropertyAssertionAxioms
    • listOWLNegativeObjectPropertyAssertionAxioms

      default Stream<org.semanticweb.owlapi.model.OWLNegativeObjectPropertyAssertionAxiom> listOWLNegativeObjectPropertyAssertionAxioms(org.semanticweb.owlapi.model.OWLIndividual subject)
    • listOWLDataPropertyAssertionAxioms

      default Stream<org.semanticweb.owlapi.model.OWLDataPropertyAssertionAxiom> listOWLDataPropertyAssertionAxioms(org.semanticweb.owlapi.model.OWLIndividual subject)
      Lists DataPropertyAssertion Axioms by the given individual-subject.
      Parameters:
      subject - OWLIndividual, not null
      Returns:
      a Stream of OWLDataPropertyAssertionAxioms
    • listOWLNegativeDataPropertyAssertionAxioms

      default Stream<org.semanticweb.owlapi.model.OWLNegativeDataPropertyAssertionAxiom> listOWLNegativeDataPropertyAssertionAxioms(org.semanticweb.owlapi.model.OWLIndividual subject)
    • listOWLEquivalentObjectPropertiesAxioms

      default Stream<org.semanticweb.owlapi.model.OWLEquivalentObjectPropertiesAxiom> listOWLEquivalentObjectPropertiesAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression operand)
    • listOWLDisjointObjectPropertiesAxioms

      default Stream<org.semanticweb.owlapi.model.OWLDisjointObjectPropertiesAxiom> listOWLDisjointObjectPropertiesAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression operand)
    • listOWLSubObjectPropertyOfAxiomsBySubject

      default Stream<org.semanticweb.owlapi.model.OWLSubObjectPropertyOfAxiom> listOWLSubObjectPropertyOfAxiomsBySubject(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
    • listOWLSubObjectPropertyOfAxiomsByObject

      default Stream<org.semanticweb.owlapi.model.OWLSubObjectPropertyOfAxiom> listOWLSubObjectPropertyOfAxiomsByObject(org.semanticweb.owlapi.model.OWLObjectPropertyExpression object)
    • listOWLObjectPropertyDomainAxioms

      default Stream<org.semanticweb.owlapi.model.OWLObjectPropertyDomainAxiom> listOWLObjectPropertyDomainAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
      Lists ObjectPropertyDomain Axioms by the given property-subject.
      Parameters:
      subject - OWLObjectPropertyExpression, not null
      Returns:
      a Stream of OWLObjectPropertyDomainAxioms
    • listOWLObjectPropertyRangeAxioms

      default Stream<org.semanticweb.owlapi.model.OWLObjectPropertyRangeAxiom> listOWLObjectPropertyRangeAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
      Lists ObjectPropertyRange Axioms by the given property-subject.
      Parameters:
      subject - OWLObjectPropertyExpression, not null
      Returns:
      a Stream of OWLObjectPropertyRangeAxioms
    • listOWLInverseObjectPropertiesAxioms

      default Stream<org.semanticweb.owlapi.model.OWLInverseObjectPropertiesAxiom> listOWLInverseObjectPropertiesAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression operand)
    • listOWLFunctionalObjectPropertyAxioms

      default Stream<org.semanticweb.owlapi.model.OWLFunctionalObjectPropertyAxiom> listOWLFunctionalObjectPropertyAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
    • listOWLInverseFunctionalObjectPropertyAxioms

      default Stream<org.semanticweb.owlapi.model.OWLInverseFunctionalObjectPropertyAxiom> listOWLInverseFunctionalObjectPropertyAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
    • listOWLSymmetricObjectPropertyAxioms

      default Stream<org.semanticweb.owlapi.model.OWLSymmetricObjectPropertyAxiom> listOWLSymmetricObjectPropertyAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
    • listOWLAsymmetricObjectPropertyAxioms

      default Stream<org.semanticweb.owlapi.model.OWLAsymmetricObjectPropertyAxiom> listOWLAsymmetricObjectPropertyAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
    • listOWLReflexiveObjectPropertyAxioms

      default Stream<org.semanticweb.owlapi.model.OWLReflexiveObjectPropertyAxiom> listOWLReflexiveObjectPropertyAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
    • listOWLIrreflexiveObjectPropertyAxioms

      default Stream<org.semanticweb.owlapi.model.OWLIrreflexiveObjectPropertyAxiom> listOWLIrreflexiveObjectPropertyAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
    • listOWLTransitiveObjectPropertyAxioms

      default Stream<org.semanticweb.owlapi.model.OWLTransitiveObjectPropertyAxiom> listOWLTransitiveObjectPropertyAxioms(org.semanticweb.owlapi.model.OWLObjectPropertyExpression subject)
    • listOWLEquivalentDataPropertiesAxioms

      default Stream<org.semanticweb.owlapi.model.OWLEquivalentDataPropertiesAxiom> listOWLEquivalentDataPropertiesAxioms(org.semanticweb.owlapi.model.OWLDataProperty operand)
    • listOWLDisjointDataPropertiesAxioms

      default Stream<org.semanticweb.owlapi.model.OWLDisjointDataPropertiesAxiom> listOWLDisjointDataPropertiesAxioms(org.semanticweb.owlapi.model.OWLDataProperty operand)
    • listOWLSubDataPropertyOfAxiomsBySubject

      default Stream<org.semanticweb.owlapi.model.OWLSubDataPropertyOfAxiom> listOWLSubDataPropertyOfAxiomsBySubject(org.semanticweb.owlapi.model.OWLDataProperty subject)
    • listOWLSubDataPropertyOfAxiomsByObject

      default Stream<org.semanticweb.owlapi.model.OWLSubDataPropertyOfAxiom> listOWLSubDataPropertyOfAxiomsByObject(org.semanticweb.owlapi.model.OWLDataProperty object)
    • listOWLDataPropertyDomainAxioms

      default Stream<org.semanticweb.owlapi.model.OWLDataPropertyDomainAxiom> listOWLDataPropertyDomainAxioms(org.semanticweb.owlapi.model.OWLDataProperty subject)
    • listOWLDataPropertyRangeAxioms

      default Stream<org.semanticweb.owlapi.model.OWLDataPropertyRangeAxiom> listOWLDataPropertyRangeAxioms(org.semanticweb.owlapi.model.OWLDataProperty subject)
    • listOWLFunctionalDataPropertyAxioms

      default Stream<org.semanticweb.owlapi.model.OWLFunctionalDataPropertyAxiom> listOWLFunctionalDataPropertyAxioms(org.semanticweb.owlapi.model.OWLDataProperty subject)
    • listOWLSubAnnotationPropertyOfAxiomsBySubject

      default Stream<org.semanticweb.owlapi.model.OWLSubAnnotationPropertyOfAxiom> listOWLSubAnnotationPropertyOfAxiomsBySubject(org.semanticweb.owlapi.model.OWLAnnotationProperty subject)
    • listOWLSubAnnotationPropertyOfAxiomsByObject

      default Stream<org.semanticweb.owlapi.model.OWLSubAnnotationPropertyOfAxiom> listOWLSubAnnotationPropertyOfAxiomsByObject(org.semanticweb.owlapi.model.OWLAnnotationProperty object)
    • listOWLAnnotationPropertyDomainAxioms

      default Stream<org.semanticweb.owlapi.model.OWLAnnotationPropertyDomainAxiom> listOWLAnnotationPropertyDomainAxioms(org.semanticweb.owlapi.model.OWLAnnotationProperty subject)
    • listOWLAnnotationPropertyRangeAxioms

      default Stream<org.semanticweb.owlapi.model.OWLAnnotationPropertyRangeAxiom> listOWLAnnotationPropertyRangeAxioms(org.semanticweb.owlapi.model.OWLAnnotationProperty subject)
    • listOWLNaryAxiomAxiomsByOperand

      default <A extends org.semanticweb.owlapi.model.OWLNaryAxiom<? super K>, K extends org.semanticweb.owlapi.model.OWLObject> Stream<A> listOWLNaryAxiomAxiomsByOperand(Class<A> type, K operand)
    • listOWLPropertyAxioms

      default <A extends org.semanticweb.owlapi.model.OWLAxiom & org.semanticweb.owlapi.model.HasProperty<P>, P extends org.semanticweb.owlapi.model.OWLPropertyExpression> Stream<A> listOWLPropertyAxioms(Class<A> type, P property)
    • listOWLSubPropertyOfAxiomsBySubject

      default <A extends org.semanticweb.owlapi.model.OWLSubPropertyAxiom<P>, P extends org.semanticweb.owlapi.model.OWLPropertyExpression> Stream<A> listOWLSubPropertyOfAxiomsBySubject(Class<A> type, P subject)
    • listOWLSubPropertyOfAxiomsByObject

      default <A extends org.semanticweb.owlapi.model.OWLSubPropertyAxiom<P>, P extends org.semanticweb.owlapi.model.OWLPropertyExpression> Stream<A> listOWLSubPropertyOfAxiomsByObject(Class<A> type, P object)