@CreoleResource(name="ConnectSesameOntology",
interfaceName="gate.creole.ontology.Ontology",
comment="Connect to a repository containing and ontology",
icon="ontology",
helpURL="http://gate.ac.uk/userguide/sec:ontologies:ontoplugin:connect")
public class ConnectSesameOntology
extends OntologyLR
| Modifier and Type | Field and Description |
|---|---|
protected String |
repositoryID |
protected URL |
repositoryLocation |
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 |
|---|
ConnectSesameOntology()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRepositoryID() |
URL |
getRepositoryLocation() |
URL |
getSourceURL()
Return an URL that is related to the source of the ontology.
|
gate.Resource |
init()
Initialises this resource, and returns it.
|
void |
load()
Loads this ontology.
|
void |
setRepositoryID(String id) |
void |
setRepositoryLocation(URL theURL) |
cleanup, 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 URL repositoryLocation
protected String repositoryID
@CreoleParameter(comment="The location of the repository, either a direcotry or a Sesame server URL") public void setRepositoryLocation(URL theURL)
theURL - public URL getRepositoryLocation()
@CreoleParameter(comment="The name of the repository to connect to") public void setRepositoryID(String id)
id - public String getRepositoryID()
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 URL getSourceURL()
AbstractOntologyImplgetSourceURL in class AbstractOntologyImpl