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


From: Thomi Pilioura <thomi@di.uoa.gr>
Date: Fri, 6 Dec 2002 20:31:34 +0200
To: <www-ws@w3.org>

Hi all,

I'm a beginner with Daml-s and would appreciate some insight with answers to
the following questions:

I have read in "DAML Services Coalition, DAML-S: semantic markup for web
services" that

the class ParameterDescription provides values to inputs and outputs and
more specifically
-	restrictedTo provides a restriction on the values of the input or output.
-	refersTo provides a reference to the input or output in the process model.

From the examples I understand that restrictedTo refers to a concept of an
ontology. However, I don't understand the use of the refersTo construct. Why
do we need to reference the input/output of the process model?

Let us consider a stock quote service, which takes as input a string
denoting the stock symbol and returns the stock quote as a number. I would
like to use DAML-S to describe both syntactic and semantic information about
the service. The syntactic information denotes that the input parameter is a
string and the output is a number, whereas semantic information conveys the
real world meaning of the string and the number in the context of stock
quote markets. So how do I express this in DAML-S supposed that I have an
ontology describing financial terms.

Can I use ServiceProfile for expressing both semantic and syntactic
information or do I need to use ServiceGrounding for the syntactic

Is it right to use

-restrictedTo for expressing semantic information i.e. denoting that the
input of the service is a stock symbol (concept contained in the ontology)
-refersTo for expressing syntactic information i.e. denoting that the input
of the service is a string?

I think that a daml-s excerpt for the above example would make things more
clear for me.

Thank you in advance,
Received on Friday, 6 December 2002 13:38:47 UTC

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