Presentation is loading. Please wait.

Presentation is loading. Please wait.

DAML-S: Sematic Markup for Web Services Zhou Jiefeng CS595 Nov. 25t.

Similar presentations


Presentation on theme: "DAML-S: Sematic Markup for Web Services Zhou Jiefeng CS595 Nov. 25t."— Presentation transcript:

1 DAML-S: Sematic Markup for Web Services Zhou Jiefeng CS595 Nov. 25t

2 Outline Introduction Motivating task examples Upper ontology for services Language Specification

3 Introduction Access Web resources by content rather than by keywords Web resources ----services, not only the static information but allow one to effect some action or change in the real world DAML (DARPA Agent Markup Language) ---- A new generation of Web markup language

4 Introduction Goal: enable user to locate, select, employ, compose, and monitor Web- based services automatically Goal: establish a framework within which computer-interpretable description of the service are made and shared

5 Motivating task examples Automatic Web service discovery Automatic Web service invocastion Automatic Web service composition and interoperation Automatic Web service execution monitoring

6 Upper ontology for services Three essential types of knowledge about a service 1.What does the service require of the user, or other agents, and provide for them? 2.How does it work? 3.How is it used?

7 Upper ontology for services

8 Language Specification Profile propertyies ServiceProfile ServiceName, TextDescription, ContactInformation Actor Provider, Requestor Functionality Description Input, Output, Precondition, Effect,

9 Language Specification Profile properties Parameter Description Profile Attributes ServiceParameter QualityRating ServiceCategory

10 Language Specification Modeling Services as Processes

11 Language Specification Modeling Services as Processes The Process ---- describes a service in terms of its inputs, outputs, preconditions, effects, and maybe its component subprocesses, which enable planning, composition and agent/service interoperation The Process control model---- allow agent to monitor the execution of a service request (proposed, not defined, yet)

12 Language Specification Modeling Services as Processes Process The most general class of processes

13 Language Specification Modeling Services as Processes Process properties defination

14 Language Specification Modeling Services as Processes AtomicProcess ---- directly invocable daml:Class rdf:ID="AtomicProcess">

15 Language Specification Modeling Services as Processes SimpleProcess ---- not invocable and not associated with grounding, but as one step

16 Language Specification Modeling Services as Processes CompositeProcess ---- decomposable into other (noncomposite or composite) processes; their decomposition can be specified by using control constructs such as SEQUENCE and IF-THEN- ELSE

17 Language Specification Modeling Services as Processes COMPOSITEPROCESS must have a composedOf property using a CONTROLCONSTRUCT.

18 Language Specification Modeling Services as Processes control construct ---- associated with components to indicate the ordering and conditional execution of the subprocesses (or control constructs) Holds the specific arrangement of subprocesses. A ProcessComponent is either a Process or a ControlConstruct.

19 Language Specification Modeling Services as Processes minimal set of control constructs ---- Sequence, Split, Split + Join, Choice, Unordered, Condition, If-Then-Else, Iterate, Repeat-While, and Repeat-Until.

20 Language Specification Modeling Services as Processes Sequence: A list of Processes to be done in order.

21 Language Specification Modeling Services as Processes Split : a bag of process components to be executed concurrently. * No further specification about waiting or synchronization is made at this level.

22 Language Specification Modeling Services as Processes Split+Join : Here the process consists of concurrent execution of a bunch of process components with barrier synchronization. * define processes that have partial synchronization

23 Language Specification Modeling Services as Processes minimal set of control constructs ---- Sequence, Split, Split + Join, Choice, Unordered, Condition, If-Then-Else, Iterate, Repeat-While, and Repeat-Until.

24 Language Specification Modeling Services as Processes Unordered : Allows the process components (specified as a bag) to be executed in some unspecified order, or concurrently. 1. Let a, b, c, and d be atomic processes, and X, Y, and Z be composite processes: X = (Sequence a b) Y = (Sequence c d) Z = (Unordered A B) Z, then, translates to the following partial ordering: 2. {(a;b), (c;d)} where ';' means ``executes before'', and the possible execution sequences (total orders) include 3. {(a;b;c;d), (a;c;b;d), (a;c;d;b), (a;c;d;b), (c;d;a;b), (c;a;d;b), (c;a;b;d)}

25 Language Specification Modeling Services as Processes Choice : CHOICE is a control construct with additional properties chosen and chooseFrom. These properties can be used both for process and execution control (e.g., choose from chooseFrom and do chosen in sequence, or choose from chooseFrom and do chosen in parallel) as well for constructing new subclasses like ``choose at least n from m'', ``choose exactly n from m'', ``choose at most n from m'',and so on.

26 Language Specification Modeling Services as Processes If-Then-Else : a control construct that has properties ifCondition, then and else holding different aspects of the IF-THEN-ELSE. Its semantics is intended as ``Test If-condition ; if True do Then, if False do Else.'' The if condition of an if-then-else rdf:resource ="#Condition"

27 Language Specification Modeling Services as Processes Iterate : ITERATE is a control construct whose nextProcessComponent property has the same value as the current process component. REPEAT is defined as a synonym of the ITERATE class. The repeat/iterate process makes no assumption about how many iterations are made or when to initiate, terminate, or resume. The initiation, termination or maintainance condition could be specified with a whileCondition or an untilCondition as below.

28 Language Specification Modeling Services as Processes Specifying Data Flow; Parameter Bindings Process Control Ontology Time

29 Language Specification Grounding a Service to a Concrete Realization

30 Language Specification Resources ---- can, depending on resource type, be consumed, replenished, locked, and released. A resource token, or simply resource, is what is available to an activity.

31 Summary and Current Status Still developing, version0.9 until May 2003 Tools available: Web Service Composer WSDL2DAML-S Converter DL Mapping Tool


Download ppt "DAML-S: Sematic Markup for Web Services Zhou Jiefeng CS595 Nov. 25t."

Similar presentations


Ads by Google