a model-driven approach for deploying trading-based knowledge representation systems

57
Applied Computing Group University of Almería, SPAIN OTM – 3 rd Information Systems in Distributed Environment Crete (GREECE), 17-21 st October, 2011 A Model-Driven Approach for Deploying TKR Systems 1 OTM – ISDE, Crete, GREECE 17-21 st October, 2011 A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems José A. Asensio 1 , Luis Iribarne 1 , Nicolás Padilla 1 , Cristina Vicente-Chicote 2 1 Applied Computing Group, University of Almería, SPAIN {jacortes , luis.iribarne, npadilla}@ual.es 2 Dept. of Information and Communication Technologies, Technical University of Cartagena, SPAIN [email protected]

Upload: applied-computing-group

Post on 12-Jun-2015

65 views

Category:

Documents


0 download

DESCRIPTION

ISDE/OTM2011, LNCS 7046, pp. 180–189, Springer-Verlag Berlin Heidelberg. doi:10.1007/978-3-642-25126-9_28

TRANSCRIPT

Page 1: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

1

OTM – ISDE, Crete, GREECE17-21st October, 2011

A Model-Driven Approach forDeploying Trading-Based

Knowledge Representation Systems

José A. Asensio1, Luis Iribarne1, Nicolás Padilla1,Cristina Vicente-Chicote2

1Applied Computing Group, University of Almería, SPAIN{jacortes, luis.iribarne, npadilla}@ual.es

2 Dept. of Information and Communication Technologies, Technical University of Cartagena, [email protected]

Page 2: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

2

Index• Context

• TKR System• Implementation Repository• System Configuration

• Case Study

• Conclusions• Future Work

Page 3: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

3

• WMIS facilitate information retrieval and decision-making, allowing cooperative work.

• WMIS design and development require:– a common vocabulary, and– a certain capacity to mediate objects.

Context

Page 4: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

4

• WMIS facilitate information retrieval and decision-making, allowing cooperative work.

• WMIS design and development require:– a common vocabulary ► Ontology– a certain capacity to mediate objects.

Context

Page 5: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

5

• WMIS facilitate information retrieval and decision-making, allowing cooperative work.

• WMIS design and development require:– a common vocabulary ► Ontology– a certain capacity to mediate objects ►

► Trader

Context

Page 6: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

6

Context

• Ontologies can be used for:

– describing the information domain knowledgein the system, and

– modeling the processes and communicationsbetween system components.

Page 7: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

7

• The use of traders is proposed to improve the interoperability of the system components:– Trader acts as intermediary between objects.– Trader improves querying and information

retrieval (with the use of ontologies).

Context

Page 8: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

8

• The use of traders is proposed to improve the interoperability of the system components:– Trader acts as intermediary between objects.– Trader improves querying and information

retrieval (with the use of ontologies).▼

Trading-based KnowledgeRepresentation Systems

Context

Page 9: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

9

Context

ISMM

ISM

IRMM

IRM

CMM

CM

CODE

GMF EMF

M2M

M2T

M2M

DSL

Page 10: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

10

Context

ISMM

ISM

IRMM

IRM

CMM

CM

CODE

GMF EMF

M2M

M2T

M2M

DSL

Page 11: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

11

Context

ISMM

ISM

IRMM

IRM

CMM

CM

CODE

GMF EMF

M2M

M2T

M2M

DSL

Page 12: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

12

Context

ISMM

ISM

IRMM

IRM

CMM

CM

CODE

GMF EMF

M2M

M2T

M2M

DSL

Page 13: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

13

MDE Approach – TKR System

ISMM

ISM

IRMM

IRM

CMM

CM

CODE

GMF EMF

M2M

M2T

M2M

DSL

Information System Metamodel

Page 14: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

14

MDE Approach – TKR System

Page 15: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

15

MDE Approach – TKR System

…distributed ondifferent nodes…

Page 16: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

16

MDE Approach – TKR System

…modules…

Page 17: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

17

MDE Approach – TKR System

Page 18: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

18

MDE Approach – TKR System

…shared services…

Page 19: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

19

MDE Approach – TKR System

…user demands…

Page 20: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

20

MDE Approach – TKR System

…information queries…

Page 21: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

21

MDE Approach – TKR System

…search and locationof information…

Page 22: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

22

MDE Approach – TKR System

…knowledge bases…

Page 23: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

23

MDE Approach – TKR System

Page 24: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

24

MDE Approach – TKR System

Page 25: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

25

MDE Approach – TKR System

Page 26: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

