Interface OWLDataFactory

All Superinterfaces:
AnnotationAssertionProvider, AnnotationPropertyProvider, AnnotationProvider, AnonymousIndividualByIdProvider, AnonymousIndividualProvider, CardinalityRestrictionProvider, ClassAssertionProvider, ClassProvider, ComplementProvider, DataAssertionProvider, DataPropertyProvider, DatatypeExpressionProvider, DatatypeProvider, DeclarationAxiomProvider, DisjointAxiomProvider, DisjointUnionAxiomProvider, DomainAxiomProvider, EntityByTypeProvider, EntityProvider, EquivalentAxiomProvider, ExistentialProvider, HasKeyAxiomProvider, HasSelfProvider, HasValueProvider, IndividualAssertionProvider, IntersectionProvider, InverseAxiomProvider, InverseProvider, LiteralProvider, NamedIndividualProvider, NominalProvider, ObjectAssertionProvider, ObjectPropertyProvider, OWLVocabularyProvider, PropertyChainAxiomProvider, PropertyCharacteristicAxiomProvider, RangeAxiomProvider, Serializable, SubAxiomProvider, SWRLProvider, UnionProvider, UniversalProvider
All Known Implementing Classes:
OWLDataFactoryImpl

An interface for creating entities, class expressions and axioms.
Since:
2.0.0
Author:
Matthew Horridge, The University Of Manchester, Bio-Health Informatics Group
  • Method Details

    • getOWLImportsDeclaration

      OWLImportsDeclaration getOWLImportsDeclaration(IRI importedOntologyIRI)
      Parameters:
      importedOntologyIRI - imported ontology
      Returns:
      an imports declaration
    • purge

      void purge()
      Empty all caches
    • getRDFSLabel

      default OWLAnnotation getRDFSLabel(String value)
      Shorthand for getOWLAnnotation(getRDFSLabel(), getOWLLiteral(value))
      Parameters:
      value - The annotation value.
      Returns:
      an rdfs:label annotation with provided value
    • getRDFSLabel

      default OWLAnnotation getRDFSLabel(String value, Stream<OWLAnnotation> annotations)
      Shorthand for getOWLAnnotation(getRDFSLabel(), getOWLLiteral(value), annotations)
      Parameters:
      value - The annotation value.
      annotations - annotations
      Returns:
      an rdfs:label annotation with provided value
    • getRDFSLabel

      default OWLAnnotation getRDFSLabel(OWLAnnotationValue value)
      Shorthand for getOWLAnnotation(getRDFSLabel(), getOWLLiteral(value))
      Parameters:
      value - The annotation value.
      Returns:
      an rdfs:label annotation with provided value
    • getRDFSLabel

      default OWLAnnotation getRDFSLabel(OWLAnnotationValue value, Stream<OWLAnnotation> annotations)
      Shorthand for getOWLAnnotation(getRDFSLabel(), getOWLLiteral(value), annotations)
      Parameters:
      value - The annotation value.
      annotations - annotations
      Returns:
      an rdfs:label annotation with provided value
    • getRDFSComment

      default OWLAnnotation getRDFSComment(String value)
      Shorthand for getOWLAnnotation(getRDFSComment(), getOWLLiteral(value))
      Parameters:
      value - The annotation value.
      Returns:
      an rdfs:comment annotation with provided value
    • getRDFSComment

      default OWLAnnotation getRDFSComment(String value, Stream<OWLAnnotation> annotations)
      Shorthand for getOWLAnnotation(getRDFSComment(), getOWLLiteral(value), annotations)
      Parameters:
      value - The annotation value.
      annotations - annotations
      Returns:
      an rdfs:comment annotation with provided value
    • getRDFSComment

      default OWLAnnotation getRDFSComment(OWLAnnotationValue value)
      Shorthand for getOWLAnnotation(getRDFSComment(), getOWLLiteral(value))
      Parameters:
      value - The annotation value.
      Returns:
      an rdfs:comment annotation with provided value
    • getRDFSComment

      default OWLAnnotation getRDFSComment(OWLAnnotationValue value, Stream<OWLAnnotation> annotations)
      Shorthand for getOWLAnnotation(getRDFSComment(), getOWLLiteral(value), annotations)
      Parameters:
      value - The annotation value.
      annotations - annotations
      Returns:
      an rdfs:comment annotation with provided value