1 / 12

Metadata Michael J. Watts mike.watts.nz

Metadata Michael J. Watts http://mike.watts.net.nz. Lecture Outline. What is metadata? The need for metadata XML Metadata and XML Problems with XML. What is metadata?. Data about data Documentation about data Describes a set of data Source Dimensions Variables. What is metadata?.

demby
Download Presentation

Metadata Michael J. Watts mike.watts.nz

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Metadata Michael J. Watts http://mike.watts.net.nz

  2. Lecture Outline • What is metadata? • The need for metadata • XML • Metadata and XML • Problems with XML

  3. What is metadata? • Data about data • Documentation about data • Describes a set of data • Source • Dimensions • Variables

  4. What is metadata? • Describes an object • Owner • Location • Metadata has structure • Metadata can describe structure • Database schema

  5. The Need for metadata • Sufficiency • Can an object describe itself? • e.g., images • Scalability • Allows for rapid searching • Searching metadata fields vs large data files • Interoperability • Can exchange data using mutually agreed metadata formats

  6. XML • Extensible Markup Language • Uses tags to describe data elements • A standard defined by the W3C • Standard for data exchange over networks • Few predefined elements • Minimalist • A tree structure • Parent nodes, subnodes

  7. XML • Example XML document <address> <name> <title>Mr.</title> <firstname>John</firstname> <lastname>Smith</lastname> </name> <street-address>1000 Main Street</street-address> <city>Los Alamitos</city> <state>CA</state> <zip>90720</zip> </address> - Steven J. Vaughan-Nichols, “XML Raises Concerns as it Gains Prominence”, IEEE Computer, May 2003, pg14-16

  8. XML • Elements in XML described by a DTD • Document Type Definition • Describes elements • Name • Type • Format • Order

  9. XML • XML document is Well-formed if • Element tags are matched • The tags are closed correctly • XML document is Valid if • Structure conforms to the DTD

  10. Metadata and XML • The elements in an XML document describe the data • Elements are metadata • Grammar in the DTD describe the elements • Metadata for the elements • The flexibility of XML illustrates the use of metadata

  11. Problems with XML • Large files • Tags add bulk • Addressed with compression • Security • Files are plain text • Addressed with encryption

  12. Summary • Metadata is data about data • Needed to help with • describing data sets • searching for data • communicating data • XML is a metadata format • XML widely used to transfer data between systems

More Related