26

Package

name : EString

Platformname : EString

Modulename : EStringuri : EString

CompositeModule SimpleModule

hasPlatform

1..*

hasModule

1..*

hasPlatform0..1

hasSuperModule0..1

hasSubmodule1..*

MDE Approach – Implementation Repository

ISMM

ISM

IRMM

IRM

CMM

CM

CODE

GMF EMF

M2M

M2T

M2M

DSL

Implementation Repository Metamodel

Page 27: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

27

Package

name : EString

Platformname : EString

Modulename : EStringuri : EString

CompositeModule SimpleModule

hasPlatform

1..*

hasModule

1..*

hasPlatform0..1

hasSuperModule0..1

hasSubmodule1..*

MDE Approach – Implementation Repository

…deploymentplatform…

Page 28: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

28

Package

name : EString

Platformname : EString

Modulename : EStringuri : EString

CompositeModule SimpleModule

hasPlatform

1..*

hasModule

1..*

hasPlatform0..1

hasSuperModule0..1

hasSubmodule1..*

MDE Approach – Implementation Repository

…moduleimplementation…

Page 29: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

29

Package

name : EString

Platformname : EString

Modulename : EStringuri : EString

CompositeModule SimpleModule

hasPlatform

1..*

hasModule

1..*

hasPlatform0..1

hasSuperModule0..1

hasSubmodule1..*

MDE Approach – Implementation Repository

Page 30: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

30

Package

name : EString

Platformname : EString

Modulename : EStringuri : EString

CompositeModule SimpleModule

hasPlatform

1..*

hasModule

1..*

hasPlatform0..1

hasSuperModule0..1

hasSubmodule1..*

MDE Approach – Implementation Repository

Page 31: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

31

Package

name : EString

Platformname : EString

Modulename : EStringuri : EString

CompositeModule SimpleModule

hasPlatform

1..*

hasModule

1..*

hasPlatform0..1

hasSuperModule0..1

hasSubmodule1..*

MDE Approach – Implementation Repository

Page 32: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

32

Package

name : EString

Import

importedNamespace : EStringStatement

InformationSystemPackage

InformationSystem

Module

ImplementationRepositoryPackage

Platform

Module

hasImport

0..*hasStatement

0..*

hasInformationSystem

0..1

hasImplementationRepositor y

0..*

hasIRModule

1

hasISModule

1

MDE Approach – System Configuration

ISMM

ISM

IRMM

IRM

CMM

CM

CODE

GMF EMF

M2M

M2T

M2M

DSL

Configuration Metamodel

Page 33: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

33

Package

name : EString

Import

importedNamespace : EStringStatement

InformationSystemPackage

InformationSystem

Module

ImplementationRepositoryPackage

Platform

Module

hasImport

0..*hasStatement

0..*

hasInformationSystem

0..1

hasImplementationRepositor y

0..*

hasIRModule

1

hasISModule

1

MDE Approach – System Configuration

Page 34: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

34

Package

name : EString

Import

importedNamespace : EStringStatement

InformationSystemPackage

InformationSystem

Module

ImplementationRepositoryPackage

Platform

Module

hasImport

0..*hasStatement

0..*

hasInformationSystem

0..1

hasImplementationRepositor y

0..*

hasIRModule

1

hasISModule

1

MDE Approach – System Configuration

Page 35: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

35

Package

name : EString

Import

importedNamespace : EStringStatement

InformationSystemPackage

InformationSystem

Module

ImplementationRepositoryPackage

Platform

Module

hasImport

0..*hasStatement

0..*

hasInformationSystem

0..1

hasImplementationRepositor y

0..*

hasIRModule

1

hasISModule

1

MDE Approach – System Configuration

Page 36: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

36

SOLERESEnvironmental Management Information System

SOLERES-KRSKnowledge Representation Subsystem

Trading-based KnowledgeRepresentation System

Case Study – SOLERES-KRS

Page 37: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

37

SOLERESEnvironmental Management Information System

SOLERES-KRSKnowledge Representation Subsystem

Trading-based KnowledgeRepresentation System

Case Study – SOLERES-KRS

Page 38: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

38

SOLERESEnvironmental Management Information System

SOLERES-KRSKnowledge Representation Subsystem

Trading-based KnowledgeRepresentation System

Case Study – SOLERES-KRS

Page 39: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

39

Case Study – SOLERES-KRS

ISMM

ISM

IRMM

IRM

CMM

CM

CODE

GMF EMF

M2M

M2T

M2M

DSL

