public abstract class AbstractOntologyImplSesame extends AbstractOntologyImpl
| Modifier and Type | Field and Description |
|---|---|
static String |
TRIPLE_CONTEXT_DATA |
static String |
TRIPLE_CONTEXT_META |
anonymousNodeCounter, 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 |
|---|
AbstractOntologyImplSesame() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanOntology() |
gate.creole.ontology.OntologyBooleanQuery |
createBooleanQuery(String query,
gate.creole.ontology.OConstants.QueryLanguage lang) |
gate.creole.ontology.OntologyTupleQuery |
createTupleQuery(String query,
gate.creole.ontology.OConstants.QueryLanguage lang) |
String |
executeQuery(String serqlQuery)
Deprecated.
|
gate.creole.ontology.OntologyTripleStore |
getOntologyTripleStore() |
void |
loadSystemImports()
Load the system imports into a repository that does not have them
loaded yet.
|
protected String |
peekBaseURIFromRDF(InputStream is) |
void |
readOntologyData(File selectedFile,
String baseURI,
gate.creole.ontology.OConstants.OntologyFormat format,
boolean asImport) |
void |
readOntologyData(InputStream in,
String baseURI,
gate.creole.ontology.OConstants.OntologyFormat format,
boolean asImport) |
void |
readOntologyData(Reader in,
String baseURI,
gate.creole.ontology.OConstants.OntologyFormat format,
boolean asImport) |
void |
readOntologyData(URL theURL,
String baseURI,
gate.creole.ontology.OConstants.OntologyFormat format,
boolean asImport) |
protected void |
setDefaultNameSpaceByPeeking(File theFile) |
protected void |
setDefaultNameSpaceByPeeking(URL theURL) |
protected void |
setDefaultNameSpaceFromRepository() |
void |
setTripleContextURI(String uri) |
void |
writeOntologyData(File selectedFile,
gate.creole.ontology.OConstants.OntologyFormat format,
boolean includeImports) |
void |
writeOntologyData(OutputStream out,
gate.creole.ontology.OConstants.OntologyFormat format,
boolean includeImports) |
void |
writeOntologyData(Writer out,
gate.creole.ontology.OConstants.OntologyFormat format,
boolean includeImports) |
addAllValuesFromRestriction, addAllValuesFromRestriction, addAnnotationProperty, addAnonymousClass, addCardinalityRestriction, addDatatypeProperty, addHasValueRestriction, addMaxCardinalityRestriction, addMinCardinalityRestriction, addObjectProperty, addOClass, addOClass, addOInstance, addOntologyModificationListener, addOntologyURIs, addOResourceToMap, addRDFProperty, addSomeValuesFromRestriction, addSymmetricProperty, addTransitiveProperty, cleanup, 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, getSourceURL, 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, init, removeResourceListeners, setName, setParameterValue, setParameterValue, setParameterValues, setParameterValues, setResourceListeners, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDataStore, getLRPersistenceId, getParent, setLRPersistenceId, setParent, syncpublic static final String TRIPLE_CONTEXT_DATA
public static final String TRIPLE_CONTEXT_META
public void readOntologyData(URL theURL, String baseURI, gate.creole.ontology.OConstants.OntologyFormat format, boolean asImport)
public void readOntologyData(File selectedFile, String baseURI, gate.creole.ontology.OConstants.OntologyFormat format, boolean asImport)
public void readOntologyData(Reader in, String baseURI, gate.creole.ontology.OConstants.OntologyFormat format, boolean asImport)
public void readOntologyData(InputStream in, String baseURI, gate.creole.ontology.OConstants.OntologyFormat format, boolean asImport)
protected void setDefaultNameSpaceFromRepository()
protected void setDefaultNameSpaceByPeeking(URL theURL)
protected void setDefaultNameSpaceByPeeking(File theFile)
protected String peekBaseURIFromRDF(InputStream is) throws XMLStreamException
XMLStreamExceptionpublic void writeOntologyData(File selectedFile, gate.creole.ontology.OConstants.OntologyFormat format, boolean includeImports)
public void writeOntologyData(OutputStream out, gate.creole.ontology.OConstants.OntologyFormat format, boolean includeImports)
public void writeOntologyData(Writer out, gate.creole.ontology.OConstants.OntologyFormat format, boolean includeImports)
public void loadSystemImports()
public void cleanOntology()
cleanOntology in interface gate.creole.ontology.OntologycleanOntology in class AbstractOntologyImplpublic gate.creole.ontology.OntologyBooleanQuery createBooleanQuery(String query, gate.creole.ontology.OConstants.QueryLanguage lang)
public gate.creole.ontology.OntologyTupleQuery createTupleQuery(String query, gate.creole.ontology.OConstants.QueryLanguage lang)
@Deprecated public String executeQuery(String serqlQuery)
executeQuery in interface gate.creole.ontology.OntologyexecuteQuery in class AbstractOntologyImplpublic void setTripleContextURI(String uri)
public gate.creole.ontology.OntologyTripleStore getOntologyTripleStore()