Re: My action item on RDDL/RDF

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 UTC