2 Questions on Syntax

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

Received on Wednesday, 1 March 2000 06:32:45 UTC