<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Thank you, David. Yes! This (below) is exactly what I had in mind.
In many cases involving GUIDs, at least part of the GUID string
originating from a single institution will be the same for all records
in a particular field. The provider isn't going to need to store or
transmit those constant characters. Being able to supply that constant
part of the GUID to be concatenated by the receiver could reduce the
size of the transmitted file significantly. <br>
<br>
Steve<br>
<br>
David Remsen (GBIF) wrote:
<blockquote cite="mid:5DC4B64E-C366-4DAD-BD9D-705555704BE0@gbif.org"
type="cite">
<div>
<div><br>
<div>I realise now that the example I gave won't work for this. As
I read it now you would like to use local integer identifiers in your
database but expand them in the output file using a "template" that
would conform to the template I used in my globals example.</div>
<div>In this case, we don't want to refer to a different element we
want the current element to substitute the local identifier it contains
with the more inflated template. In other words if your data file says
that taxonID=100 has a parent taxon with an ID = 99 you want to
conflate the integer with the more complete GUID following the
template. This currently isn't something we have discussed supporting
but I think we could by allowing for value substitution via a template
placed in the default value. We could for example, support it using
the example below. Note in this case the substitute variable IS the
value itself.</div>
<div><br>
</div>
<div>
<div><id index="0"/
default="urn:lsid:ubio.org:namebank:{0} "> # we dont need to
assign a term here. It is implied. See next comment below.</div>
<div><field index="1" default="urn:lsid:ubio.org:namebank:{1} "
term="<a moz-do-not-send="true"
href="http://rs.tdwg.org/dwc/terms/parentNameUsageID">http://rs.tdwg.org/dwc/terms/parentNameUsageID</a>"/></div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
...<br>
<blockquote cite="mid:5DC4B64E-C366-4DAD-BD9D-705555704BE0@gbif.org"
type="cite">
<div>
<div>
<div>I think you have made the case and I think we could accommodate
it by simple interpreting the default in the way I specified.
Otherwise I could imagine we would have to add a "template" attribute
to the field element. However, I don't think this is needed. I guess
I'd like feedback from Tim, John W or Markus on this.</div>
<div><br>
</div>
<div><br>
</div>
<br>
<blockquote type="cite">
<div bgcolor="#ffffff" text="#000000"><br>
Steve<br>
<br>
David Remsen (GBIF) wrote:
<blockquote cite="mid:2100EDA7-2A1A-429E-A9E0-D2104F7AEA08@gbif.org"
type="cite">Hi Steve,
<div><br>
</div>
<div>There is a way to do what you ask but not exactly the way
you
specified.</div>
<div><br>
</div>
<div>The way to do is via a template that refers to a particular
column. </div>
<div>So if you put the ubio integer ID into dwc:scientificName
you
could could put the following into, for example, dc:source</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://www.ubio.org/authority">http://www.ubio.org/authority</a>/metadata.php?lsid=urn:lsid:ubio.org:namebank:<scientificName></div>
<div><br>
</div>
<div>as the default and set the column to a global.</div>
<div><br>
</div>
<div>
<div
style="margin: 0px; font-family: 'Trebuchet MS'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;">You
can see more in this document on the XML Descriptor file.</div>
<div
style="margin: 0px; font-family: 'Trebuchet MS'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><br>
</div>
<div
style="margin: 0px; font-family: 'Trebuchet MS'; font-style: normal; font-variant: normal; font-weight: normal; font-size: 12px; line-height: normal; font-size-adjust: none; font-stretch: normal;"><a
moz-do-not-send="true"
href="http://links.gbif.org/gbif_dwc-a_metafile_en_v1/">http://links.gbif.org/gbif_dwc-a_metafile_en_v1/</a></div>
</div>
<div><br>
</div>
<div>The vocabularies option was, as far as I know, intended to
provide a URI for a vocabulary so that we might be able to validate
values against the vocabulary items.</div>
<div><br>
</div>
<div>Best,</div>
<div>David</div>
<div><br>
<div><span class="Apple-style-span" style="font-size: 12px;"> </span>
<div style="font-size: 12px;"><span class="Apple-style-span"
style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;">
<div style=""><span class="Apple-style-span"
style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span
class="Apple-style-span"
style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;"><span
class="Apple-style-span"
style="border-collapse: separate; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px;">
<div>
<div>----------------------------------------------------------------------------</div>
<div>David Remsen, Senior Programme Officer</div>
<div>Electronic Catalog of Names of Known Organisms</div>
<div>Global Biodiversity Information Facility Secretariat</div>
<div>Universitetsparken 15, DK-2100 Copenhagen, Denmark</div>
<div>Tel: +45-35321472 Fax: +45-35321480</div>
<div>Mobile +45 28751472</div>
<div>Skype: dremsen</div>
<div>----------------------------------------------------------------------------</div>
<div><br>
</div>
</div>
</span></span></span></div>
</span></div>
<span class="Apple-style-span" style="font-size: 12px;"> </span><br
class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</div>
<br>
<div>
<div>On 29 Apr 2011, at 22:21, Steve Baskauf wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div>I am playing around with Darwin Core Arcives, in
particular
the DwC-A <br>
Assistant (<a moz-do-not-send="true"
href="http://tools.gbif.org/dwca-assistant/">http://tools.gbif.org/dwca-assistant/</a>).
One thing that I am <br>
not exactly clear about is how to use the "Vocabulary" column in the <br>
assistant. The description that comes up when you mouse over the
column <br>
heading says that it should ideally be a URI that identifies the <br>
vocabulary and resolves to some machine readable form like RDF. So
what <br>
I'm wondering is whether I can put what effectively amounts to as a <br>
namespace in that spot. <br>
<br>
For example, a URI for the name "Acer rubrum L." that actually resolves
<br>
to RDF is:<br>
<a moz-do-not-send="true"
href="http://www.ubio.org/authority/metadata.php?lsid=urn:lsid:ubio.org:namebank:456216">http://www.ubio.org/authority/metadata.php?lsid=urn:lsid:ubio.org:namebank:456216</a><br>
I think that would qualify as a valid HTTP URI guid because it's the <br>
proxied form of an LSID. So I would like to use it as a value for the <br>
dwc:scientificNameID column in a DwC-A taxon record. However, the only
<br>
part of the identifier that makes the string unique within uBio's
domain <br>
is the last number - if I'm always using a uBio guid, the first <br>
approximately 75 characters will be the same for all of the guids. So <br>
can I just put <br>
<a moz-do-not-send="true" class="moz-txt-link-rfc2396E"
href="http://www.ubio.org/authority/metadata.php?lsid=urn:lsid:ubio.org:namebank:">"http://www.ubio.org/authority/metadata.php?lsid=urn:lsid:ubio.org:namebank:"</a>
<br>
in the Vocabulary column and then just put the locally unique numbers <br>
(e.g. "456216") in the column for dwc:scientificNameID? Should an <br>
application using a DwC-A file be smart enough to append the <br>
"vocabulary" string on the front of the actual value in the text file? <br>
Or is that not how the "Vocabulary" column is intended to be used?<br>
<br>
Steve<br>
<br>
-- <br>
Steven J. Baskauf, Ph.D., Senior Lecturer<br>
Vanderbilt University Dept. of Biological Sciences<br>
<br>
postal mail address:<br>
VU Station B 351634<br>
Nashville, TN 37235-1634, U.S.A.<br>
<br>
delivery address:<br>
2125 Stevenson Center<br>
1161 21st Ave., S.<br>
Nashville, TN 37235<br>
<br>
office: 2128 Stevenson Center<br>
phone: (615) 343-4582, fax: (615) 343-6707<br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://bioimages.vanderbilt.edu/">http://bioimages.vanderbilt.edu</a><br>
<br>
_______________________________________________<br>
tdwg-content mailing list<br>
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:tdwg-content@lists.tdwg.org">tdwg-content@lists.tdwg.org</a><br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.tdwg.org/mailman/listinfo/tdwg-content">http://lists.tdwg.org/mailman/listinfo/tdwg-content</a><br>
<br>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Steven J. Baskauf, Ph.D., Senior Lecturer
Vanderbilt University Dept. of Biological Sciences
postal mail address:
VU Station B 351634
Nashville, TN 37235-1634, U.S.A.
delivery address:
2125 Stevenson Center
1161 21st Ave., S.
Nashville, TN 37235
office: 2128 Stevenson Center
phone: (615) 343-4582, fax: (615) 343-6707
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://bioimages.vanderbilt.edu/">http://bioimages.vanderbilt.edu</a>
</pre>
</div>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Steven J. Baskauf, Ph.D., Senior Lecturer
Vanderbilt University Dept. of Biological Sciences
postal mail address:
VU Station B 351634
Nashville, TN 37235-1634, U.S.A.
delivery address:
2125 Stevenson Center
1161 21st Ave., S.
Nashville, TN 37235
office: 2128 Stevenson Center
phone: (615) 343-4582, fax: (615) 343-6707
<a class="moz-txt-link-freetext" href="http://bioimages.vanderbilt.edu">http://bioimages.vanderbilt.edu</a>
</pre>
</body>
</html>