Demonstration of WSMX Web Service

carriagespinInternet και Εφαρμογές Web

22 Οκτ 2013 (πριν από 3 χρόνια και 7 μήνες)

84 εμφανίσεις

Demonstration of WSMX Web Service
Composition Execution for Use Case 1

Kieran Hannon

Raluca Zaharia

Laurentiu Vasiliu

Liege, Belgium May 11 2007

IST FP6
-
26514

Overview


Use

Case

Description


Use

Case

Architecture


Description

of

ASM

execution

Process


Associated

Risks


Conclusion

Liege, Belgium May 11 2007

IST FP6
-
26514

Use Case Description


Execution

of

a

geospatial

web

service

composition



7

separate

web

services


2

OGC

Web

Feature

Services


Returning

instance

data

for

a

production

consumption

map


Liege, Belgium May 11 2007

IST FP6
-
26514

Use Case Overview

A

D

A

P

T

E

R

Choreography

Component

GetDepts(WFS)

GetQuarries(WFS)

AddProductionRates

GetPopulation

CalcConsumption

CombineInfo

GetConstant

Invoke
SWS

Prod/Con Map
Instance

MIMS/

Composition Builder

Liege, Belgium May 11 2007

IST FP6
-
26514

Description of ASM execution Process

Consumption
Production map

Bounding Box

Average consumption

Compute consumption
production for each
department

msGeometry, department, code,
production, consumption


STEP

1






STEP

2




STEP

3





STEP

4

Liege, Belgium May 11 2007

IST FP6
-
26514

Description of ASM execution Process

AverageConsumptionPerCapita

instance

_"http://www.swing
-
project.org/ontologies/

CreateBothMessageTestOntology2#myconstantrequest"
memberOf

brgm#SocioEconomicConstantsRequest


brgm#key
hasValue

"AverageConsumptionPerCapita"



Bounding Box Coordinates

instance

_"http://www.swing
-
project.org/ontologies/

CreateBothMessageTestOntology2#mycoordinates2"

memberOf

gml#CoordinatesType


gml#coordinates
hasValue

"1.00,49.40 1.60,49.70"

Liege, Belgium May 11 2007

IST FP6
-
26514

Description of ASM execution Process

Create WFS request:

<?xml version="1.0" encoding="UTF
-
8" standalone="no"?>

<wfs:GetFeature xmlns:wfs="http://www.opengis.net/wfs"
xmlns:gml="http://www.opengis.net/gml"


xmlns:ogc="http://www.opengis.net/ogc" wfs:outputFormat="GML2"
wfs:service="WFS"


wfs:version="1.0.0">


<wfs:Query wfs:typeName="adm:departments">


<ogc:Filter>


<ogc:BBox>


<ogc:PropertyName>qua:msGeometry</ogc:PropertyName>


<gml:Box gml:srsName="epsg:4326">


<gml:coordinates>1.00,49.40 1.60,49.70</gml:coordinates>


</gml:Box>


</ogc:BBox>


</ogc:Filter>


</wfs:Query>

</wfs:GetFeature>

Liege, Belgium May 11 2007

IST FP6
-
26514

instance

resp#departments4
memberOf

adm#departments



gml#fid
hasValue

"27"



gml#boundedBy
hasValue

resp#Box5



adm#msGeometry
hasValue

resp#
msGeometry7



adm#department
hasValue

"
EURE
"



adm#code
hasValue

27



adm#population
hasValue

541054



adm#region
hasValue

"HAUTE
-
NORMANDIE“


instance

resp#departments11
memberOf

adm#departments



gml#fid
hasValue

"76"



gml#boundedBy
hasValue

resp#Box12



adm#msGeometry
hasValue

resp#
msGeometry14



adm#department
hasValue

"
SEINE
-
MARITIME
"



adm#code
hasValue

76



adm#population
hasValue

1239138



adm#region
hasValue

"HAUTE
-
NORMANDIE"

Description of ASM execution Process

Liege, Belgium May 11 2007

IST FP6
-
26514

Description of ASM execution Process

department 27 Eure


Population 541054


Consumption 3830662.32


Quarry Feature Collection

Allowed production

La Cote Guerard



475

Postel, Pre Rompu, Le chene


450

La Remise




250

Les Fiefs Mancels



1500

La CÃ
´
te du Fourneau



60

Le Plaquis




400

La Sentelle, la cour Carel, la Haye Adam

230

Les Mousseaux



400

Le Bois des Deserts



80

Le Haut Friche



350

La Ballastiere



250

Les Brulins




250

Le Pot A


l`Eau



700

Carriere de Louye (Les Belles Mares)

20

Les Diguets et La Noue



200

La Plaine du Moulin Ã


vent


190

Les Gorgeons des Rues



280

La Chesnay




1000

-----------------------------------------------------------------

Aggregate




7085

Liege, Belgium May 11 2007

IST FP6
-
26514

Description of ASM execution Process

instance

_"http://www.wsmo.org/reasoner/anonymous_1178728611750
-
1834006741"
memberOf

_"http://swing
-
project.org/ontologies/usecase1#depproductionconsumption"


_"http://swing
-
project.org/ontologies/usecase1#msGeometry"
hasValue

_"http://www.wsmo.org/reasoner/anonymous_1178728611750
-
775525103"


_"http://swing
-
project.org/ontologies/usecase1#department"
hasValue

"
EURE
"


_"http://swing
-
project.org/ontologies/usecase1#code"
hasValue

27


_"http://swing
-
project.org/ontologies/usecase1#consumption"
hasValue

3830662.32


_"http://swing
-
project.org/ontologies/usecase1#production"
hasValue

7085.0


instance

_"http://www.wsmo.org/reasoner/anonymous_1178728611765
-
1743506085"
memberOf

_"http://swing
-
project.org/ontologies/usecase1#depproductionconsumption"


_"http://swing
-
project.org/ontologies/usecase1#msGeometry"
hasValue

_"http://www.wsmo.org/reasoner/anonymous_1178728611750
-
1378132463"


_"http://swing
-
project.org/ontologies/usecase1#code"
hasValue

76


_"http://swing
-
project.org/ontologies/usecase1#production"
hasValue

4161.0


_"http://swing
-
project.org/ontologies/usecase1#consumption"
hasValue

8773097.040000001


_"http://swing
-
project.org/ontologies/usecase1#department"
hasValue

"
SEINE
-
MARITIME
"


Result:


Liege, Belgium May 11 2007

IST FP6
-
26514

Execution Times

Very

first

run

1
st

improvement


2
nd

improvement

(current)

1

department

~
47
m

~
19
m

~
1
m
30
s

2

departments


~
1
h
20
m

~
40
m

~
3
m
10
s

3

departments


-

-

~
5
m
20
s


4

departments


-

-

~
7
m
30
s

Liege, Belgium May 11 2007

IST FP6
-
26514

Risks


Speed

of

Choreography

Engine


Contributing

Factors


KAON
2

reasoner

slow


ASM

approach

slow

?



Possible

Solutions


New

IRIS

reasoner

to

be

used


Load

balancing

between

Multiple

reasoners


Test

semantic

BPEL

approach



EU

SUPER

project

Liege, Belgium May 11 2007

IST FP6
-
26514

Outstanding Tasks



Incorporate

SWING

specific

discovery

requirements


Allow

Ionic

to

supply

web

service

repository

for

discovery

via

API


Integrate

new

adapter

framework

(already

done)


Feasibility

study

of

semantic

BPEL

engine



EU

SUPER

project



Utilise

Muenster

University

Ontologies


Liege, Belgium May 11 2007

IST FP6
-
26514

Conclusion


ASM

execution

time

improved



Outstanding

tasks

to

improve

performance


Feasibility

study

into

alternative

engine

for

execution

of

web

service

compositions


SWING

specific

WSMX

changes

to

be

implemented