- From: Dickinson, Ian J <Ian_J_Dickinson@hplb.hpl.hp.com>
- Date: Fri, 12 Jan 2001 16:19:39 -0000
- To: "'www-rdf-logic@w3.org'" <www-rdf-logic@w3.org>
- Message-ID: <5E13A1874524D411A876006008CD059F15C44E@0-mail-1.hpl.hp.com>
Folks - Attached is an XSL stylesheet for transforming the extended RDF syntax used in DAML collections to standard RDF using a recursive first/rest structure as suggested in the 2000/12 DAML reference. So far it has only been tested using Apache Xalan 1.2.2 (http://xml.apache.org/xalan/) on simple examples, but since the job it is doing is not very complex it should be fairly robust. Thanks to Dan C. for clarifications about the use of DAML collections in the reference document. In particular, following Dan's note, the following difference is assumed with daml+oil-ex.daml: C:\Projects\rdf>diff daml+oil-ex.daml.orig daml+oil-ex.daml 128,131c128,133 < <daml:Disjoint rdf:parseType="daml:collection"> < <rdfs:Class rdf:about="#Car"/> < <rdfs:Class rdf:about="#Person"/> < <rdfs:Class rdf:about="#Plant"/> --- > <daml:Disjoint> > <daml:equivalentTo rdf:parseType="daml:collection"> > <rdfs:Class rdf:about="#Car"/> > <rdfs:Class rdf:about="#Person"/> > <rdfs:Class rdf:about="#Plant"/> > </daml:equivalentTo> Comments and suggestions welcome. Cheers, Ian _______________________________________________________________________ Ian J. Dickinson HP Labs, Bristol, UK mailto:Ian_Dickinson@hp.com
Attachments
- application/octet-stream attachment: DamlCollection.xsl
- application/octet-stream attachment: session.log
Received on Friday, 12 January 2001 11:19:46 UTC