Home

Chapter 5. Metadata Schemas

Chapter 5 section titles

5.1 Background
5.2 Resource Identification
5.3 Namespaces
5.4 Schema Encoding
5.4.1 Relational Schema
5.4.2 XML Schema
5.4.3 Schema Encoding in Mixed Namespaces
5.5 Encoding Examples of Metadata Standards
5.5.1 Dublin Core Schemas
5.5.2 EAD3 XML Schema
5.6 Summary

Links to sources

Web pages host specifications (schemas and documentations)

EAD

MARCXML

MADS

CDWA Lite

LIDO

VRA Core 4.0

DC Terms

TABLE 5-2-1. A list of digital identifier systems for people, organizations, and objects

Digital Object Identifier (DOI). Try search doi:10.10.1038/nphys1170 (Journal article) || doi:10.1594/PANGAEA.726855 (Dataset)

International Standard Name Identifier (ISNI). Try: http://www.isni.org/isni/000000035258934X & find on VIAF https://viaf.org/viaf/sourceID/ISNI|000000035258934X

Open Researcher and Contributor ID (ORCID). Try: http://orcid.org/0000-0002-7094-2867 and http://orcid.org/0000-0003-1977-018X

ResearcherID. Try: http://www.researcherid.com/rid/G-6513-2010 and http://www.researcherid.com/rid/H-5138-2011

Ten Rules for Persistent URIs ..... 234

Europeana Data Model (EDM) Documentation ..... 244
EDM XML Schema (xsd file) || all EDM Schema files || EDM Validation 

Dublin Core XML Schemas ..... 246

EAD 2002 Schema......247

EAD3 XML Schemas ......247-248
- Figure 5-5-3 The top layer structure of EAD3 Schema ......247
- Figure 5-5-4 Portion of EAD3 XML schema ......248
- Figure 5-5-5 The <accessrestrict> element definition in EAD3 XML schema

DLESE ADN Metadata Framework version 0.6.50 .....244

 

Exercises

A wide variety of XML tools are available from the W3C XML Schema website, https://w3.org/XML/Schema#Tools. Choose one from the tool list, such as XMLSpy or the <oXygen/> XML Editor, and install it on your computer prior to practicing the exercises for this chapter. For XML schema and record examples, refer to the W3Schools’ “XML Schema Tutorial” listed in the suggested readings.

1. Create an XML schema and apply to metadata creation

1). Many online music sites offer brief descriptions for albums and information
on the tracks contained in these albums (e.g., in CD format).

The following descriptive elements are typical data presented to users:

  • Artist (or artists) • Date of release • Rating
  • Album title • Publisher • Track names
  • Genre • Price

Before you start creating the schema file, analyze these eight elements to determine:

a) whether there are any sub-elements or whether an element
needs a set of predefined values (enumerated values),
b) whether an element is mandatory or optional, and
c) whether an element is repeatable.

Use an XML editor (e.g., XMLSpy or <oXygen/> XML Editor) to start a new schema file in either the text-view or graphic-view interface. Define each element (including sub-elements, if any) with a name and annotation (for definition), and specify mandatory/optional conditions and cardinalities (number of occurrences). Upon completion, make sure to save the file in .xsd format.

2). Choose an album for which to create an XML record using the schema you built for exercise 1. To start a new XML file, select File -- New in the XML software you installed on your computer. When you are prompted for a schema, select the schema file and start entering data. This time, make sure to save the file in .xml format.

3). When an album contains multiple tracks, some songs may have different composers, arrangers, lyricists, and performers. Do you think the schema you created for exercise 1 will be sufficient for describing albums with multiple tracks and multiple creators, contributors, and performers? If not, how will you modify your XML schema to meet the description needs? Briefly explain your rationale for either a modification or for making no changes.

4). Revise (as necessary) the XML schema you created for exercise 1 based on your analysis in exercise 3 to accommodate description needs for albums with multiple tracks and multiple creators, contributors, and performers. Whether or not you have made changes to accommodate these needs, in the revised XML schema, you will need to incorporate at least two elements from the DC namespace and create a namespace for your homegrown elements, which will include both those from exercise 1 and (if applicable) any new elements in the revised version. Make sure to save the new version in .xsd format, with a clearly marked version number.

5). Create an XML record for an album using the XML schema from exercise 4. The chosen album must have multiple tracks and multiple composers, arrangers, lyricists, and performers.

2. Create an XML schema for the chapter 4 exercise

Create an XML schema for the element set you developed in the chapter 4 exercise. In addition, apply the schema to create two description sets (records) for two items you used in the chapter 4 exercise.

Readings

Archer, Phil, Stijn Goedertier, and Nikolaos Loutas. 2012. D7.1.3 — Study on Persistent URIs, with Identification of Best Practices and Recommendations on the Topic for the MSs and the EC. European Commission, Interoperability Solutions for European Public Administrations (ISA) Programme. https://joinup.ec.europa.eu/sites/default/files/document/2013-02/D7.1.3%20-%20Study%20on%20persistent%20URIs.pdf.

Costello, Roger L. 2006. "XML Schemas: Best Practices." http://www.xfront.com/BestPracticesHomepage.html.

Refsnes Data. 2021. "XML Schema Tutorial." W3Schools. https://www.w3schools.com/xml/schema_intro.asp.

Schreiber, Guus, and Yves Raimond. 2014. “RDF 1.1 Primer.” W3C Working
Group Note 24 June 2014. https://www.w3.org/TR/rdf11-primer/.

Srivastava, Rahul. 2007. "XML Schema: Understanding Namespaces." Oracle Technology Network. http://www.oracle.com/technetwork/articles/srivastava-namespaces-092580.html.

van der Vlist, Eric. 2001. "Using W3C XML Schema." XML.com. http://www.xml.com/pub/a/2000/11/29/schemas/part1.html.

W3C. 1999. XML Schema Requirements. W3C Note 15 February 1999. http://www.w3.org/TR/NOTE-xml-schema-req.

W3C. 2004. XML Schema Part 0: Primer Second Edition. W3C Recommendation 28 October 2004. http://www.w3.org/TR/xmlschema-0/.