W3C home > Mailing lists > Public > w3c-rdfcore-wg@w3.org > June 2001

Re: #rdf-containers-syntax-ambiguity, #rdf-containers-syntax-vs-schema

From: Dan Connolly <connolly@w3.org>
Date: Wed, 13 Jun 2001 11:48:19 -0500
Message-ID: <3B279953.1F525386@w3.org>
To: Brian McBride <bwm@hplb.hpl.hp.com>, rdf core <w3c-rdfcore-wg@w3.org>
Dan Connolly wrote:
> 
> Brian McBride wrote:
> [...]
> > I think therefore there is a case to be made for simplifying this aspect of
> > the proposal so that rdf:li elements within a description are translated to
> > rdf:_nnn where nnn starts at 1 and is incremented by one for each rdf:li
> > encountered.
> 
> Yes, no more special cases than that, please.
> 
> In particular, this rule can be implemented straightforwardly
> using XPath; something like: count(previous-sibling::rdf:li).
> 
> > This the example given above:
> >
> >   <rdf:Bag>
> >     <rdf:li>1</rdf:li>
> >     <rdf:_10>10</rdf:li>
> >     <rdf:li>11</rdf:li>
> >   </rdf:Bag>
> >
> > would generate:
> >
> >   _:genid <rdf:type> <rdf:Bag>.
> >   _:genid <rdf:_1>   "1" .
> >   _:genid <rdf:_10>  "10" .
> >   _:genid <rdf:_11>  "2" .
> >

oops... no, it should generate

   _:genid <rdf:type> <rdf:Bag>.
   _:genid <rdf:_1>   "1" .
   _:genid <rdf:_10>  "10" .
   _:genid <rdf:_2>  "2" .

right?

(details details...)

--  
Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Wednesday, 13 June 2001 12:49:30 EDT

This archive was generated by hypermail pre-2.1.9 : Wednesday, 3 September 2003 09:37:07 EDT