- From: Monika Solanki <monika@dmu.ac.uk>
- Date: Thu, 05 Dec 2002 22:28:01 +0000
- To: Vera Zaychik <vzaychik@atl.lmco.com>, www-ws <www-ws@w3.org>
- Message-ID: <3DEFD2F1.5040402@dmu.ac.uk>
I guess, the following line of code needs to be inserted before the closing tag </daml:Restriction> <daml:sameValuesAs rdf:resource="#fullCongoBuyBookName" /> as the restriction on the input to this class is the same as the name of the book. Hope this helps. (see the changed code below ) Cheers!!! Monika Vera Zaychik wrote: >Hello, > >here is an excerpt from CongoProcess.daml defining PutInCart atomic >process: ><daml:Class rdf:ID="PutInCart"> > <rdfs:subClassOf >rdf:resource="http://www.daml.org/services/daml-s/0.7/Process.daml#AtomicProcess"/> > > <rdfs:subClassOf> > <daml:Restriction> > <daml:onProperty >rdf:resource="http://www.daml.org/services/daml-s/0.7/Process.daml#input"/> ><daml:sameValuesAs rdf:resource="#fullCongoBuyBookName" /> > </daml:Restriction> > </rdfs:subClassOf> ></daml:Class> > >Now, here's a question. Is that a valid DAML? Any restriction on >property is supposed to be to something, either value or class or >cardinality. Right? What is this restriction restricting? > >Thanks, >Vera Zaychik >LM ATL > -- >**<>**<>**<>**<>**<>**<>**<>**<>**<>**< Monika Solanki De Montfort University Software Technology Research Laboratory Hawthorn building, H00.18 The Gateway. Leicester LE1 9BH, UK phone: +44 (0)116 250 6170 intern: 6170 email: monika@dmu.ac.uk <mailto:monika@dmu.ac.uk> web: http://www.cse.dmu.ac.uk/~monika/ <http://www.cse.dmu.ac.uk/%7Emonika/> >**<>**<>**<>**<>**<>**<>**<>**<>**<>**< "NOTE: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer"
Received on Thursday, 5 December 2002 17:25:28 UTC