@CreoleResource(name="OWLIM Ontology",
interfaceName="gate.creole.ontology.Ontology",
comment="Ontology created as a temporary OWLIM3 in-memory repository",
icon="ontology",
helpURL="http://gate.ac.uk/userguide/sec:ontologies:ontoplugin:owlim")
public class OWLIMOntology
extends OntologyLR
| Modifier and Type | Field and Description |
|---|---|
protected String |
baseURI |
protected URL |
dataDirectoryURL |
protected Boolean |
isPersistent |
protected Boolean |
loadImports |
protected org.apache.log4j.Logger |
logger |
protected URL |
mappingsURL |
protected URL |
n3URL |
protected URL |
ntriplesURL |
protected URL |
rdfXmlURL |
protected URL |
turtleURL |
actionsList, 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 |
|---|
OWLIMOntology()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup()
This method deletes the repository from memory and releases all
resources occupied by the ontology.
|
String |
getBaseURI() |
URL |
getDataDirectoryURL() |
Boolean |
getLoadImports() |
URL |
getMappingsURL() |
URL |
getN3URL() |
URL |
getNtriplesURL() |
Boolean |
getPersistent() |
URL |
getRdfXmlURL() |
URL |
getSourceURL()
Return an URL that is related to the source of the ontology.
|
URL |
getTurtleURL() |
gate.Resource |
init()
Initialises this resource, and returns it.
|
void |
load()
Loads this ontology.
|
void |
setBaseURI(String theURI) |
void |
setDataDirectoryURL(URL dataDirectoryURL) |
void |
setLoadImports(Boolean doit) |
void |
setMappingsURL(URL theMappings) |
void |
setN3URL(URL theURL) |
void |
setNtriplesURL(URL theURL) |
void |
setPersistent(Boolean persistent) |
void |
setRdfXmlURL(URL theURL) |
void |
setTurtleURL(URL theURL) |
datastoreClosed, 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, getDefaultNameSpace, 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, setDefaultNameSpace, 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 Boolean isPersistent
protected URL rdfXmlURL
protected URL n3URL
protected URL ntriplesURL
protected URL turtleURL
protected URL dataDirectoryURL
protected String baseURI
protected URL mappingsURL
protected Boolean loadImports
protected org.apache.log4j.Logger logger
@CreoleParameter(comment="",
defaultValue="false")
public void setPersistent(Boolean persistent)
public Boolean getPersistent()
@Optional
@CreoleParameter(comment="",
disjunction="url",
priority=1)
public void setRdfXmlURL(URL theURL)
public URL getRdfXmlURL()
@Optional
@CreoleParameter(comment="",
disjunction="url",
priority=2)
public void setN3URL(URL theURL)
public URL getN3URL()
@Optional
@CreoleParameter(comment="",
disjunction="url",
priority=3)
public void setNtriplesURL(URL theURL)
public URL getNtriplesURL()
@Optional
@CreoleParameter(comment="",
disjunction="url",
priority=4)
public void setTurtleURL(URL theURL)
public URL getTurtleURL()
@Optional @CreoleParameter(comment="Directory that should contain the repository director") public void setDataDirectoryURL(URL dataDirectoryURL)
public URL getDataDirectoryURL()
@Optional @CreoleParameter(comment="Ontology base URI, default is http://gate.ac.uk/dummybaseuri#") public void setBaseURI(String theURI)
public String getBaseURI()
@Optional @CreoleParameter(comment="The URL of a file containing mappings between ontology import URIs and URLs or blank") public void setMappingsURL(URL theMappings)
public URL getMappingsURL()
@CreoleParameter(comment="If the ontology imports specified in the ontology should get automatically loaded",
defaultValue="true")
public void setLoadImports(Boolean doit)
public Boolean getLoadImports()
public gate.Resource init()
throws gate.creole.ResourceInstantiationException
init in interface gate.Resourceinit in class gate.creole.AbstractResourcegate.creole.ResourceInstantiationExceptionpublic void load()
throws gate.creole.ResourceInstantiationException
gate.creole.ResourceInstantiationExceptionpublic void cleanup()
OntologyLRcleanup in interface gate.Resourcecleanup in class OntologyLRpublic URL getSourceURL()
AbstractOntologyImplgetSourceURL in class AbstractOntologyImpl