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

2 Questions on Syntax

From: <tony_hammond@harcourt.com>
Date: Wed, 1 Mar 2000 11:37:01 +0000
To: www-rdf-interest@w3.org
Message-ID: <85256895.003E06B9.00@harcourtbrace.com>



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 GMT

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