internet.com

Go to WebDeveloper Home

Biz Resources
Ecommerce Hosting
Dedicated Server Hosting
Data Recovery Services

hm-v6-139x61.gif

Database Journal: The Knowledge Center for Database Professionals

find a web host with:
CGI Access
DB Support
NT Servers
UNIX Servers
Telnet Access

advanced search
jobs

Get FREE Development Info via your Email!

The Webdeveloper channel
FlashKit
GIF.com
HiermenusCentral
webdeveloper Jobs
Java Boutique
JavaScript.com
JavaScript Source
ScriptSearch
StreamingMedia World
WDJ
WDVL
WebDeveloper.com
WebReference.com
XMLFiles.com

internet.com
Internet News
Internet Investing
Internet Technology
Windows Internet Tech.
Linux/Open Source
Web Developer
ECommerce/Marketing
ISP Resources
ASP Resources
Wireless Internet
Downloads
Internet Resources
Internet Lists
International
EarthWeb
Career Resources

Search internet.com
Advertise
Corporate Info
Newsletters
E-mail Offers

internet.commerce
Be a Commerce Partner
Web Hosting Directory
Promotional Golf
Boat Donations
GPS Devices
Disney World Tickets
Cell Phones
Laptop Batteries



 
THE XML FILES
A WebDeveloper.com Feature

Getting Deep Into Metadata
Part 2

By Nate Zelnick

The code, boss, the code!

RDF does this with a very simple model for describing the relationship between an object, called a node and some piece of information about it, called a property. The property is given context by a node subset called a PropertyType

An object is referenced by its location, described by its Uniform Resource Identifier (URI). URLs are one type of URIs and is described by its properties. So, the authorship of an article called "RDF Emerges in Metadata Explosion" in the online newspaper called The Foo York Times, written by Lance Foobar could be described like this:


[http://www.fooyorktimes.com/RDF.html] --->Author--->"Lance Foobar"

As you can see from this simple example, the basic idea of RDF is that "resources (URIs)" have "properties (canonical values)" that consist of "propertyTypes (Author, Title, etc.)". These values are called triples.

If we add another property and PropertyType of the URI above so that it reads like this:

[http://www.fooyorktimes.com/RDF.html] --->Title--->"RDF Emerges in Metadata Explosion"
                                      |--->Author-->"Lance Foobar"
Then this set of multiple triples is known as a "description." Descriptions can also be nodes, so that collections of properties for a URI can be referenced as a single thing that itself has properties. Descriptions, all of the properties that are used to describe them and the canonical value of the properties together are known as a Bag.

PropertyTypes are based on specific named elements that are defined in schemas and will require the Namespace specification that is also being worked on by the W3C. Namespaces are needed to avoid having two PropertyTypes with the same name, but different semantics.

As it stands now, RDF will be expressed in XML in something like the following:

<?xml:namespace name="http://www.fooyorktimes.com/WhoWeAre.html" as="FYT"?> 
<?xml:namespace name="http://www.w3.org/TR/WD-rdf-syntax#" as="RDF"?>
<RDF:RDF> 
  <RDF:Description FYT:HREF="http://www.fooyorktimes.com/RDF.html"> 
    <FYT:writer>Lance Foobar 
  </RDF:Description> 
</RDF:RDF>
What this is saying is the same thing as the diagrams above, but the RDF expression in XML also shows how the particular semantics for "Lance Foobor is the writer of http://www.fooyorktimes.com/RDF.html" knows what a writer is. In this case it is getting the RDF semantics from the linked schema called RDF and getting the semantics for Writer from the Foo York Times' page WhoWeAre.html.

This is confusing, I know, but most likely RDF will not be written or consumed by hand. It will be a way for applications to automatically parse XML data and also have some smarts about how to organize the structured content.

Next week: some XML examples you can use today.

Fast Jump to Anywhere on WebDeveloper.com®:





JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: HyperV-The Killer Feature in WinServer ‘08
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Win Server ‘08
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES

Contact the WebDeveloper.com® staff

Last modified: Friday, 03-Aug-2001 11:43:40 EDT

 

Refresh Daily
Join Editor-in-Chief David Fiedler The Editor With No Time and find truth, justice, and a clue or two.


Browse by Category
[ Site Map ]

ActiveX / VBscript
Animated GIF Archive
Browsers
CGI / Perl
Database Connectivity
E-Commerce
HTML-Advanced: DHTML, CSS
HTML / Site Authoring Tools
Intranet/Groupware
Java
JavaScript
Multimedia: Audio / Video / Streaming Technologies
Opinions
Refresh Daily: Editorial Column
Security
Servers & Server Tools
Site Design / Graphics
Site Management / Marketing / Log File Analysis
VRML / 3D
XML