@CreoleResource(name="OWLIM Ontology DEPRECATED",
interfaceName="gate.creole.ontology.Ontology",
comment="Ontology created as a temporary OWLIM3 in-memory repository, for backwards compatibility only",
icon="ontology",
helpURL="http://gate.ac.uk/userguide/sec:ontologies:ontoplugin:owlim2compat",
isPrivate=true)
public class OWLIMOntologyLR
extends OWLIMOntology
OWLIMOntology
but uses the same package and class name as the LR in OntologyOWLIM2.
It is provided to make adaption of existing pipelines and applications
to the new ontology implementation easier but is deprecated and will be
removed when the OntologyOWLIM2 plugin is removed.
NOTE: never use this LR for new applications and change to the proper LR as soon as possible for existing applications!
| Modifier and Type | Field and Description |
|---|---|
protected URL |
persistLocation |
baseURI, dataDirectoryURL, isPersistent, loadImports, logger, mappingsURL, n3URL, ntriplesURL, rdfXmlURL, turtleURLactionsList, DEBUGTRIPLE_CONTEXT_DATA, TRIPLE_CONTEXT_METAanonymousNodeCounter, defaultNameSpace, doSetAutoLabel, isModified, knownImportURIs, loadedOntologyURIs, modificationListeners, ontologyService, ontologyURL, OURI_OWL_ALLVALUESFROM, OURI_OWL_ANNOTATIONPROPERTY, OURI_OWL_CLASS, OURI_OWL_DATATYPEPROPERTY, OURI_OWL_DIFFERENTFROM, OURI_OWL_EQUIVALENTCLASS, OURI_OWL_EQUIVALENTPROPERTY, OURI_OWL_FUNCTIONALPROPERTY, OURI_OWL_HASVALUE, OURI_OWL_INVERSEFUNCTIONALPROPERTY, OURI_OWL_MAXCARDINALITY, OURI_OWL_MINCARDINALITY, OURI_OWL_OBJECTPROPERTY, OURI_OWL_ONPROPERTY, OURI_OWL_ONTOLOGY, OURI_OWL_RESTRICTION, OURI_OWL_SAMEAS, OURI_OWL_SOMEVALUESFROM, OURI_OWL_SYMMETRICPROPERTY, OURI_OWL_TRANSITIVEPROPERTY, OURI_OWL_VERSIONINFO, OURI_RDF_PROPERTY, OURI_RDF_TYPE, OURI_RDFS_CLASS, OURI_RDFS_COMMENT, OURI_RDFS_DOMAIN, OURI_RDFS_LABEL, OURI_RDFS_RANGE, OURI_RDFS_SUBCLASSOF, pluginDir, randomGenerator, restrictionPrefix| Constructor and Description |
|---|
OWLIMOntologyLR()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
URL |
getDataDirectoryURL() |
String |
getDefaultNameSpace() |
Boolean |
getLoadImports() |
URL |
getMappingsURL() |
URL |
getN3URL() |
URL |
getNtriplesURL() |
Boolean |
getPersistent() |
URL |
getPersistLocation() |
URL |
getRdfXmlURL() |
URL |
getTurtleURL() |
void |
load()
Loads this ontology.
|
void |
setDataDirectoryURL(URL dataDirectoryURL) |
void |
setDefaultNameSpace(String theURI) |
void |
setLoadImports(Boolean doit) |
void |
setMappingsURL(URL theMappings) |
void |
setN3URL(URL theURL) |
void |
setNtriplesURL(URL theURL) |
void |
setPersistent(Boolean persistent) |
void |
setPersistLocation(URL persistLocation) |
void |
setRdfXmlURL(URL theURL) |
void |
setTurtleURL(URL theURL) |
cleanup, getBaseURI, getSourceURL, init, setBaseURIdatastoreClosed, datastoreCreated, datastoreOpened, getActions, getService, getSesameRepositoryConnection, resourceLoaded, resourceRenamed, resourceUnloadedcleanOntology, createBooleanQuery, createTupleQuery, executeQuery, getOntologyTripleStore, loadSystemImports, peekBaseURIFromRDF, readOntologyData, readOntologyData, readOntologyData, readOntologyData, setDefaultNameSpaceByPeeking, setDefaultNameSpaceByPeeking, setDefaultNameSpaceFromRepository, setTripleContextURI, writeOntologyData, writeOntologyData, writeOntologyDataaddAllValuesFromRestriction, addAllValuesFromRestriction, addAnnotationProperty, addAnonymousClass, addCardinalityRestriction, addDatatypeProperty, addHasValueRestriction, addMaxCardinalityRestriction, addMinCardinalityRestriction, addObjectProperty, addOClass, addOClass, addOInstance, addOntologyModificationListener, addOntologyURIs, addOResourceToMap, addRDFProperty, addSomeValuesFromRestriction, addSymmetricProperty, addTransitiveProperty, commitTransaction, containsOClass, containsOClass, containsOInstance, containsOInstance, createOBNodeID, createOURI, createOURIForName, createOURIForName, encodeResourceName, fireOntologyReset, fireOntologyResourceAdded, fireOntologyResourcesRemoved, fireResourcePropertyValueChanged, fireResourceRelationChanged, generateOURI, generateOURI, getAllResources, getAnnotationProperties, getAnnotationProperty, getAutoGeneratedRestrictionName, getDatatypeProperties, getDatatypeProperty, getDistance, getImportURIs, getObjectProperties, getObjectProperty, getOClass, getOClasses, getOClassesByName, getOClassesIterator, getOInstance, getOInstances, getOInstances, getOInstances, getOInstancesByName, getOInstancesIterator, getOInstancesIterator, getOntologyAnnotationValues, getOntologyData, getOntologyURI, getOntologyURIs, getOResourceByName, getOResourceFromMap, getOResourcesByName, getOResourcesWith, getOResourcesWith, getPluginDir, getPropertiesByName, getProperty, getPropertyDefinitions, getRDFProperties, getSesameRepository, getSesameRepositoryID, getSymmetricProperties, getTransitiveProperties, getURL, getVersion, isAnnotationProperty, isDatatypeProperty, isModified, isObjectProperty, isRDFProperty, isSymmetricProperty, isTransitiveProperty, loadImportMappingsFile, removeOClass, removeOInstance, removeOntologyModificationListener, removeOResourceFromMap, removeProperty, resolveImports, setDataStore, setModified, setOntologyAnnotation, setOntologyURI, setURL, setVersion, startTransaction, store, transationStarted, writeOntologyData, writeOntologyDatagetDataStore, getLRPersistenceId, getParent, setLRPersistenceId, setParent, synccheckParameterValues, flushBeanInfoCache, forgetBeanInfo, getBeanInfo, getInitParameterValues, getInitParameterValues, getName, getParameterValue, getParameterValue, getParameterValues, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDataStore, getLRPersistenceId, getParent, setLRPersistenceId, setParent, syncprotected URL persistLocation
@CreoleParameter(comment="",
defaultValue="false")
public void setPersistent(Boolean persistent)
setPersistent in class OWLIMOntologypublic Boolean getPersistent()
getPersistent in class OWLIMOntology@Optional
@CreoleParameter(comment="",
disjunction="url",
priority=1)
public void setRdfXmlURL(URL theURL)
setRdfXmlURL in class OWLIMOntologypublic URL getRdfXmlURL()
getRdfXmlURL in class OWLIMOntology@Optional
@CreoleParameter(comment="",
disjunction="url",
priority=2)
public void setN3URL(URL theURL)
setN3URL in class OWLIMOntologypublic URL getN3URL()
getN3URL in class OWLIMOntology@Optional
@CreoleParameter(comment="",
disjunction="url",
priority=3)
public void setNtriplesURL(URL theURL)
setNtriplesURL in class OWLIMOntologypublic URL getNtriplesURL()
getNtriplesURL in class OWLIMOntology@Optional
@CreoleParameter(comment="",
disjunction="url",
priority=4)
public void setTurtleURL(URL theURL)
setTurtleURL in class OWLIMOntologypublic URL getTurtleURL()
getTurtleURL in class OWLIMOntology@Optional @CreoleParameter(comment="Directory that should contain the repository director") public void setDataDirectoryURL(URL dataDirectoryURL)
setDataDirectoryURL in class OWLIMOntologypublic URL getDataDirectoryURL()
getDataDirectoryURL in class OWLIMOntologypublic void setPersistLocation(URL persistLocation)
public URL getPersistLocation()
@Optional @CreoleParameter(comment="Ontology base URI") public void setDefaultNameSpace(String theURI)
setDefaultNameSpace in interface gate.creole.ontology.OntologysetDefaultNameSpace in class AbstractOntologyImplpublic String getDefaultNameSpace()
getDefaultNameSpace in interface gate.creole.ontology.OntologygetDefaultNameSpace in class AbstractOntologyImpl@Optional @CreoleParameter(comment="The URL of a file containing mappings between ontology import URIs and URLs or blank") public void setMappingsURL(URL theMappings)
setMappingsURL in class OWLIMOntologypublic URL getMappingsURL()
getMappingsURL in class OWLIMOntology@CreoleParameter(comment="If the ontology imports specified in the ontology should get automatically loaded",
defaultValue="true")
public void setLoadImports(Boolean doit)
setLoadImports in class OWLIMOntologypublic Boolean getLoadImports()
getLoadImports in class OWLIMOntologypublic void load()
throws gate.creole.ResourceInstantiationException
OWLIMOntologyload in class OWLIMOntologygate.creole.ResourceInstantiationException