EML mapping question.
Christopher Jones
cjones at lifesci.ucsb.edu
Mon Nov 18 21:50:09 PST 2002
David,
Here's my take, and I welcome any corrections if I've done any poor
interpreting of EML constructs...
In short, you need eml-literature for your citation.
Here's the babbling answer:
Both eml-dataset and eml-literature are considered top level resources
(as are eml-software and eml-protocol). They extend the eml-resource
schema by providing additional content that is dataset or literature
(citation) specific.
In packages marked up with EML2.0.0beta6 and earlier, a literature
document was "related" to a dataset document through the <triple>
construct. However, with further development of EML, the community has
decided to replace the RDF-like triples by adopting the XMLSchema
approach to relating XML trees to each other by referencing 'id'
attributes within a *single document* that uniquely identify a tree of
elements. This is now done through the <additionalMetadata> tag, with
it's <describes> child tag.
To mark up a single EML package (i.e. <eml> ...metadata and/or data ...
</eml> that includes both a <dataset> tree and a <citation> tree, it
would look something like the following (notice the id's and the
namespace declarations, they are critical for validation):
<?xml version="1.0"?>
<eml:eml
packageId="eml.1.1" system="knb"
xmlns:eml="eml://ecoinformatics.org/eml-2.0.0rc3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ds="eml://ecoinformatics.org/dataset-2.0.0rc3"
xmlns:stmml="http://www.xml-cml.org/schema/stmml"
xsi:schemaLocation="eml://ecoinformatics.org/eml-2.0.0rc3 eml.xsd">
<dataset id="1555">
<!-- all the required eml-dataset elements go in here ... -->
</dataset>
<additionalMetadata>
<describes>
1555
</describes>
<cit:citation id="345" scope="document"
xmlns:cit="eml://ecoinformatics.org/literature-2.0.0rc3"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="eml://ecoinformatics.org/literature-2.0.0rc3
eml-literature.xsd">
<!-- all the required eml-literature elements go in here ... -->
</cit:citation>
</additionalMetadata>
</eml:eml>
The semantic nature of the relationship between the two trees isn't
explicitly stated, as was the intention of the whole <triple> approach,
but I think that it can be inferred by the namespace declaration for the
<citation> tag. This lets processing systems know to treat the tree as
a citation, and render it as such in some GUI app.
I've checked a sample document into CVS (in the eml/test directory)
called eml-datasetWithCitation.xml that is a validating sample of what I
think you may be asking for here.
Cheers,
Chris
David Blankman wrote:
> Below is a metadata document from the McMurdo LTER site. In the
> document they have a section called "CITATION".
> * CITATIONS: *Spaulding, Sarah A, Diane M. McKnight, Richard L. Smith
> and Richard Dufford. 1994. Phytoplankton population dynamics in
> perennially ice-covered Lake Fryxell, Antarctica. Journal of Plankton
> Research. Vol.16 no.5 pp.527-541.
>
_________________________________________________________________
christopher jones cjones at lifesci.ucsb.edu (805) 893-5144
marine science institute university of california, santa barbara
_________________________________________________________________
More information about the Eml-dev
mailing list