W3C home > Mailing lists > Public > www-tag@w3.org > November 2002

Re: My action item on RDDL/RDF

From: Jonathan Borden <jonathan@openhealth.org>
Date: Mon, 11 Nov 2002 19:09:40 -0500
Message-ID: <026601c289df$cb933610$7c674544@ne.mediaone.net>
To: "Paul Prescod" <paul@prescod.net>, "Tim Bray" <tbray@textuality.com>, "WWW-Tag" <www-tag@w3.org>

Paul Prescod wrote:
> I think that this is roughly what the N3 would translate into as RDF.
>
> <rdf:RDF
>      xmlns:rddl="http://www.rddl.org/"
>      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
>
>      <rdf:Description rdf:about="http://www.prescod.net/sometargetns#">
>          <rddl:resource
>              rdf:resource="#dtd"/>
>          <rddl:resource
>              rdf:resource="#relaxng"/>
>          <rddl:resource
>              rdf:resource="#xhtml"/>
>      </rdf:Description>
>
>      <rdf:Description rdf:ID="dtd">
>          <rddl:description>A DTD for the L language.</rddl:description>
>          <rddl:href rdf:resource="http://example.org/schemas/L.dtd"/>
>          <rddl:nature
>
rdf:resource="http://www.isi.edu/in-notes/iana/assignments/media-types/appli
cation/xml-dtd"/>
>          <rddl:purpose
> rdf:resource="http://www.rddl.org/purposes#validation"/>
>          <rddl:title>DTD</rddl:title>
>      </rdf:Description>
>
>      <rdf:Description rdf:ID="relaxng">
>          <rddl:description>A Relax NG Schema for the L
> language.</rddl:description>
>          <rddl:href
>              rdf:resource="http://example.org/schemas/L.rng"/>
>          <rddl:nature"
>              rdf:resource="http://relaxng.org/ns/structure/1.0"/>
>          <rddl:purpose
>              rdf:resource="http://www.rddl.org/purposes#validation"/>
>          <rddl:title xmlns="rddl:">Relax NG Schema</rddl:title>
>      </rdf:Description>
>
>      <rdf:Description rdf:ID="xhtml">
>          <rddl:description>Reference documentatin for L, in
> XHTML.</rddl:description>
>          <rddl:href
>              rdf:resource="http://example.org/schemas/L.html"/>
>          <rddl:nature
>              rdf:resource="http://www.w3.org/1999/xhtml"/>
>          <rddl:purpose
>              rdf:resource="http://www.rddl.org/purposes#reference"/>
>          <rddl:title xmlns="rddl:">User Documentation</rddl:title>
>      </rdf:Description>
>
> </rdf:RDF>
>

I like this variant. It seems readable. It also ties the declared resources
to namespace local names and the names to the namespace itself. It has both
good syntax and is a good model of a namespace.

Jonathan
Received on Monday, 11 November 2002 19:29:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 26 April 2012 12:47:12 GMT