Difference between revisions of "SpeciesTMPlugin"

From Gcube Wiki
Jump to: navigation, search
Line 1: Line 1:
 
==Species TM Plugin==
 
==Species TM Plugin==
 +
 +
Species TM Plugin is a plugin of the Tree Manager service that defines and maintains tree views of biodiversity data sources exposed by the Species Manager services.
  
 
=== Tree model ===
 
=== Tree model ===
  
Species TM Plugin is a plugin of the Tree Manager service that defines and maintains tree views of biodiversity data sources exposed by the Species Manager services.
+
A tree has three maine edges:
A tree has three Edges
+
 
 +
* DwC
 +
* Properties
 +
* Provenance
 +
 
  
 
<source lang="xml">
 
<source lang="xml">

Revision as of 13:55, 14 December 2012

Species TM Plugin

Species TM Plugin is a plugin of the Tree Manager service that defines and maintains tree views of biodiversity data sources exposed by the Species Manager services.

Tree model

A tree has three maine edges:

  • DwC
  • Properties
  • Provenance


<?xml version="1.0" ?>
 
<t:root xmlns:t="http://gcube-system.org/namespaces/data/trees" SpeciesServiceId="PluginName:ID" t:id="PluginName:ID"> 
 
    <DwC t:id="ID"> 
 
        <nameAccordingTo> </nameAccordingTo> 
 
        <scientificNameAuthorship> </scientificNameAuthorship> 
 
        <taxonRank> </taxonRank> 
 
        <parentNameUsageID> </parentNameUsageID> 
 
        <scientificName> </scientificName> 
 
        <acceptedNameUsageID> </acceptedNameUsageID> 
 
        <taxonomicStatus> </taxonomicStatus> 
 
        <taxonRemarks> </taxonRemarks> 
 
        <bibliographicCitation> </bibliographicCitation> 
 
        <scientificNameID> </scientificNameID> 
 
        <modified> </modified> 
 
 
        <kingdom> </kingdom> 
 
        <phylum> </phylum> 
 
        <class> </class> 
 
        <order> </order> 
 
        <family> </family> 
 
        <genus> </genus> 
 
        <subgenus> </subgenus> 
 
 
        <specificEpithet> </specificEpithet> 
 
        <infraspecificEpithet> </infraspecificEpithet> 
 
        <verbatimTaxonRank> </verbatimTaxonRank> 
 
 
        <vernacularNames> 
 
            <language> </language> 
 
            <locality> </locality> 
 
            <vernacularName> </vernacularName> 
 
        </vernacularNames> 
 
        ......... 
 
        <vernacularNames> 
 
            <language> </language> 
 
            <locality> </locality> 
 
            <vernacularName> </vernacularName> 
 
        </vernacularNames> 
 
    </DwC> 
 
 
    <Properties> 
 
        <property> 
 
             <key> </key> 
 
            <value> </value> 
 
        </property> 
 
            ......... 
 
        <property> 
 
            <key> </key> 
 
            <value> </value> 
 
        </property> 
 
    <Properties> 
 
 
    <provenance> 
 
        <wasDerivedFrom> </wasDerivedFrom> 
 
        <wasGeneratedBy> </wasGeneratedBy> 
 
    </provenance> 
 
</t:root>

A description of the Darwin Core fields used is available here: https://gcube.wiki.gcube-system.org/gcube/index.php/Checklist_DwC.

Bind request

A bind request has this form:

        List<Names> as ScientificName in List<DataSource> return Taxon

If List<DataSource> is empty, Species TM Plugin will retrieve data from all Data Sources.

Example:

        'Carcharodon carcharias' , 'Rosa' in ITIS, CatalogueOfLife return Taxon
        'Carcharodon carcharias' , 'Rosa' return Taxon
        'Carcharodon carcharias' return Taxon