Interface OntPersonality.Builtins

All Superinterfaces:
ResourceVocabulary<OntObject>
Enclosing interface:
OntPersonality

public static interface OntPersonality.Builtins extends ResourceVocabulary<OntObject>
A vocabulary of built-in ONT Entities. A model, that holds this configuration, can contain entities without explicit declarations, if their IRIs are determined by this vocabulary.

For example, the OWL standard vocabulary determines owl:Thing as a built-in OWL class. To describe this case the expression voc.get(OntClass.class), where voc is an instance of this class, should return a Set containing owl:Thing in the form of Node.

Each node obtained from this class must be IRI (i.e. node.isURI() = true).

See Also:
  • Method Details

    • supportedTypes

      default Set<Class<? extends OntObject>> supportedTypes()
    • getNamedClasses

      default Set<org.apache.jena.graph.Node> getNamedClasses()
    • getDatatypes

      default Set<org.apache.jena.graph.Node> getDatatypes()
    • getObjectProperties

      default Set<org.apache.jena.graph.Node> getObjectProperties()
    • getDatatypeProperties

      default Set<org.apache.jena.graph.Node> getDatatypeProperties()
    • getAnnotationProperties

      default Set<org.apache.jena.graph.Node> getAnnotationProperties()
    • getNamedIndividuals

      default Set<org.apache.jena.graph.Node> getNamedIndividuals()
    • getOntProperties

      default Set<org.apache.jena.graph.Node> getOntProperties()
      Returns a Set of all OWL builtin properties (annotation, datatype and object named property expressions)
      Returns:
      Set of IRI-nodes