W3C home > Mailing lists > Public > www-rdf-interest@w3.org > January 2000

RDF correctness?

From: Will Sargent <wsargent@atg.com>
Date: Mon, 24 Jan 2000 13:38:44 -0800
To: "RDF mailing list" <www-rdf-interest@w3.org>
Message-ID: <NDBBJJDHEMIGODPPOJBBGEALCBAA.wsargent@atg.com>

I have to admit I'm confused when it comes to writing out RDF.  I understand
the simple conventions for writing out data, but I don't understand how that
data is linked together.

I'm writing RDF in this format to describe a folder which contains a list of
bookmarks.  I write out the list first as a sequence that links to RDF
descriptions, then provide the descriptions for the bookmarks.  Is this
right?
How is this different than providing the descriptions embedded in the
sequence itself?

Are there any good RDF example pages around I'm afraid the about attribute
defined in the Model and Syntax Specification didn't make much sense to me,
and I'm still not clear on the difference between ID, resource and about.

Will.

This is an example of the data I'd like to send.

<?xml version="1.0"?>
<rdf:RDF xmlns:bp="http://tersesystems.com/metadata/bookie#"
         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">

<!-- a folder containing bookmarks -->
<RDF:Description RDF:ID="folderid">
	<RDF:Seq>
	 <RDF:li resource="somebookmark">
	 <RDF:li resource="somefolder">
	</RDF:Seq>
</RDF:Description>

<RDF:Description about="somebookmark">
  <bp:node_type>bookmark</bp:node_type>
  <bp:url>http://www.w3.org</bp:url>
</RDF:Description>


<RDF:Description about="somefolder">
  <bp:node_type>folder</bp:node_type>
</RDF:Description>

</rdf:RDF>

Received on Monday, 24 January 2000 16:38:49 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:51:42 GMT