W3C home > Mailing lists > Public > public-sws-ig@w3.org > February 2006

RE: question about "Semantic Annotations for WSDL"

From: Shi, Xuan <xshi@GEO.WVU.edu>
Date: Tue, 28 Feb 2006 13:50:06 -0500
Message-ID: <D81F456794C18B4DA3E2ABC47DBBEEF2094F7B@www.geo.wvu.edu>
To: "'Rice, Ed (ProCurve) '" <ed.rice@hp.com>, "Shi, Xuan" <xshi@GEO.WVU.edu>, "'David Martin '" <martin@AI.SRI.COM>, "'public-sws-ig@w3c.org '" <public-sws-ig@w3c.org>

Dear Ed,

I want to know how many different ways for you or someone else to develop
such kind of Web services as you mentioned? If there are more than two ways
to develop the same Web services, then you will get more than two WSDL
documents. Since they are the same service and function, then they have the
same semantics. However, the content of WSDL documents is different. If you
want to describe the meaning of WSDL document, then the same service and
fucntion can be explained differently. On the other hand, different services
and functions can have the same interface, as demonstrated by those four
calculation services-the only difference is the name of the function.

That's why I asked Dr. Martin whether we want to discuss the meaning of a
WSDL document or the meaning of a Web service. It seems you want to explain
the meaning of a service, but if you associate it with the WSDL document,
the result will be different since the same service and function can be
developed, defined, described in different ways in such a decentralized
environment. For example, how can you define the meaning of "margin" as a
variable, a function, a service? In WSDL there are only names of varied
elements which are assigned randomly, which means you can rename "margin" as
"sales margin", "s_margin", "sales_margin", or whatever. In this case, do
you want to tell me they are all the same? If that's true, then we can
discuss another issue as I proposed to Dr. Martin that who can define the
semantics and why don't we share the semantics? But here you see again, the
meaning of service has no relation with the content inside WSDL interface
document.

SW technology is not appropriate for SWS because the ontology used in SW has
nothing about function and process but all about concepts as well as the
relationship among concepts. Unless we can find something new to define
service, function, process, not just the concepts used in defining the
variables in WSDL document, I don't think such effort is promising. As
referenced by McCool's paper "Rethinking the Semantic Web, Par I & II"
published by IEEE Internet Computing in the last issue of 2005 and first
issue of 2006, SW failed and will fail. Then what and how can we do
something different to develop SWS?

Best wishes,

Xuan

 

-----Original Message-----
From: Rice, Ed (ProCurve)
To: Shi, Xuan; David Martin ; public-sws-ig@w3c.org
Sent: 2/28/06 12:24 PM
Subject: RE: question about "Semantic Annotations for WSDL"


Dear Xuan,

I think your example explains exactly why we need "Semantic Annotations"
for the WSDL.  If as you say all web service combine two numbers and
return the result then the Annotations are all the more important.  If
we're going to discover a set of web services for use, its important to
understand the characteristics.

For example if you have a web service that returns sales margin, its
important to understand which 'margin' we're talking about.. Gross sales
subtracting cost of goods sold - vs. - Gross Sales minus (cost of goods
sold + fully loaded over-head).  Both of these could be a web service to
return 'cost of goods sold' but they would return very different
results.  

If I'm missing something, please let me know.

-Ed Rice
Hewlett Packard

-----Original Message-----
From: public-sws-ig-request@w3.org [mailto:public-sws-ig-request@w3.org]
On Behalf Of Shi, Xuan
Sent: Monday, February 27, 2006 7:07 PM
To: 'David Martin '; 'public-sws-ig@w3c.org '
Cc: Shi, Xuan
Subject: RE: question about "Semantic Annotations for WSDL"
Importance: High


Dear Dr. Martin,

If you and this group would like to discuss the semantics of WSDL other
than the semantics of Web service, then you can ignore the following
lines because I will demonstrate again that the meaning of the
element/component within WSDL interface document is NOT the meaning of
Web service.

