Assignment Module X65h

Marking Up Data with XML

About this document


Overview

This assignment consists of three parts:

  1. Study the Dublin Core Metadata Initiative's (DCMI) ontology
  2. Select ten movies from the Internet to code using DCMI
  3. Code the data using XML


Part 1: Study

Steps:

  1. Study the Dublin Core (DCMI) vocabulary using these references:
    1. Wikipedia "Dublin Core" article (http://en.wikipedia.org/wiki/Dublin_Core_Metadata_Initiative)
    2. Using Dublin Core (http://dublincore.org/documents/usageguide/)
    3. Guidelines for implementing Dublin Core in XML (http://dublincore.org/documents/2003/04/02/dc-xml-guidelines/)
    4. Dublin Core Metadata Element Set (http://dublincore.org/documents/dces/)
    5. DCMI Metadata Terms ( http://dublincore.org/documents/dcmi-terms/)
  2. You may find it helpful to print a copy of one or more of these references for use in the next part.


Part 2: Select

Steps:

  1. Go to any on-line movie information site(s) you like. Here are some suggestions:
    1. Common-Sense Media (http://www.commonsensemedia.org/movie-reviews/)
    2. Movie Review Query Engine (http://www.mrqe.com/)
    3. Internet Movie Database (http://www.imdb.com/)
    4. Rotten Tomatoes (http://www.rottentomatoes.com/)
  2. Pick ten movies to analyze.
  3. Jot down what you consider the most important facts about each. Aim for 8-10 facts about each film.


Part 3: Code

Steps:

  1. Analyze the data: decide how to apply the DCMI metadata terms to the facts about the movies.
  2. Make a note of any questions or uncertainties that come up as you try to fit the data with the metadata. What limitations do you encounter in the ontology? What is unclear in the guidelines and ontology description?
  3. Use this framework as the basis for an XML file:
    <?xml version="1.0"?>
    <metadata xmlns="http:/poggin.wccnet.edu/xml/movies/"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://example.org/myapp/
        http://example.org/myapp/schema.xsd"
      xmlns:dc="http://purl.org/dc/elements/1.1/"
      xmlns:dcterms="http://purl.org/dc/terms/">

      <movies>
        <movie>
          <!-- Your first movie data here -->
        </movie>

        <movie>
          <!-- Make copies of the movie element so you can add more movie info -->
        </movie>
      </movies>
    </metadata>
  4. Enter the data about each film with Dublin Core XML. You may use any editor you like, but if you have investigated generic XML editors, try one!
  5. When you are done, send your XML data file to the instructor by email. Include in the email all the questions and limitations that you came up with during your data analysis.

 


About This Document

Audience
This assignment is for people who have learned about simple XML coding and are ready to begin basic XML data analysis.
Objectives
On successful completion, you will be able to...
  1. Read and understand a widely-used metadata ontology
  2. Apply that ontology to a data set
Module X65h: Marking Up Data with XML
This document is part of a modular instruction series in Computer Instruction. For more information, see the overview or the list of modules in this series, X: XML, XHTML, DHTML, CSS. This document has been used in the following classes: CIS 179 .
Document History
Original: 2006-09-07
This version uploaded: Monday, 31-Aug-2009 11:48:08 EDT
Copyright © 2006, Laurence J. Krieg, Washtenaw Community College
Permissions
Instructors: You may point to this file in your Web-based materials; however, its location may change without notice.
Students: You are welcome to make a copy for your personal use.
All other uses: Please contact the author, Laurence J. Krieg, for permission: krieg@ieee.org.