GMF Tool – SOLERES-KRS Model

Page 40: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

40

Case Study – SOLERES-KRSGMF Tool – SOLERES-KRS Model

Page 41: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

41

Case Study – SOLERES-KRSGMF Tool – SOLERES-KRS Model

Page 42: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

42

Case Study – SOLERES-KRSGMF Tool – SOLERES-KRS Model

Page 43: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

43

Case Study – SOLERES-KRSGMF Tool – SOLERES-KRS Model

Page 44: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

44

Case Study – SOLERES-KRSGMF Tool – SOLERES-KRS Model

Page 45: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

45

Case Study – SOLERES-KRSGMF Tool – SOLERES-KRS Model

Page 46: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

46

Case Study – SOLERES-KRSGMF Tool – SOLERES-KRS Model

Page 47: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

47

Case Study – SOLERES-KRS

ISMM

ISM

IRMM

IRM

CMM

CM

CODE

GMF EMF

M2M

M2T

M2M

DSL

Implementation Repository Model

Page 48: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

48

Case Study – SOLERES-KRS

Implementation Repository Model

Page 49: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

49

1 grammar org.xtext.isconfig.config.Config with org.eclipse.xtext.common.Terminals23 import "platform:/resource/ISConfig/metamodel/Configuration.ecore" 4 import "platform:/resource/ISConfig/metamodel/InfSystem.ecore" as InfSystemPackage5 import "platform:/resource/ISConfig/metamodel/ImplRepository.ecore" as ImplRepPackage6 import "http://www.eclipse.org/emf/2002/Ecore" as ecore78 Package returns Package:9 ...1011 Node returns InfSystemPackage::Node:12 'Node' name=EString 13 '{'14 'ip' ip=EString15 'port' port=EString16 'dbport' dbport=EString17 hasServiceModule=ServiceModule18 hasManagementModule=ManagementModule19 ( hasTradingModule+=TradingModule (hasTradingModule+=TradingModule)* )?20 hasQueryModule+=QueryModule (hasQueryModule+=QueryModule)* 21 ( hasProcessingModule+=ProcessingModule (hasProcessingModule+=ProcessingModule)* )?22 'hasInfSystem' hasInfSystem=[InfSystemPackage::InformationSystem|EString]23 '}';24 ...

Domain-Specific Language

Case Study – SOLERES-KRS

ISMM

ISM

IRMM

IRM

CMM

CM

CODE

GMF EMF

M2M

M2T

M2M

DSL

Page 50: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

50

Case Study – SOLERES-KRS

1 Package SOLERES_Configuration2 Configuration {3 Statement {4 hasISModule "SOLERES_System.KRS.Node_1.ServiceModule_1_1"5 hasIRModule "UAL_Repository.Java_JADE.ServiceModuleImpl" }6 Statement {7 hasISModule "SOLERES_System.KRS.Node_1.ManagementModule_1_1"8 hasIRModule "UAL_Repository.Java_JADE.ManagementModuleImpl" }9 Statement {10 hasISModule "SOLERES_System.KRS.Node_1.TradingModule_1_1"11 hasIRModule "UAL_Repository.Java_JADE.TradingModuleImpl" }12 ...

ISMM

ISM

IRMM

IRM

CMM

CM

CODE

GMF EMF

M2M

M2T

M2M

DSL

Configuration Model

Page 51: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

51

1 «DEFINE Package FOR ConfigurationPackage::Package»2 «IF !this.hasStatement.isEmpty»3 «FILE "make.sh"»4 #!/bin/bash5 clear6 cd /7 «FOREACH this.hasStatement.first().hasISModule.hasNode.hasInfSystem.hasNode AS node»8 «FILE node.hasInformationSystem.name + "/" + node.name + "/InformationSystem.java"»9 package «node.hasInformationSystem.name».«node.name»;10 import «node.hasInformationSystem.name».«node.name».modules.*;11 public class InformationSystem {12 private String ip = null;13 private int port = -1;14 private int dbport = -1;15 ...

Case Study – SOLERES-KRS

ISMM

ISM

IRMM

IRM

CMM

CM

CODE

GMF EMF

M2M

M2T

M2M

DSL

M2T Transformation

Page 52: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

52

Case Study – SOLERES-KRSScript and Java Files

1 #!/bin/bash2 clear3 cd /4 mkdir /KRS/Node_1/modules5 cd /KRS/Node_1/modules6 wget http://www.ual.es/acg/rep/InformationSystem/ServiceModule.class7 wget http://www.ual.es/acg/rep/InformationSystem/ManagementModule.class8 wget http://www.ual.es/acg/rep/InformationSystem/TradingModule.class9 wget http://www.ual.es/acg/rep/InformationSystem/QueryModule.class10 wget http://www.ual.es/acg/rep/InformationSystem/ProcessingModule.class11 ...

1 package KRS.Node_1;2 import KRS.Node_1.modules.*;3 public class InformationSystem {4 private String ip = null; 5 private int port = -1; 6 private int dbport = -1;7 private ServiceModule serviceModule = null;8 private ManagementModule managementModule = null;9 private TradingModule tradingModule = null;10 private QueryModule queryModule = null;11 private ProcessingModule processingModule = null;12 public InformationSystem() {13 this.ip = "192.168.1.11"; 14 this.port = 1099; 15 this.dbport = 3306;16 ...

ISMM

ISM

IRMM

IRM

CMM

CM

CODE

GMF EMF

M2M

M2T

M2M

DSL

Page 53: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

53

Case Study – SOLERES-KRSScript and Java Files

1 #!/bin/bash2 clear3 cd /4 mkdir /KRS/Node_1/modules5 cd /KRS/Node_1/modules6 wget http://www.ual.es/acg/rep/InformationSystem/ServiceModule.class7 wget http://www.ual.es/acg/rep/InformationSystem/ManagementModule.class8 wget http://www.ual.es/acg/rep/InformationSystem/TradingModule.class9 wget http://www.ual.es/acg/rep/InformationSystem/QueryModule.class10 wget http://www.ual.es/acg/rep/InformationSystem/ProcessingModule.class11 ...

1 package KRS.Node_1;2 import KRS.Node_1.modules.*;3 public class InformationSystem {4 private String ip = null; 5 private int port = -1; 6 private int dbport = -1;7 private ServiceModule serviceModule = null;8 private ManagementModule managementModule = null;9 private TradingModule tradingModule = null;10 private QueryModule queryModule = null;11 private ProcessingModule processingModule = null;12 public InformationSystem() {13 this.ip = "192.168.1.11"; 14 this.port = 1099; 15 this.dbport = 3306;16 ...

Page 54: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

54

1 package KRS.Node_1;2 import KRS.Node_1.modules.*;3 public class InformationSystem {4 private String ip = null; 5 private int port = -1; 6 private int dbport = -1;7 private ServiceModule serviceModule = null;8 private ManagementModule managementModule = null;9 private TradingModule tradingModule = null;10 private QueryModule queryModule = null;11 private ProcessingModule processingModule = null;12 public InformationSystem() {13 this.ip = "192.168.1.11"; 14 this.port = 1099; 15 this.dbport = 3306;16 ...

Case Study – SOLERES-KRS

1 #!/bin/bash2 clear3 cd /4 mkdir /KRS/Node_1/modules5 cd /KRS/Node_1/modules6 wget http://www.ual.es/acg/rep/InformationSystem/ServiceModule.class7 wget http://www.ual.es/acg/rep/InformationSystem/ManagementModule.class8 wget http://www.ual.es/acg/rep/InformationSystem/TradingModule.class9 wget http://www.ual.es/acg/rep/InformationSystem/QueryModule.class10 wget http://www.ual.es/acg/rep/InformationSystem/ProcessingModule.class11 ...

Script and Java Files

Page 55: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

55

Conclusions

• A MDE approach to TKR System design and deployment in the context of WMIS has been presented.

• Three metamodels, a GMF tool, a DSL, and a M2T transformation have been developed to ease it design and deployment.

• The SOLERES-KRS subsystem has been presented as a case study.

Page 56: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

56

Future Work

• The use of a trading system whichlinks the system architecture and the implementation repository models automatically.

Page 57: A Model-Driven Approach for Deploying Trading-Based Knowledge Representation Systems

Applied Computing GroupUniversity of Almería, SPAIN

OTM – 3rd Information Systems in Distributed Environment Crete (GREECE), 17-21st October, 2011

A M

odel

-Driv

en A

ppro

ach

for D

eplo

ying

TK

R S

yste

ms

57 A Model-Driven Approach forDeploying Trading-Based

Knowledge Representation Systems

Thank you for your attention!!

Contact: [email protected]

Applied Computing GroupUniversity of Almería, SPAINhttp://www.ual.es/acg

A Methodology for the Recovery and Exploitation of Environmental Information (TIN2010-15588)

Development of an Intelligent Web Agent for Environmental Information (TIC-6114)