|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use OntModel | |
---|---|
com.hp.hpl.jena.ontology | Provides a set of abstractions and convenience classes for accessing and manipluating ontologies represented in RDF. |
com.hp.hpl.jena.rdf.model | A package for creating and manipulating RDF graphs. |
Uses of OntModel in com.hp.hpl.jena.ontology |
---|
Methods in com.hp.hpl.jena.ontology that return OntModel | |
---|---|
OntModel |
OntModel.getImportedModel(java.lang.String uri)
Answer an OntModel representing the imported ontology
with the given URI. |
OntModel |
OntResource.getOntModel()
Answer the model that this resource is attached to, assuming that it is an OntModel . |
OntModel |
OntDocumentManager.getOntology(java.lang.String uri,
OntModelSpec spec)
Answer the ontology model that results from loading the document with the given URI. |
Methods in com.hp.hpl.jena.ontology that return types with arguments of type OntModel | |
---|---|
com.hp.hpl.jena.util.iterator.ExtendedIterator<OntModel> |
OntModel.listImportedModels()
Deprecated. This method has been re-named to listSubModels ,
but note that to obtain the same behaviour as listImportedModels
from Jena 2.4 and earlier, callers should invoke listSubModels(boolean)
with parameter true . |
com.hp.hpl.jena.util.iterator.ExtendedIterator<OntModel> |
OntModel.listSubModels()
Answer an iterator over the ontology models that are sub-models of this model. |
com.hp.hpl.jena.util.iterator.ExtendedIterator<OntModel> |
OntModel.listSubModels(boolean withImports)
Answer an iterator over the ontology models that are sub-models of this model. |
Methods in com.hp.hpl.jena.ontology with parameters of type OntModel | |
---|---|
static OntClass |
OntTools.getLCA(OntModel m,
OntClass u,
OntClass v)
Answer the lowest common ancestor of two classes in a given ontology. |
static OntClass |
OntTools.getLCA(OntModel m,
OntClass root,
OntClass u,
OntClass v)
Answer the lowest common ancestor of two classes, assuming that the given class is the root concept to start searching from. |
void |
OntDocumentManager.loadImport(OntModel model,
java.lang.String uri)
Add the given model from the given URI as an import to the given model. |
void |
OntDocumentManager.loadImports(OntModel model)
Inspect the statements in the graph expressed by the given model, and load into the model any imported documents. |
static java.util.List<OntClass> |
OntTools.namedHierarchyRoots(OntModel m)
Answer a list of the named hierarchy roots of a given OntModel . |
void |
OntDocumentManager.unloadImport(OntModel model,
java.lang.String uri)
Remove from the given model the import denoted by the given URI. |
Uses of OntModel in com.hp.hpl.jena.rdf.model |
---|
Methods in com.hp.hpl.jena.rdf.model that return OntModel | |
---|---|
static OntModel |
ModelFactory.createOntologyModel()
Answer a new ontology model which will process in-memory models of ontologies expressed the default ontology language (OWL). |
static OntModel |
ModelFactory.createOntologyModel(OntModelSpec spec)
Answer a new ontology model constructed according to the specification, which includes a ModelMaker which will create the necessary base model. |
static OntModel |
ModelFactory.createOntologyModel(OntModelSpec spec,
Model base)
Answer a new ontology model, constructed according to the given ontology model specification, and starting with the ontology data in the given model. |
static OntModel |
ModelFactory.createOntologyModel(OntModelSpec spec,
ModelMaker maker,
Model base)
Answer a new ontology model which will process in-memory models of ontologies expressed the default ontology language (OWL). |
static OntModel |
ModelFactory.createOntologyModel(java.lang.String languageURI)
Answer a new ontology model which will process in-memory models of ontologies in the given language. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |