W3C home > Mailing lists > Public > www-rdf-interest@w3.org > October 2001

Re: trees

From: Chris Croome <chris@webarchitects.co.uk>
Date: Mon, 29 Oct 2001 20:23:30 +0000
To: RDF-Interest <www-rdf-interest@w3.org>
Message-ID: <20011029202330.J23924@webarchitects.co.uk>

On Tue 23-Oct-2001 at 10:42:45 +0200, Danny Ayers wrote:
> Has anyone here done or seen work about the general task of
> representing hierarchical structures in RDF - like DMOZ in practice?
> I would very much appreciate references to suchlike.

I have used a couple of DC relations to describe parent and child
documents, for example in this RDF file;

I have this:

   <rdf:Description rdf:about="http://mkdoc.com/">
     <dc:title xml:lang="en-gb">MKDoc</dc:title>
     <rdfs:Comment xml:lang="en-gb">MKDoc is the parent document of Features.</rdfs:Comment>

       <rdf:Description rdf:about="http://mkdoc.com/features/accessibility/">
         <dc:title xml:lang="en-gb">Accessibility</dc:title>
         <rdfs:Comment xml:lang="en-gb">Accessibility is a child document of Features.</rdfs:Comment>

       <rdf:Description rdf:about="http://mkdoc.com/features/breadcrumb/">
         <dc:title xml:lang="en-gb">Breadcrumb-Trail Navigation</dc:title>
         <rdfs:Comment xml:lang="en-gb">Breadcrumb-Trail Navigation is a child document of Features.</rdfs:Comment>


I don't think that this is a great way to do this but I couldn't think
of anything better... Suggestions are welcome!

Since you can use link rel's in (X)HTML for parent [1], child [2] and
sibling [3] I think that it would be great if there was a way to
represent rel's in RDF...


[1] http://fantasai.tripod.com/qref/Appendix/LinkTypes/ltdef.html#parent

[2] http://fantasai.tripod.com/qref/Appendix/LinkTypes/ltdef.html#child

[3] http://fantasai.tripod.com/qref/Appendix/LinkTypes/ltdef.html#sibling

Chris Croome 
Received on Monday, 29 October 2001 15:23:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:07:38 UTC