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

Re: 2 Questions on Syntax

From: Eric Hellman <eric@openly.com>
Date: Wed, 1 Mar 2000 10:59:16 -0500
Message-Id: <v04220839b4e2e6a24ad4@[192.168.1.1]>
To: tony_hammond@harcourt.com, www-rdf-interest@w3.org
Hi Tony,

1. A container is a value; in your example, you have not specified 
which  property the  rdf:Seqs belong to.

There's no need to use containers if you just need to assert many properties.

You can do compact nesting by using parseType="Resource"

2. I'd love to see a clear statement about this from the real 
experts. My reading of the spec is that you can either use about="" 
to refer to the current document, or you can attach a BagID to any 
Description so that you can make assertions about the Description.

I assume you're using this for authority tracking. I haven't used 
BagID for  this because I've not studied how to backtrace the 
authority for a statement from a triple store produced from BagID. 
Someone on the list will be able say this is easy or not.

Eric

At 11:37 AM +0000 3/1/00, tony_hammond@harcourt.com wrote:
>Would appreciate any help on these 2 questions:
>
>1. RDF container syntax. If I have a nested structure of a resource which
>contains a sequence of resources each containing sequences of resources, etc,
>down to leaf resource nodes is there any more compact way of writing this than
>below - ie do I explicitly need <rdf:li> wrappers around the inner 
>resources (as
>members of an <rdf:Seq>) or is there some way of folding this in?
>
>
><rdf:Description about="uri10" s:P1="val" s:P2="val" ...>
>   <rdf:Seq>
>     <rdf:li>
>       <rdf:Description about="uri11" s:P3="val" s:P4="val" ...>
>         <rdf:Seq>
>           <rdf:li>
>             <rdf:Description about="uri12" s:P5="val" s:P6="val" .../>
>           </rdf:li>
>           <rdf:li>
>             <rdf:Description about="uri13" s:P5="val" s:P6="val" .../>
>           </rdf:li>
>           [etc]
>         </rdf:Seq>
>       </rdf:Description>
>     </rdf:li>
>     <rdf:li>
>       <rdf:Description about="uri14" s:P3="val" s:P4="val" .../>
>     </rdf:li>
>     [etc]
>   </rdf:Seq>
></rdf:Description>
>
>2. If I want to include a description about the RDF metadata itself, do I have
>something like below where the first statement is about the RDF itself and the
>following statements are about the external resources that the RDF is
>describing.
>
><rdf:Description about="" s:P .../>
><rdf:Description about="uri" s:P1 ...>
>...
></Description>
>
>
>Thanks,
>Tony

Eric Hellman
Openly Informatics, Inc.
http://www.openly.com/           21st Century Information Infrastructure
LinkBaton: Your Shortcuts to Information  http://linkbaton.com/
Received on Wednesday, 1 March 2000 10:59:23 GMT

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