Uses of Interface
org.apache.jena.ontology.OntModel
Packages that use OntModel
Package
Description
Provides a set of abstractions and convenience classes for accessing and manipluating ontologies
represented in RDF.
Provides default implementations for the abstractions defined in the
org.apache.jena.ontology package.A package for creating and manipulating RDF graphs.
-
Uses of OntModel in org.apache.jena.ontology
Methods in org.apache.jena.ontology that return OntModelModifier and TypeMethodDescriptionOntModel.getImportedModel(String uri) Deprecated, for removal: This API element is subject to removal in a future version.Answer anOntModelrepresenting the imported ontology with the given URI.OntResource.getOntModel()Answer the model that this resource is attached to, assuming that it is anOntModel.OntDocumentManager.getOntology(String uri, OntModelSpec spec) Answer the ontology model that results from loading the document with the given URI.Methods in org.apache.jena.ontology that return types with arguments of type OntModelModifier and TypeMethodDescriptionOntModel.listSubModels()Deprecated, for removal: This API element is subject to removal in a future version.Answer an iterator over the ontology models that are sub-models of this model.OntModel.listSubModels(boolean withImports) Deprecated, for removal: This API element is subject to removal in a future version.Answer an iterator over the ontology models that are sub-models of this model.Methods in org.apache.jena.ontology with parameters of type OntModelModifier and TypeMethodDescriptionstatic OntClassAnswer the lowest common ancestor of two classes in a given ontology.static OntClassAnswer the lowest common ancestor of two classes, assuming that the given class is the root concept to start searching from.voidOntDocumentManager.loadImport(OntModel model, String uri) Add the given model from the given URI as an import to the given model.voidOntDocumentManager.loadImports(OntModel model) Inspect the statements in the graph expressed by the given model, and load into the model any imported documents.OntTools.namedHierarchyRoots(OntModel m) Answer a list of the named hierarchy roots of a givenOntModel.voidOntDocumentManager.unloadImport(OntModel model, String uri) Remove from the given model the import denoted by the given URI. -
Uses of OntModel in org.apache.jena.ontology.impl
Classes in org.apache.jena.ontology.impl that implement OntModelModifier and TypeClassDescriptionclassImplementation of a model that can process general ontologies in OWL and similar languages.Methods in org.apache.jena.ontology.impl that return OntModelModifier and TypeMethodDescriptionOntModelImpl.getImportedModel(String uri) Answer anOntModelrepresenting the imported ontology with the given URI.OntResourceImpl.getOntModel()Answer the model that this resource is attached to, assuming that it is anOntModel.Methods in org.apache.jena.ontology.impl that return types with arguments of type OntModelModifier and TypeMethodDescriptionOntModelImpl.listSubModels()Answer an iterator over the ontology models that are sub-models of this model.OntModelImpl.listSubModels(boolean withImports) Answer an iterator over the ontology models that are sub-models of this model. -
Uses of OntModel in org.apache.jena.rdf.model
Methods in org.apache.jena.rdf.model that return OntModelModifier and TypeMethodDescriptionstatic OntModelModelFactory.createOntologyModel()Deprecated, for removal: This API element is subject to removal in a future version.Use org.apache.jena.ontapi.static OntModelModelFactory.createOntologyModel(String languageURI) Deprecated, for removal: This API element is subject to removal in a future version.Use org.apache.jena.ontapi.static OntModelModelFactory.createOntologyModel(OntModelSpec spec) Deprecated, for removal: This API element is subject to removal in a future version.Use org.apache.jena.ontapi.static OntModelModelFactory.createOntologyModel(OntModelSpec spec, ModelMaker maker, Model base) Deprecated, for removal: This API element is subject to removal in a future version.Use org.apache.jena.ontapi.static OntModelModelFactory.createOntologyModel(OntModelSpec spec, Model base) Deprecated, for removal: This API element is subject to removal in a future version.Use org.apache.jena.ontapi.