W3C home > Mailing lists > Public > public-sws-ig@w3.org > October 2004

service VS profile specialization

From: Olivier Dameron <dameron@smi.stanford.edu>
Date: Tue, 12 Oct 2004 15:59:19 -0700
To: public-sws-ig@w3.org
Message-Id: <20041012155919.2a137ea5.dameron@smi.stanford.edu>

   I am not sure what is the best practice for modelling a kind of
services (e.g. BankingService that would subsume Deposit, Withdrawal or

Alternative 1:
BankingService is a subclass of service:Service
No constraint is specified on the profiles presented by BankingService

Alternative 2:
BankingProfile is a subclass of profile:Profile
We only create an instance of serviceService, that presents some
instances of BankingProfile (and possibly some other instances of
This is the approach taken by BravoAir

Alternative 3:
Combine the previous two by defining BankingService as a subclass of
service:Service, and BankingProfile as a subclass of profile:Profile.
Moreover, we enforce that a banking service must present at least one
banking profile (and respectively that a DepositService must present at
least one DepositProfile...)

The last alternative seems to be the most complete, but requires to
maintain some similar taxonomical hierarchies for the service and the
profile (e.g. DepositService < BankingService; WithdrawalService <
BankingService; LoanService < BankingService; DepositProfile <
BankingProfile; WithdrawalProfile < BankingProfile; LoanProfile <
So, is the service taxonomy useful, or are service just meant to be
container for their profiles, their model and their groundings ?

Thank you,
Received on Tuesday, 12 October 2004 23:04:13 UTC

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