Changes between Version 4 and Version 5 of DespoinaLog/2010/10/6


Ignore:
Timestamp:
2010-10-06T16:06:26+02:00 (14 years ago)
Author:
antonak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DespoinaLog/2010/10/6

    v4 v5  
    44     * added in molgenis_db.xml : 
    55{{{
    6 <entity name="OntologyTerm" extends="Trait" implements="Locus">
    7         <description>
    8         The ontology term field. Should this be extending or implement smthg?
    9         </description>
    10 </entity>
     6
     7    <entity name="OntologyTerm">
     8            <description>
     9                The OntologyTerm class defines references to a single entry from an ontology or a controlled vocabulary. Other classes can reference to
     10                this OntologyTerm to harmonize naming of concepts. Each term should have a local, unique label. Good practice is to label it 'sourceid:term', e.g.
     11                'MO:cell' If no suitable ontology term exists one can define new terms locally in which case there is no formal accession for the term. In those
     12                cases the local name should be repeated in both term and termAccession. Maps to FuGE::OntologyIndividual; in MAGE-TAB there is no separate entity to
     13                model terms.
     14        Should this be extending or implement smthg?
     15   
     16            </description>
     17                <field name="id" type="autoid"/>
     18            <field nillable="false" auto="false" name="term" type="varchar"
     19             description="The ontology term itself, also known as the 'local name' in some ontologies."/>
     20            <field name="description" type="text"
     21             description="Definition of the term." nillable="true"/>
     22                        <field nillable="true" auto="false" name="termAccession" type="varchar"
     23             description="The accession number assigned to the ontology term in the source ontology. If empty it is assumed to be a locally defined term. "/>
     24            <field auto="false" name="termSource" type="xref"
     25             description="The source ontology or controlled vocabulary list that ontology terms have been obtained from. One can define a local ontology if needed."
     26             xref_field="OntologySource.id" xref_label="name"/>
     27            <unique fields="termSource,term"
     28             description="the local label of the OntologyTerm is unique within a data set."/>
     29        </entity>       
     30   
    1131}}}
    1232