W3C home > Mailing lists > Public > www-ws@w3.org > February 2003

Re: DAML-S: ObjectProperty vs ServiceParameters

From: David Martin <martin@ai.sri.com>
Date: Mon, 24 Feb 2003 07:11:14 -0800
Message-ID: <3E5A3612.EB1AEC86@ai.sri.com>
To: Daniel Elenius <danel698@student.liu.se>
CC: www-ws@w3.org

Daniel Elenius wrote:

> I am looking at ProfileHierarchy.daml, and I see that DAML+OIL
> ObjectProperty has been used to define properties of the example classes
> defined there. For example, Information_Service has "source", "topic"
> and "information_date" ObjectProperties. Shouldn't the more specific
> DAML-S ServiceParameter be used here?

Both approaches are valid.  Subclassing of  ObjectProperty is especially
appropriate when constructing a hierarchy of profiles - it allows for the
most direct use of DAML+OIL's facilities for property subclassing.
However, as noted in
http://www.daml.org/services/daml-s/0.7/ProfileHierarchy.html,
last paragraph, we recognize that for some situations, it may be preferred
to create a "flat" (non-hierarchical) organization of profiles.  I believe
ServiceParameter may be more useful in the flat approach.

Others may wish to comment further on the use of ServiceParameter.

Regards,
David Martin
Received on Monday, 24 February 2003 10:20:19 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 July 2007 12:25:41 GMT