Assignment Module X65h
Marking Up Data with XML
About this document
Overview
This assignment consists of three parts:
- Study the Dublin Core Metadata Initiative's (DCMI)
ontology
- Select ten movies from the Internet to
code using DCMI
- Code the data using XML
Part 1: Study
Steps:
- Study the Dublin Core (DCMI) vocabulary using these references:
- Wikipedia
"Dublin
Core" article (http://en.wikipedia.org/wiki/Dublin_Core_Metadata_Initiative)
- Using
Dublin Core (http://dublincore.org/documents/usageguide/)
- Guidelines
for implementing Dublin Core in XML (http://dublincore.org/documents/2003/04/02/dc-xml-guidelines/)
- Dublin
Core Metadata Element Set (http://dublincore.org/documents/dces/)
- DCMI
Metadata Terms ( http://dublincore.org/documents/dcmi-terms/)
- You
may find it helpful to print a copy of one or more of these references for use
in the next part.
Part 2: SelectSteps: - Go to any on-line movie
information site(s) you like. Here are some suggestions:
- Common-Sense
Media (http://www.commonsensemedia.org/movie-reviews/)
- Movie
Review Query Engine (http://www.mrqe.com/)
- Internet
Movie Database (http://www.imdb.com/)
- Rotten
Tomatoes (http://www.rottentomatoes.com/)
- Pick
ten movies to analyze.
- Jot down what you consider the most important
facts about each. Aim for 8-10 facts about each film.
Part 3: Code
Steps:
- Analyze the data: decide how to apply the DCMI metadata terms to the facts
about the movies.
- 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?
- 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>
- 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!
- 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...
- Read and understand a widely-used metadata ontology
- 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.
|