Given a simple example, a Web service provides a function of addition
calculation. How many different ways can we try to build such a
function? I can give a list of functional interfaces as I discussed
before, and you may wish to add more:

Function addition (integer X, integer Y):integer Z Function addition
(double X, double Y):double Z Function addition (integer X[2]):integer Z
Function addition (double X[2]):double Z Function addition (number X,
number Y):number Z Function addition (object O):integer Z (O has
properties X, Y, or O has
X[2])
Function addition (string req):string resp (by SRR document) ... ...

What's the meaning of this service and function? The meaning of service
and function has any relationship with WSDL interface, process,
precondition, effect, etc.? 

As a common sense, the meaning of ALL such Web services is the same: it
will add two numbers and return the result back to requester. When you
add semantic annotations into WSDL, can you describe the meaning of this
Web service?

Let's change the function name into subtraction, multiplication, and/or
division. Then all elements in the WSDL document are the same except the
name of the function. Should you want to clarify that the X variables
used in every different function are all the same or not? It seems you
still care more about the name of the element inside a WSDL document,
not the meaning of Web service.

Let's design another Web service that will perform mixed calculation by
using the above four Web services. While we can design the interface of
such a service and function in many many different ways, the meaning of
this Web service is: if requesters send a number sentence to provider,
the provider will send back the result of the mixed calculation.

Do you think the provider should tell requester that the provider will
aggregate one or more Web services (addition, subtraction,
multiplication,
division) in the OWL-S approach, or how the provider will mediate the
four Web services in WSMO approach, to generate the result? 

In conclusion, the meaning of Web services has NO relation with both of
the WSDL interface and the aggregation/mediation process. Then I don't
think it's worthy to add semantic annotations for WSDL since such
activity cannot lead to the goal of semantic Web services.

Best wishes,

Xuan



-----Original Message-----
From: David Martin
To: public-sws-ig@w3c.org
Sent: 2/27/06 6:59 PM
Subject: question about "Semantic Annotations for WSDL"

Here is an important question about the proposed "Semantic Annotations
for WSDL" working group, about which I'd love to see some discussion.

The current draft charter is here:
   http://www.w3.org/2005/10/sa-ws-charter.html

Question:
     Does the envisioned approach provide a foundation that will be
     useful in working with, or evolving to, a more comprehensive
     framework, or simply a detour that will ultimately fall out of use
     (if Web service semantics become important)?

What's behind this question is the observation that, from a WSDL-centric
perspective, the semantic artifacts referenced by a WSDL spec will be
disconnected.  That is, from the point of view of a WSDL tool, they
won't exist in the same declarative scope. (Indeed, in this approach
there is *no* notion of declarative scope for the semantic artifacts,
from the WSDL perspective.)

One way to illustrate this concern is simply by observing that
preconditions and effects associated with services will frequently have
variables in common.  To have a coherent representational scheme, it is
of fundamental importance to spell out the relationship between variable
X mentioned in a precondition and variable X mentioned in an effect
expression.  From the perspective of a WSDL tool, there won't be any
basis for establishing or working with such a relationship.  So the
concern here is that a WSDL tool ultimately won't be able to do much

with the semantic declarations that are referenced.

Of course, the semantic framework underlying those declarations may
provide the basis that ties the semantic declarations together, and a
WSDL tool could build in some understanding about one or more of the
semantic frameworks that may be used in connection with WSDL.  But the
point is that it's not a WSDL tool anymore - it's a WSDL tool plus a
{UML or OWL-S or WSMO or SWSF or METEOR-S or ODESWS or ...} tool.  And
as far as I can tell, there won't be any meaningful connection between
the two tools.  The concern is that the proposed approach does not
appear to provide any path by which such a meaningful connection might
eventually be achieved.

Cheers,
David Martin
SRI International
Received on Tuesday, 28 February 2006 18:51:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:32:50 UTC