Class OntSpecification

java.lang.Object
org.apache.jena.ontapi.OntSpecification

public class OntSpecification extends Object
Encapsulates a description of the components of an ontology model. Contains OWL2, OWL1 and RDFS specifications:
  • OWL2 (DL & FULL): full support last version of OWL
  • OWL2 (EL): OWL2 Existential Logic subset
  • OWL2 (QL): OWL2 Query Language subset
  • OWL2 (RL): OWL2 Rule Language subset
  • OWL1 (DL & FULL): does not support some language construct from OWL2, such as OntDataRange.UnionOf; supposed to be compatible with legacy Jena's OntModel
  • OWL1 LITE: does not support some language construct from OWL2 and OWL1, such as OntClass.UnionOf; supposed to be compatible with old Jena's OntModel
  • RDFS: supports only RDFS language: rdf:Property, rdf:Class, rdfs:subClassOf, etc
See Also:
  • Field Details

    • OWL2_DL_MEM_BUILTIN_RDFS_INF

      public static final OntSpecification OWL2_DL_MEM_BUILTIN_RDFS_INF
      A specification for OWL2 ontology models that are stored in memory and use fast but incomplete builtin OWL inference engine for additional entailments that handles hierarchy. It supports rdfs:subClassOf, rdfs:subPropertyOf and class-individuals hierarchy, otherwise it behaves like a regular OWL2_DL_MEM.
      See Also:
      • OntModelSpec.OWL_DL_MEM_RDFS_INF
    • OWL2_DL_MEM

      public static final OntSpecification OWL2_DL_MEM
      A specification for OWL2 DL ontology models that are stored in memory and do no additional entailment reasoning.
      See Also:
      • OntModelSpec.OWL_DL_MEM
    • OWL2_DL_MEM_RDFS_INF

      public static final OntSpecification OWL2_DL_MEM_RDFS_INF
      A specification for OWL2 DL ontology models that are stored in memory and use the RDFS inferencer for additional entailments.
      See Also:
      • OntModelSpec.OWL_DL_MEM_RDFS_INF
    • OWL2_DL_MEM_TRANS_INF

      public static final OntSpecification OWL2_DL_MEM_TRANS_INF
      A specification for OWL2 DL ontology models that are stored in memory and use the transitive inferencer for additional entailments.
      See Also:
      • OntModelSpec.OWL_DL_MEM_TRANS_INF
    • OWL2_DL_MEM_RULES_INF

      public static final OntSpecification OWL2_DL_MEM_RULES_INF
      A specification for OWL2 DL ontology models that are stored in memory and use the OWL rules inference engine for additional entailments.
      See Also:
      • OntModelSpec.OWL_DL_MEM_RULE_INF
    • OWL2_FULL_MEM

      public static final OntSpecification OWL2_FULL_MEM
      A specification for Ontology models that are stored in memory and do no additional entailment reasoning. Full support for the OWL v2 specification.
      See Also:
      • OntModelSpec.OWL_MEM
    • OWL2_FULL_MEM_RDFS_INF

      public static final OntSpecification OWL2_FULL_MEM_RDFS_INF
      A specification for OWL2 models that are stored in memory and use the RDFS inferencer for additional entailments.
      See Also:
      • OntModelSpec.OWL_MEM_RDFS_INF
    • OWL2_FULL_MEM_TRANS_INF

      public static final OntSpecification OWL2_FULL_MEM_TRANS_INF
      A specification for OWL2 models that are stored in memory and use the transitive inferencer for additional entailments.
      See Also:
      • OntModelSpec.OWL_MEM_TRANS_INF
    • OWL2_FULL_MEM_RULES_INF

      public static final OntSpecification OWL2_FULL_MEM_RULES_INF
      A specification for OWL2 ontology models that are stored in memory and use the OWL rules inference engine for additional entailments.
      See Also:
      • OntModelSpec.OWL_MEM_RULE_INF
    • OWL2_FULL_MEM_MICRO_RULES_INF

      public static final OntSpecification OWL2_FULL_MEM_MICRO_RULES_INF
      A specification for OWL2 ontology models that are stored in memory and use the micro OWL rules inference engine for additional entailments.
      See Also:
      • OntModelSpec.OWL_MEM_MICRO_RULE_INF
    • OWL2_FULL_MEM_MINI_RULES_INF

      public static final OntSpecification OWL2_FULL_MEM_MINI_RULES_INF
      A specification for OWL2 ontology models that are stored in memory and use the mini OWL rules inference engine for additional entailments.
      See Also:
      • OntModelSpec.OWL_MEM_MINI_RULE_INF
    • OWL2_EL_MEM

      public static final OntSpecification OWL2_EL_MEM
      A specification for OWL2 EL Ontology models that are stored in memory and do no additional entailment reasoning.
      See Also:
      • OntModelSpec.OWL_MEM
    • OWL2_EL_MEM_RDFS_INF

      public static final OntSpecification OWL2_EL_MEM_RDFS_INF
      A specification for OWL2 EL models that are stored in memory and use the RDFS inferencer for additional entailments.
      See Also:
      • OntModelSpec.OWL_MEM_RDFS_INF
    • OWL2_EL_MEM_TRANS_INF

      public static final OntSpecification OWL2_EL_MEM_TRANS_INF
      A specification for OWL2 EL models that are stored in memory and use the transitive inferencer for additional entailments.
      See Also:
      • OntModelSpec.OWL_MEM_TRANS_INF
    • OWL2_EL_MEM_RULES_INF

      public static final OntSpecification OWL2_EL_MEM_RULES_INF
      A specification for OWL2 EL ontology models that are stored in memory and use the OWL rules inference engine for additional entailments.
      See Also:
      • OntModelSpec.OWL_MEM_RULE_INF
    • OWL2_QL_MEM

      public static final OntSpecification OWL2_QL_MEM
      A specification for OWL2 QL Ontology models that are stored in memory and do no additional entailment reasoning.
      See Also:
      • OntModelSpec.OWL_MEM
    • OWL2_QL_MEM_RDFS_INF

      public static final OntSpecification OWL2_QL_MEM_RDFS_INF
      A specification for OWL2 QL models that are stored in memory and use the RDFS inferencer for additional entailments.
      See Also:
      • OntModelSpec.OWL_MEM_RDFS_INF
    • OWL2_QL_MEM_TRANS_INF

      public static final OntSpecification OWL2_QL_MEM_TRANS_INF
      A specification for OWL2 QL models that are stored in memory and use the transitive inferencer for additional entailments.
      See Also:
      • OntModelSpec.OWL_MEM_TRANS_INF
    • OWL2_QL_MEM_RULES_INF

      public static final OntSpecification OWL2_QL_MEM_RULES_INF
      A specification for OWL2 QL ontology models that are stored in memory and use the OWL rules inference engine for additional entailments.
      See Also:
      • OntModelSpec.OWL_MEM_RULE_INF
    • OWL2_RL_MEM

      public static final OntSpecification OWL2_RL_MEM
      A specification for OWL2 RL Ontology models that are stored in memory and do no additional entailment reasoning.
      See Also:
      • OntModelSpec.OWL_MEM
    • OWL2_RL_MEM_RDFS_INF

      public static final OntSpecification OWL2_RL_MEM_RDFS_INF
      A specification for OWL2 RL models that are stored in memory and use the RDFS inferencer for additional entailments.
      See Also:
      • OntModelSpec.OWL_MEM_RDFS_INF
    • OWL2_RL_MEM_TRANS_INF

      public static final OntSpecification OWL2_RL_MEM_TRANS_INF
      A specification for OWL2 RL models that are stored in memory and use the transitive inferencer for additional entailments.
      See Also:
      • OntModelSpec.OWL_MEM_TRANS_INF
    • OWL2_RL_MEM_RULES_INF

      public static final OntSpecification OWL2_RL_MEM_RULES_INF
      A specification for OWL2 RL ontology models that are stored in memory and use the OWL rules inference engine for additional entailments.
      See Also:
      • OntModelSpec.OWL_MEM_RULE_INF
    • OWL1_DL_MEM

      public static final OntSpecification OWL1_DL_MEM
      A specification for OWL1 DL ontology models that are stored in memory and do no additional entailment reasoning. Supposed to be a replacement for the original legacy Jena interpretation of OWL DL v1.1 specification.
      See Also:
      • OntModelSpec.OWL_DL_MEM
    • OWL1_DL_MEM_RDFS_INF

      public static final OntSpecification OWL1_DL_MEM_RDFS_INF
      A specification for OWL1 DL ontology models that are stored in memory and use the RDFS inferencer for additional entailments. Supposed to be a replacement for the original legacy Jena interpretation of OWL v1.1 specification.
      See Also:
      • OntModelSpec.OWL_DL_MEM_RDFS_INF
    • OWL1_DL_MEM_TRANS_INF

      public static final OntSpecification OWL1_DL_MEM_TRANS_INF
      A specification for OWL1 DL ontology models that are stored in memory and use the transitive inferencer for additional entailments. Supposed to be a replacement for the original legacy Jena interpretation of OWL v1.1 specification.
      See Also:
      • OntModelSpec.OWL_DL_MEM_TRANS_INF
    • OWL1_DL_MEM_RULES_INF

      public static final OntSpecification OWL1_DL_MEM_RULES_INF
      A specification for OWL1 DL ontology models that are stored in memory and use the OWL rules inference engine for additional entailments. Supposed to be a replacement for the original legacy Jena interpretation of OWL v1.1 specification.
      See Also:
      • OntModelSpec.OWL_DL_MEM_RULE_INF
    • OWL1_FULL_MEM

      public static final OntSpecification OWL1_FULL_MEM
      A specification for OWL1 ontology models that are stored in memory and do no additional entailment reasoning. Supposed to be a replacement for the original legacy Jena interpretation of OWL v1.1 specification.
      See Also:
      • OntModelSpec.OWL_MEM
    • OWL1_FULL_MEM_RDFS_INF

      public static final OntSpecification OWL1_FULL_MEM_RDFS_INF
      A specification for OWL1 ontology models that are stored in memory and use the RDFS inferencer for additional entailments. Supposed to be a replacement for the original legacy Jena interpretation of OWL v1.1 specification.
      See Also:
      • OntModelSpec.OWL_MEM_RDFS_INF
    • OWL1_FULL_MEM_TRANS_INF

      public static final OntSpecification OWL1_FULL_MEM_TRANS_INF
      A specification for OWL1 ontology models that are stored in memory and use the transitive inferencer for additional entailments. Supposed to be a replacement for the original legacy Jena interpretation of OWL v1.1 specification.
      See Also:
      • OntModelSpec.OWL_MEM_TRANS_INF
    • OWL1_FULL_MEM_RULES_INF

      public static final OntSpecification OWL1_FULL_MEM_RULES_INF
      A specification for OWL1 ontology models that are stored in memory and use the OWL rules inference engine for additional entailments. Supposed to be a replacement for the original legacy Jena interpretation of OWL v1.1 specification.
      See Also:
      • OntModelSpec.OWL_MEM_RULE_INF
    • OWL1_FULL_MEM_MICRO_RULES_INF

      public static final OntSpecification OWL1_FULL_MEM_MICRO_RULES_INF
      A specification for OWL1 ontology models that are stored in memory and use the micro OWL rules inference engine for additional entailments. Supposed to be a replacement for the original legacy Jena interpretation of OWL v1.1 specification.
      See Also:
      • OntModelSpec.OWL_MEM_MICRO_RULE_INF
    • OWL1_FULL_MEM_MINI_RULES_INF

      public static final OntSpecification OWL1_FULL_MEM_MINI_RULES_INF
      A specification for OWL1 ontology models that are stored in memory and use the mini OWL rules inference engine for additional entailments. Supposed to be a replacement for the original legacy Jena interpretation of OWL v1.1 specification.
      See Also:
      • OntModelSpec.OWL_MEM_MINI_RULE_INF
    • OWL1_LITE_MEM

      public static final OntSpecification OWL1_LITE_MEM
      A specification for OWL1 Lite ontology models that are stored in memory and do no additional entailment reasoning. Supposed to be a replacement for the original legacy Jena interpretation of OWL v1 Lite specification.
      See Also:
      • OntModelSpec.OWL_LITE_MEM
    • OWL1_LITE_MEM_RDFS_INF

      public static final OntSpecification OWL1_LITE_MEM_RDFS_INF
      A specification for OWL1 Lite ontology models that are stored in memory and use the RDFS inferencer for additional entailments. Supposed to be a replacement for the original legacy Jena interpretation of OWL v1 Lite specification.
      See Also:
      • OntModelSpec.OWL_LITE_MEM_RDFS_INF
    • OWL1_LITE_MEM_TRANS_INF

      public static final OntSpecification OWL1_LITE_MEM_TRANS_INF
      A specification for OWL1 Lite ontology models that are stored in memory and use the transitive inferencer for additional entailments. Supposed to be a replacement for the original legacy Jena interpretation of OWL v1 Lite specification.
      See Also:
      • OntModelSpec.OWL_LITE_MEM_TRANS_INF
    • OWL1_LITE_MEM_RULES_INF

      public static final OntSpecification OWL1_LITE_MEM_RULES_INF
      A specification for OWL1 Lite ontology models that are stored in memory and use the OWL rules inference engine for additional entailments. Supposed to be a replacement for the original legacy Jena interpretation of OWL v1 Lite specification.
      See Also:
      • OntModelSpec.OWL_LITE_MEM_RULES_INF
    • RDFS_MEM

      public static final OntSpecification RDFS_MEM
      A specification for RDFS models that are stored in memory and do no additional entailment reasoning. Supposed to be a replacement for the original legacy Jena interpretation of RDFS specification.
      See Also:
      • OntModelSpec.RDFS_MEM
    • RDFS_MEM_RDFS_INF

      public static final OntSpecification RDFS_MEM_RDFS_INF
      A specification for RDFS ontology models that are stored in memory and use the RDFS inferencer for additional entailments. Supposed to be a replacement for the original legacy Jena interpretation of RDFS specification.
      See Also:
      • OntModelSpec.RDFS_MEM_RDFS_INF
    • RDFS_MEM_TRANS_INF

      public static final OntSpecification RDFS_MEM_TRANS_INF
      A specification for RDFS ontology models that are stored in memory and use the transitive reasoner for entailments. Supposed to be a replacement for the original legacy Jena interpretation of RDFS specification.
      See Also:
      • OntModelSpec.RDFS_MEM_TRANS_INF
  • Constructor Details

    • OntSpecification

      public OntSpecification(OntPersonality personality, org.apache.jena.reasoner.ReasonerFactory reasonerFactory)
  • Method Details

    • getPersonality

      public OntPersonality getPersonality()
    • getReasonerFactory

      public org.apache.jena.reasoner.ReasonerFactory getReasonerFactory()
    • getConfig

      public OntConfig getConfig()