W3C home > Mailing lists > Public > www-rdf-logic@w3.org > January 2001

Re: Bugs in 2000/12 daml+oil reference on DAML collections

From: Peter F. Patel-Schneider <pfps@research.bell-labs.com>
Date: Fri, 12 Jan 2001 12:11:45 -0500
To: Ian_J_Dickinson@hplb.hpl.hp.com
Cc: www-rdf-logic@w3.org
Message-Id: <20010112121145Q.pfps@research.bell-labs.com>
From: "Dickinson, Ian J" <Ian_J_Dickinson@hplb.hpl.hp.com>
Subject: Bugs in 2000/12 daml+oil reference on DAML collections
Date: Fri, 12 Jan 2001 10:54:20 -0000

> 
> Folks -
> 
> The second problem is that it would be nice if we could apply a simple
> syntactic transformation to remove the parseType daml:collection's before
> parsing with a standard RDF parser (as suggested in the reference document).
> This is made more difficult because parseType daml:collection is applied to
> both properties and instances in slightly different ways.
> 
> For example, the e.g. in the reference document uses the oneOf property. The
> example translates:
> 
> <oneOf rdf:parseType="daml:collection">
>   <Thing rdf:resource="#red"/>
>   <Thing rdf:resource="#white"/>
>   <Thing rdf:resource="#blue"/>
> </oneOf>
> 

I think that this should read

<oneOf>
 <List rdf:parseType="daml:collection"> 
  <Thing rdf:resource="#red"/>
  <Thing rdf:resource="#white"/>
  <Thing rdf:resource="#blue"/>
 </List
</oneOf>

which might make the translations easier

peter
Received on Friday, 12 January 2001 12:13:21 GMT

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