Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [ATL] Model Inferencing
[ATL] Model Inferencing [message #77228] Wed, 19 March 2008 16:48 Go to next message
Eclipse UserFriend
Originally posted by: mmelia.computing.dcu.ie

Hi all,

I am trying to use ATL to basically derive information from a model. To do
this I have been trying to use a source and target metamodel which are the
same. First I transform all the source to the target as is. Then I (try
to) use ATL rules to create new constructs in the target based on the
source model. Obviously this wont work as all the source model constructs
have already been used in the first transformation. So, I am basically
wondering is there anyway of doing this with ATL or possibly someone knows
of a different tool which allows for Model inferenceing (similar to that
found in ontological engineering)

Thanks,
Mark
Re: [ATL] Model Inferencing [message #77260 is a reply to message #77228] Wed, 19 March 2008 18:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: quentin.glineur.obeo.fr

This is a multi-part message in MIME format.
--------------050908010907020502070702
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi Mark,

I guess that you are using an ATL copier for this. Right?
If so, you have one rule for each metamodel element. You can modify
these rule to augment the information.

You can also use superimposition to separate the copying concern and the
modification concern.

Regards,

Quentin GLINEUR

Mark Melia a
Re: [ATL] Model Inferencing [message #77324 is a reply to message #77260] Thu, 20 March 2008 11:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mmelia.computing.dcu.ie

Hi Quentin,

To be honest, I havent beeing using ATL copier - we are currently getting
the desired effect with very complex ATL code using a lot of recursion. I
am not aware of ATL copier - I searched for it and found a transformation
from KM3 to ATLCopier, I am not sure how this would allow me to do the
inferencing effect I desire.

One other solution I am looking at is using the ATL transformation to just
create the new elements I desire in my model into a separate model and
then look at merging these two models (source and target) - possibly using
EMF Compare.

If anyone else has any ideas, I would be very interested in them

Thanks,
Mark

Quentin Glineur wrote:

> Hi Mark,

> I guess that you are using an ATL copier for this. Right?
> If so, you have one rule for each metamodel element. You can modify
> these rule to augment the information.

> You can also use superimposition to separate the copying concern and the
> modification concern.

> Regards,

> Quentin GLINEUR

> Mark Melia a écrit :
>> Hi all,
>>
>> I am trying to use ATL to basically derive information from a model. To
>> do this I have been trying to use a source and target metamodel which
>> are the same. First I transform all the source to the target as is. Then
>> I (try to) use ATL rules to create new constructs in the target based on
>> the source model. Obviously this wont work as all the source model
>> constructs have already been used in the first transformation. So, I am
>> basically wondering is there anyway of doing this with ATL or possibly
>> someone knows of a different tool which allows for Model inferenceing
>> (similar to that found in ontological engineering)
>>
>> Thanks,
>> Mark
>>
Re: [ATL] Model Inferencing [message #77339 is a reply to message #77324] Thu, 20 March 2008 13:57 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: quentin.glineur.obeo.fr

This is a multi-part message in MIME format.
--------------040100060207080303050901
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit

Hi Mark,
comments below

Mark Melia a
Re: [ATL] Model Inferencing [message #77354 is a reply to message #77228] Thu, 20 March 2008 21:47 Go to previous message
Frédéric Jouault is currently offline Frédéric JouaultFriend
Messages: 572
Registered: July 2009
Senior Member
Hi,

You may be interested in using module superimposition:
http://wiki.eclipse.org/ATL_Superimposition


Regards,

Frédéric Jouault

Mark Melia a écrit :
> Hi all,
>
> I am trying to use ATL to basically derive information from a model. To
> do this I have been trying to use a source and target metamodel which
> are the same. First I transform all the source to the target as is. Then
> I (try to) use ATL rules to create new constructs in the target based on
> the source model. Obviously this wont work as all the source model
> constructs have already been used in the first transformation. So, I am
> basically wondering is there anyway of doing this with ATL or possibly
> someone knows of a different tool which allows for Model inferenceing
> (similar to that found in ontological engineering)
>
> Thanks,
> Mark
>
Previous Topic:Get ATL for Eclipse 3.3.1.1?
Next Topic:[QVTO] About ordering collections
Goto Forum:
  


Current Time: Thu Aug 22 17:35:16 GMT 2019

Powered by FUDForum. Page generated in 0.01559 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top