Package ubic.basecode.ontology.providers
Class MedicOntologyService
- java.lang.Object
-
- ubic.basecode.ontology.jena.AbstractOntologyService
-
- ubic.basecode.ontology.jena.AbstractOntologyMemoryBackedService
-
- ubic.basecode.ontology.providers.MedicOntologyService
-
- All Implemented Interfaces:
OntologyService
public class MedicOntologyService extends AbstractOntologyMemoryBackedService
MEDIC ONTOLOGY USED BY PHENOCARTA, its represents MESH terms as a tree so with can use the parent structure that a normal mesh term doesnt haveMEDIC comes from the CTD folks. See http://ctd.mdibl.org/voc.go?type=disease. Unfortunately I do not know where our medic.owl file came from (PP)
- Author:
- Nicolas
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface ubic.basecode.ontology.providers.OntologyService
OntologyService.InferenceMode, OntologyService.LanguageLevel
-
-
Field Summary
-
Fields inherited from class ubic.basecode.ontology.jena.AbstractOntologyService
log
-
-
Constructor Summary
Constructors Constructor Description MedicOntologyService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetOntologyName()The simple getOntologyName() of the ontology.protected StringgetOntologyUrl()Defines the location of the ontology eg: MGEDprotected OntologyModelloadModel(boolean processImports, OntologyService.LanguageLevel languageLevel, OntologyService.InferenceMode inferenceMode)Delegates the call as to load the model into memory or leave it on disk.-
Methods inherited from class ubic.basecode.ontology.jena.AbstractOntologyMemoryBackedService
loadModelFromStream
-
Methods inherited from class ubic.basecode.ontology.jena.AbstractOntologyService
cancelInitializationThread, closeIndex, findIndividuals, findResources, findTerm, findUsingAlternativeId, getAdditionalPropertyUris, getAllURIs, getCacheName, getChildren, getInferenceMode, getLanguageLevel, getParents, getProcessImports, getResource, getTerm, getTermIndividuals, index, initialize, initialize, isEnabled, isInitializationThreadAlive, isInitializationThreadCancelled, isOntologyLoaded, isSearchEnabled, loadTermsInNameSpace, setAdditionalPropertyUris, setInferenceMode, setLanguageLevel, setProcessImports, setSearchEnabled, startInitializationThread, toString, waitForInitializationThread
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ubic.basecode.ontology.providers.OntologyService
findIndividuals, findResources, findTerm, getChildren, getParents
-
-
-
-
Method Detail
-
getOntologyName
protected String getOntologyName()
Description copied from class:AbstractOntologyServiceThe simple getOntologyName() of the ontology. Used for indexing purposes. (ie this will determine the getOntologyName() of the underlying index for searching the ontology)- Specified by:
getOntologyNamein classAbstractOntologyService
-
getOntologyUrl
protected String getOntologyUrl()
Description copied from class:AbstractOntologyServiceDefines the location of the ontology eg: MGED- Overrides:
getOntologyUrlin classAbstractOntologyMemoryBackedService
-
loadModel
protected OntologyModel loadModel(boolean processImports, OntologyService.LanguageLevel languageLevel, OntologyService.InferenceMode inferenceMode)
Description copied from class:AbstractOntologyServiceDelegates the call as to load the model into memory or leave it on disk. Simply delegates to either OntologyLoader.loadMemoryModel( url ); OR OntologyLoader.loadPersistentModel( url, spec );- Overrides:
loadModelin classAbstractOntologyMemoryBackedService
-
-