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

Help ! Still not getting it !

From: <tony_hammond@harcourt.com>
Date: Thu, 2 Mar 2000 13:43:58 +0000
To: eric@openly.com, caro@adobe.com
cc: www-rdf-interest@w3.org
Message-ID: <85256896.0049C321.00@harcourtbrace.com>


Eric, Perry:

Many thanks for your answers - but I'm still not getting it! You say that the
rdf:Seq's (in my example #1) need to refer to a property. I thought the idAttr
was optional and that the rdf:Seq would just act as sequence assertions on inner
resource descriptions. (Nesting occurs over many levels - the current example is
just for 3 levels.) But it obviously doesn't work . (Tried it against the
ICS-FORTH Validating RDF Parser.) So recasting (as #2) as a series of
descriptions which relate external resources to internal IDs and following up
with the containerization model as a nested series of rdf:Seq's with ID's (and
empty rdf:Seq's for leaf nodes) seems to work OK. But it's awfully long-winded.
Is there no way of combining the descriptions with the container model? I kind
of wanted to assert that all of the inner resources had sequential properties.

You couldn't give me an example of how to modify #1, could you? Would be much
appreciated.

Thanks,
Tony

# 1 #################################################################

<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 #################################################################

<rdf:Description about="#id10">
  <rdf:value>
    <rdf:Description about="uri10" s:P1="val" s:P2="val" .../>
  </rdf:value>
</rdf:Description>

<rdf:Description about="#id11">
  <rdf:value>
    <rdf:Description about="uri11" s:P3="val" s:P4="val" .../>
  </rdf:value>
</rdf:Description>

<rdf:Description about="#id12">
  <rdf:value>
    <rdf:Description about="uri12" s:P5="val" s:P6="val" .../>
  </rdf:value>
</rdf:Description>

<rdf:Description about="#id13">
  <rdf:value>
    <rdf:Description about="uri13" s:P5="val" s:P6="val" .../>
  </rdf:value>
</rdf:Description>

<rdf:Seq ID="id10">
  <rdf:li>
    <rdf:Seq ID="id11">
      <rdf:li>
        <rdf:Seq ID="id12"/>
      </rdf:li>
      <rdf:li>
        <rdf:Seq ID="id13"/>
      </rdf:li>
      [etc]
    </rdf:Seq>
  </rdf:li>
  <rdf:li>
    <rdf:Seq ID="id14"/>
  </rdf:li>
  [etc]
</rdf:Seq>

# - #################################################################
Received on Thursday, 2 March 2000 08:41:03 GMT

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