wiki:GritsTutorial_OntologyGritsSampleEditor

Version 4 (modified by shan, 5 years ago) (diff)

--

Sample Ontology

General Information

Currently there are two ontologies for sample plugins

  • Standard ontology
    • stores information related to samples that is to be used by the sample plugin
  • Local ontology
    • an additional ontology that has the same structure as the Standard ontology and has no additional information when GRITS is installed initially. When GRITS is used on a system, the information that is generated and saved is saved locally in this ontology.

Classes that manage ontologies in sample plugin are first supposed to look into the Standard ontology for information and if information is missing or additional information is required then it should look into the local ontology.

Currently there are two sample plugins

Ontology Structure

Each of the ontology (Standard and Local ontology) have the structure as shown below:



Sample Ontology

Sample Plugin

This plugin is the main plugin for adding a sample entry to GRITS. It defines the properties of sample entry and other related information. This plugin adds an editor for sample entry to add and modify sample information. The object model that is represented for a sample is stored in a .xml file. This object has a predefined model that is stored in the ontology shown above. This plugin cannot modify ontologies, except for

  • creating templates in the local ontology

Sample Manager Plugin

This plugin is an additional plugin that can be used to edit information stored in ontologies. This plugin can modify both standard and local ontologies. It has two modes of operation :

  • User Mode
    • in this mode only local ontology can be modified
  • Manager Mode
    • in this mode standard ontology can be modified

Attachments (2)

Download all attachments as: .zip