W3C home > Mailing lists > Public > www-ws@w3.org > December 2002

Re: DAML CongoProcess example question

From: Monika Solanki <monika@dmu.ac.uk>
Date: Thu, 05 Dec 2002 22:28:01 +0000
Message-ID: <3DEFD2F1.5040402@dmu.ac.uk>
To: Vera Zaychik <vzaychik@atl.lmco.com>, www-ws <www-ws@w3.org>
  I guess, the following line of code needs to be inserted before the 
closing tag


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



Vera Zaychik wrote:

>here is an excerpt from CongoProcess.daml defining PutInCart atomic
><daml:Class rdf:ID="PutInCart">
> <rdfs:subClassOf
> <rdfs:subClassOf>
>  <daml:Restriction>
>   <daml:onProperty
><daml:sameValuesAs rdf:resource="#fullCongoBuyBookName" /> 
>  </daml:Restriction>
> </rdfs:subClassOf>
>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?
>Vera Zaychik

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/ 
"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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:37:08 UTC