[ATL] Model Inferencing [message #77228] |
Wed, 19 March 2008 12:48  |
Eclipse User |
|
|
|
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 #77324 is a reply to message #77260] |
Thu, 20 March 2008 07:45   |
Eclipse User |
|
|
|
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 #77354 is a reply to message #77228] |
Thu, 20 March 2008 17:47  |
Eclipse User |
|
|
|
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
>
|
|
|
Powered by
FUDForum. Page generated in 0.03062 seconds