Difference between revisions of "Documenting Online Resources"

From Earth Science Information Partners (ESIP)
(<div id="OnlineResources"> updated)
 
(18 intermediate revisions by 6 users not shown)
Line 2: Line 2:
  
 
=NASA GCMD Directory Interchange Format=
 
=NASA GCMD Directory Interchange Format=
URL's are described in DIF using the [http://gcmd.nasa.gov/User/difguide/related_url.html Related_URL] field. They have the following properties:
+
URL's are described in DIF using the [http://gcmd.nasa.gov/add/difguide/related_url.html Related_URL] field. They have the following properties:
 
<pre>
 
<pre>
 
<dif:Related_URL uuid="UUID">
 
<dif:Related_URL uuid="UUID">
Line 10: Line 10:
 
</dif:Related_URL>
 
</dif:Related_URL>
 
</pre>
 
</pre>
The URL_Content_Type field comes from the URL Content Type [http://gcmd.nasa.gov/Resources/valids/archives/GCMD_URL_Content_Type_Keywords.pdf Keywords] which provide standard names for a number of data systems and services. Data access URLs can be recognized by the URL_Content_Type = "GET DATA". The Related_URL field is highly recommended and may be repeated.
+
The URL_Content_Type field comes from the URL Content Type [http://gcmdservices.gsfc.nasa.gov/static/kms/rucontenttype/rucontenttype.csv URL Content Type List] which provide standard names for a number of data systems and services. Data access URLs can be recognized by the URL_Content_Type = "GET DATA". The Related_URL field is highly recommended and may be repeated.
 +
 
 
=ECHO=
 
=ECHO=
 
The ECHO model includes several types of URLs, each with a unique set of properties:
 
The ECHO model includes several types of URLs, each with a unique set of properties:
Line 50: Line 51:
 
#Types and Function Codes - All three dialects include a mechanism for classifying online resources. DIF and ISO use shared vocabularies and ECHO uses free text. The DIF vocabulary is hierarchical and includes roughly 35 choices. The ISO codeList includes 11 broad categories. The ECHO Collection metadata currently includes roughly 45 different values with some overlap with the DIF list. Given the variation in these existing approaches, it seems reasonable to map the DIF and ECHO types into the ISO name element, which is free text, rather than into the function element which is a codeList.
 
#Types and Function Codes - All three dialects include a mechanism for classifying online resources. DIF and ISO use shared vocabularies and ECHO uses free text. The DIF vocabulary is hierarchical and includes roughly 35 choices. The ISO codeList includes 11 broad categories. The ECHO Collection metadata currently includes roughly 45 different values with some overlap with the DIF list. Given the variation in these existing approaches, it seems reasonable to map the DIF and ECHO types into the ISO name element, which is free text, rather than into the function element which is a codeList.
  
 +
All of these approaches to describing online resources include properties that make
 +
links more self-explanatory and easier to use.
 +
<div id="OnlineResources">
 
==Online Resources==
 
==Online Resources==
 +
All of these approaches to describing online resources include properties that make links more self-explanatory and easier to use.<table xmlns:xsl="http://www.w3.org/1999/XSL/Transform" width="95%" border="1" cellpadding="3" cellspacing="3" style="border-collapse: collapse;" id="OnlineResources"><tr><th width="15%">Concept</th><th width="25%">Description</th><th width="60%">Dialect (Fit) Paths</th></tr><tr><td>[[Concepts_Glossary#URL|URL]]</td><td>Address of the online resource</td><td style="word-break:break-all;"><b>BDP</b> /bdp:metadata/bdp:idinfo/bdp:citation/bdp:citeinfo/bdp:onlink<br><b>CSDGM</b> /csdgm:metadata/csdgm:idinfo/csdgm:citation/csdgm:citeinfo/csdgm:onlink<br><b>DIF</b> /dif:DIF/dif:Related_URL/URL<br><b>DIF-10</b> /dif:DIF/dif:Related_URL/URL<br><b>ECHO</b> /*/echo:OnlineAccessURLs/echo:OnlineAccessURL/echo:URL<br><b>ECHO</b> /*/echo:OnlineResources/echo:OnlineResource/echo:URL<br><b>ISO</b> //gmd:CI_OnlineResource/gmd:linkage/gmd:URL<br><b>ISO-1</b> //cit:CI_OnlineResource/cit:linkage//*<br><b>Mercury</b> /mercury:metadata/mercury:mercury/mercury:Documentation_Link/mercury:Label<br><b>Mercury</b> /mercury:metadata/mercury:mercury/mercury:Search_Text_Link/mercury:Label<br><b>Mercury</b> /mercury:metadata/mercury:mercury/mercury:Data_Set_Link/mercury:URL<br><b>Mercury</b> /mercury:metadata/mercury:idinfo/mercury:citation/mercury:citeinfo/mercury:onlink<br><b>OGC-SOS</b> /sos:Capabilities/ows:OperationsMetadata/ows:Operation/ows:DCP/ows:HTTP/ows:Get/@xlink:href<br><b>OGC-SOS</b> /sos:Capabilities/ows:OperationsMetadata/ows:Operation/ows:DCP/ows:HTTP/ows:Post/@xlink:href<br><b>SERF</b> /serf:SERF/serf:Service_Citation/serf:URL<br><b>THREDDS</b> //thredds:dataset/thredds:documentation/@xlink:href<br><b>UMM</b> /umm:UMM/umm:RelatedURL/umm:URL<br></td></tr><tr><td>[[Concepts_Glossary#Online_Resource_Description|Online Resource Description]]</td><td>A brief description of the online resource</td><td style="word-break:break-all;"><b>DIF</b> /dif:DIF/dif:Related_URL/dif:Description<br><b>DIF-10</b> /dif:DIF/dif:Related_URL/dif:Description<br><b>ECHO</b> /*/echo:OnlineAccessURLs/echo:OnlineAccessURL/echo:URLDescription<br><b>ECHO</b> /*/echo:OnlineResources/echo:OnlineResource/echo:Description<br><b>ISO</b> //gmd:CI_OnlineResource/gmd:description//*<br><b>ISO-1</b> //cit:CI_OnlineResource/cit:description//*<br><b>Mercury</b> /mercury:metadata/mercury:mercury/mercury:Data_Set_Link/mercury:Link_Note<br><b>Mercury</b> /mercury:metadata/mercury:mercury/mercury:Documentation_Link/mercury:Link_Note<br><b>Mercury</b> /mercury:metadata/mercury:mercury/mercury:Search_Text_Link/mercury:Link_Note<br><b>UMM</b> (1)  /umm:UMM/umm:RelatedURL/umm:Description<br></td></tr><tr><td>[[Concepts_Glossary#Online_Resource_Function|Online Resource Function]]</td><td>A description of the function of the online resource</td><td style="word-break:break-all;"><b>ECHO</b> /*/echo:OnlineResources/echo:OnlineResource/echo:Type<br><b>ISO</b> //gmd:CI_OnlineResource/gmd:function/gco:CI_OnLineFunctionCode<br><b>ISO-1</b> //cit:CI_OnlineResource/cit:function/cit:CI_OnLineFunctionCode<br></td></tr><tr><td>[[Concepts_Glossary#Online_Resource_Name/Title|Online Resource Name/Title]]</td><td>A name or title of the online resource</td><td style="word-break:break-all;"><b>DIF</b> /dif:DIF/dif:Related_URL/dif:URL_Content_Type/dif:Type &gt; /dif:DIF/dif:Related_URL/dif:URL_Content_Type/dif:Subtype<br><b>DIF-10</b> /dif:DIF/dif:Related_URL/dif:URL_Content_Type/dif:Type &gt; /dif:DIF/dif:Related_URL/dif:URL_Content_Type/dif:Subtype<br><b>ISO</b> //gmd:CI_OnlineResource/gmd:name//*<br><b>ISO-1</b> //cit:CI_OnlineResource/cit:name//*<br><b>Mercury</b> /mercury:metadata/mercury:mercury/mercury:Data_Set_Link/mercury:Label<br><b>THREDDS</b> //thredds:dataset/thredds:documentation/@xlink:title<br></td></tr><tr><td>[[Concepts_Glossary#Format_of_the_Online_Resource|Format of the Online Resource]]</td><td>Identify the format of the online resource</td><td style="word-break:break-all;"><b>ECHO</b> /*/echo:OnlineAccessURLs/echo:OnlineAccessURL/echo:MimeType<br><b>ECHO</b> /*/echo:OnlineResources/echo:OnlineResource/echo:MimeType<br><b>ISO</b> //gmd:CI_OnlineResource/gmd:applicationProfile//*<br><b>ISO-1</b> //cit:CI_OnlineResource/cit:applicationProfile//*<br><b>UMM</b> /umm:UMM/umm:RelatedURL/umm:MimeType<br></td></tr></table></div>
 +
''xPath Note:'' The xPaths included in this table use several wildcards. // means
 +
any path, so //gmd:CI_ResponsibleParty indicates a gmd:CI_ResponsibleParty anywhere
 +
in an XML file. /*/ indicates a single level with several possible elements. This
 +
usually indicates one of several concrete realizations of an abstract object. For
 +
example /*/gmd:identificationInfo could be gmd:MD_Metadata/gmd:identificationInfo
 +
or gmi:MI_Metadata/gmd:identificationInfo and gmd:identificationInfo//*/gmd:descriptiveKeywords
 +
could be gmd:identificationInfo/gmd:MD_DataIdentification/gmd:descriptiveKeywords
 +
or gmd:identificationInfo/srv:SV_ServiceIdentification/gmd:descriptiveKeywords.
  
'''Concept''': URL <br>
+
[[Metadata Implementation]]
'''Description''': Address of the online resource
 
<table border="1" cellpadding="10" width="100%">
 
    <tr>
 
        <th>DIF</th>
 
        <th>ECHO</th>
 
        <th>ECS</th>
 
        <th>ISO</th>
 
        <th>netCDF(ncML)</th>
 
        <th>THREDDS</th>
 
        <th>Open Geospatial Consortium Sensor Observation Service (SOS)</th>
 
        <th>EML</th>
 
        <th>FGDC</th>
 
        <th>Dryad</th>
 
    </tr>
 
    <tr>
 
        <td valign="top">/dif:DIF/dif:Related_URL/URL</td>
 
        <td valign="top">/echo:OnlineAccessURLs/echo:OnlineAccessURL/echo:URL</td>
 
        <td valign="top"></td>
 
        <td valign="top">//gmd:CI_OnlineResource/gmd:linkage/gmd:URL</td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top">/eml:dataset/distribution/online/url/text</td>
 
        <td valign="top">/fgdc:metadata/idinfo/citation/citeinfo/onlink | /fgdc:metadata/idinfo/browse/browsen</td>
 
    </tr>
 
</table>
 
 
 
'''Concept''': Online Resource Description <br>
 
'''Description''': A brief description of the online resource
 
<table border="1" cellpadding="10" width="100%">
 
    <tr>
 
        <th>DIF</th>
 
        <th>ECHO</th>
 
        <th>ECS</th>
 
        <th>ISO</th>
 
        <th>netCDF(ncML)</th>
 
        <th>THREDDS</th>
 
        <th>Open Geospatial Consortium Sensor Observation Service (SOS)</th>
 
        <th>EML</th>
 
        <th>FGDC</th>
 
        <th>Dryad</th>
 
    </tr>
 
    <tr>
 
        <td valign="top">/dif:DIF/dif:Related_URL/dif:Description</td>
 
        <td valign="top">/echo:OnlineAccessURLs/OnlineAccessURL/URLDescription</td>
 
        <td valign="top"></td>
 
        <td valign="top">//gmd:CI_OnlineResource/gmd:description/gco:CharacterString</td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
    </tr>
 
</table>
 
 
 
'''Concept''': Online Resource Function <br>
 
'''Description''': A description of the function of the online resource
 
<table border="1" cellpadding="10" width="100%">
 
    <tr>
 
        <th>DIF</th>
 
        <th>ECHO</th>
 
        <th>ECS</th>
 
        <th>ISO</th>
 
        <th>netCDF(ncML)</th>
 
        <th>THREDDS</th>
 
        <th>Open Geospatial Consortium Sensor Observation Service (SOS)</th>
 
        <th>EML</th>
 
        <th>FGDC</th>
 
        <th>Dryad</th>
 
    </tr>
 
    <tr>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top">//gmd:CI_OnlineResource/gmd:description/gco:CharacterString</td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
    </tr>
 
</table>
 
 
 
'''Concept''': Online Resource Name/Title <br>
 
'''Description''': A name or title of the online resource
 
<table border="1" cellpadding="10" width="100%">
 
    <tr>
 
        <th>DIF</th>
 
        <th>ECHO</th>
 
        <th>ECS</th>
 
        <th>ISO</th>
 
        <th>netCDF(ncML)</th>
 
        <th>THREDDS</th>
 
        <th>Open Geospatial Consortium Sensor Observation Service (SOS)</th>
 
        <th>EML</th>
 
        <th>FGDC</th>
 
        <th>Dryad</th>
 
    </tr>
 
    <tr>
 
        <td valign="top">/dif:DIF/dif:Related_URL/dif:URL_Content_Type/dif:Type > /dif:DIF/dif:Related_URL/dif:URL_Content_Type/dif:Subtype</td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top">//gmd:CI_OnlineResource/gmd:name/gco:CharacterString</td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
    </tr>
 
</table>
 
 
 
'''Concept''': Format of the Online Resource <br>
 
'''Description''': Identify the format of the online resource
 
<table border="1" cellpadding="10" width="100%">
 
    <tr>
 
        <th>DIF</th>
 
        <th>ECHO</th>
 
        <th>ECS</th>
 
        <th>ISO</th>
 
        <th>netCDF(ncML)</th>
 
        <th>THREDDS</th>
 
        <th>Open Geospatial Consortium Sensor Observation Service (SOS)</th>
 
        <th>EML</th>
 
        <th>FGDC</th>
 
        <th>Dryad</th>
 
    </tr>
 
    <tr>
 
        <td valign="top"></td>
 
        <td valign="top">echo:OnlineAccessURLs/echo:OnlineAccessURL/MimeType</td>
 
        <td valign="top"></td>
 
        <td valign="top">//gmd:CI_OnlineResource/gmd:applicationProfile/gco:CharacterString</td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
        <td valign="top"></td>
 
    </tr>
 
</table>
 
 
 
[[Category:Documentation Connections]]
 

Latest revision as of 16:44, October 6, 2016

As the World Wide Web has developed into a ubiquitous information source, links to on-line information and services have become critical elements in all metadata dialects. Some dialects emerged during the early days of the web when less was known about how it would develop and flourish. URLs were simple and self-explanatory and it was enough to include just the bare URL in the metadata. As URLs have increased in complexity, it has become more important to provide supporting information along with the links.

NASA GCMD Directory Interchange Format

URL's are described in DIF using the Related_URL field. They have the following properties:

<dif:Related_URL uuid="UUID">
    <dif:URL_Content_Type/>
    <dif:URL/>
    <dif:Description/>
</dif:Related_URL>

The URL_Content_Type field comes from the URL Content Type URL Content Type List which provide standard names for a number of data systems and services. Data access URLs can be recognized by the URL_Content_Type = "GET DATA". The Related_URL field is highly recommended and may be repeated.

ECHO

The ECHO model includes several types of URLs, each with a unique set of properties:

<OnlineAccessURL>
    <URL/>
    <URLDescription/>
    <MimeType/>
</OnlineAccessURL>

<OnlineResource>
    <URL/>
    <Description/>
    <Type/>
    <MimeType/>
</OnlineResource>

<ProviderBrowseUrl>
    <URL/>
    <FileSize/>
    <Description/>
    <MimeType/>
</ProviderBrowseUrl>

ISO

The ISO Standards use CI_OnlineResources to describe links. They include the following properties:

<gmd:CI_OnlineResource>
    <gmd:linkage/>
    <gmd:protocol/>
    <gmd:applicationProfile/>
    <gmd:name/>
    <gmd:description/>
    <gmd:function/>
</gmd:CI_OnlineResource>

Connections

All of these approaches to describing online resources include properties that make links more self-explanatory and easier to use. There are some differences that need to be considered when comparing them:

  1. Types and Function Codes - All three dialects include a mechanism for classifying online resources. DIF and ISO use shared vocabularies and ECHO uses free text. The DIF vocabulary is hierarchical and includes roughly 35 choices. The ISO codeList includes 11 broad categories. The ECHO Collection metadata currently includes roughly 45 different values with some overlap with the DIF list. Given the variation in these existing approaches, it seems reasonable to map the DIF and ECHO types into the ISO name element, which is free text, rather than into the function element which is a codeList.

All of these approaches to describing online resources include properties that make links more self-explanatory and easier to use.

Online Resources

All of these approaches to describing online resources include properties that make links more self-explanatory and easier to use.
ConceptDescriptionDialect (Fit) Paths
URLAddress of the online resourceBDP /bdp:metadata/bdp:idinfo/bdp:citation/bdp:citeinfo/bdp:onlink
CSDGM /csdgm:metadata/csdgm:idinfo/csdgm:citation/csdgm:citeinfo/csdgm:onlink
DIF /dif:DIF/dif:Related_URL/URL
DIF-10 /dif:DIF/dif:Related_URL/URL
ECHO /*/echo:OnlineAccessURLs/echo:OnlineAccessURL/echo:URL
ECHO /*/echo:OnlineResources/echo:OnlineResource/echo:URL
ISO //gmd:CI_OnlineResource/gmd:linkage/gmd:URL
ISO-1 //cit:CI_OnlineResource/cit:linkage//*
Mercury /mercury:metadata/mercury:mercury/mercury:Documentation_Link/mercury:Label
Mercury /mercury:metadata/mercury:mercury/mercury:Search_Text_Link/mercury:Label
Mercury /mercury:metadata/mercury:mercury/mercury:Data_Set_Link/mercury:URL
Mercury /mercury:metadata/mercury:idinfo/mercury:citation/mercury:citeinfo/mercury:onlink
OGC-SOS /sos:Capabilities/ows:OperationsMetadata/ows:Operation/ows:DCP/ows:HTTP/ows:Get/@xlink:href
OGC-SOS /sos:Capabilities/ows:OperationsMetadata/ows:Operation/ows:DCP/ows:HTTP/ows:Post/@xlink:href
SERF /serf:SERF/serf:Service_Citation/serf:URL
THREDDS //thredds:dataset/thredds:documentation/@xlink:href
UMM /umm:UMM/umm:RelatedURL/umm:URL
Online Resource DescriptionA brief description of the online resourceDIF /dif:DIF/dif:Related_URL/dif:Description
DIF-10 /dif:DIF/dif:Related_URL/dif:Description
ECHO /*/echo:OnlineAccessURLs/echo:OnlineAccessURL/echo:URLDescription
ECHO /*/echo:OnlineResources/echo:OnlineResource/echo:Description
ISO //gmd:CI_OnlineResource/gmd:description//*
ISO-1 //cit:CI_OnlineResource/cit:description//*
Mercury /mercury:metadata/mercury:mercury/mercury:Data_Set_Link/mercury:Link_Note
Mercury /mercury:metadata/mercury:mercury/mercury:Documentation_Link/mercury:Link_Note
Mercury /mercury:metadata/mercury:mercury/mercury:Search_Text_Link/mercury:Link_Note
UMM (1) /umm:UMM/umm:RelatedURL/umm:Description
Online Resource FunctionA description of the function of the online resourceECHO /*/echo:OnlineResources/echo:OnlineResource/echo:Type
ISO //gmd:CI_OnlineResource/gmd:function/gco:CI_OnLineFunctionCode
ISO-1 //cit:CI_OnlineResource/cit:function/cit:CI_OnLineFunctionCode
Online Resource Name/TitleA name or title of the online resourceDIF /dif:DIF/dif:Related_URL/dif:URL_Content_Type/dif:Type > /dif:DIF/dif:Related_URL/dif:URL_Content_Type/dif:Subtype
DIF-10 /dif:DIF/dif:Related_URL/dif:URL_Content_Type/dif:Type > /dif:DIF/dif:Related_URL/dif:URL_Content_Type/dif:Subtype
ISO //gmd:CI_OnlineResource/gmd:name//*
ISO-1 //cit:CI_OnlineResource/cit:name//*
Mercury /mercury:metadata/mercury:mercury/mercury:Data_Set_Link/mercury:Label
THREDDS //thredds:dataset/thredds:documentation/@xlink:title
Format of the Online ResourceIdentify the format of the online resourceECHO /*/echo:OnlineAccessURLs/echo:OnlineAccessURL/echo:MimeType
ECHO /*/echo:OnlineResources/echo:OnlineResource/echo:MimeType
ISO //gmd:CI_OnlineResource/gmd:applicationProfile//*
ISO-1 //cit:CI_OnlineResource/cit:applicationProfile//*
UMM /umm:UMM/umm:RelatedURL/umm:MimeType

xPath Note: The xPaths included in this table use several wildcards. // means any path, so //gmd:CI_ResponsibleParty indicates a gmd:CI_ResponsibleParty anywhere in an XML file. /*/ indicates a single level with several possible elements. This usually indicates one of several concrete realizations of an abstract object. For example /*/gmd:identificationInfo could be gmd:MD_Metadata/gmd:identificationInfo or gmi:MI_Metadata/gmd:identificationInfo and gmd:identificationInfo//*/gmd:descriptiveKeywords could be gmd:identificationInfo/gmd:MD_DataIdentification/gmd:descriptiveKeywords or gmd:identificationInfo/srv:SV_ServiceIdentification/gmd:descriptiveKeywords.

Metadata Implementation