RDF to Ecore Transformation

148 views
Skip to first unread message

martina

unread,
May 6, 2011, 5:21:49 AM5/6/11
to emftriple-discuss
Hi,
I read here http://code.google.com/a/eclipselabs.org/p/emftriple/wiki/EMF4SWTransformations
that there is a OWL to Ecore transformation thanks to the OWL2Ecore
class. I would know if there is a similar transformation from RDF to
Ecore.

Thanks,
Martina

Guillaume Hillairet

unread,
May 6, 2011, 5:27:02 AM5/6/11
to emftriple-discuss

Yes it is described here http://code.google.com/a/eclipselabs.org/p/emftriple/wiki/RDFIzerGuide.

BRs,
Guillaume

On May 6, 10:21 am, martina <martina.vitul...@gmail.com> wrote:
> Hi,
> I read herehttp://code.google.com/a/eclipselabs.org/p/emftriple/wiki/EMF4SWTrans...

martina

unread,
May 6, 2011, 6:25:59 AM5/6/11
to emftriple-discuss
Thanks for the suggestion, I already saw that link but what I would is
different: the transformation explained at that link is from a rdf
document to its instance (.xmi) and it supposed that you have the
metamodel of your rdf document (named metamodel.ecore in the example).
In my case I don't have the metamodel of my rdf document, and I need
to transform the rdf document to its metamodel (.ecore) as it happens
for OWL in the OWL2Ecore transformation.
I saw that there is a "RDF2EcoreGen.atl" file in the
"com.emf4sw.rdfizer" plugin, but there isn't any RDF2Ecore java class
or similar.
So, can I make the rdf to ecore transformation starting whit a rdf
document in input and ending whit its .ecore model as with the
OWL2Ecore transformation?

I hope that I was clearer this time :)

Thanks for your time,
Martina

On 6 Mag, 11:27, Guillaume Hillairet <g.hillai...@gmail.com> wrote:
> Yes it is described herehttp://code.google.com/a/eclipselabs.org/p/emftriple/wiki/RDFIzerGuide.

Guillaume Hillairet

unread,
May 6, 2011, 10:49:27 AM5/6/11
to emftriple-discuss
Currently, a metamodel cannot be inferred from a rdf document (i.e.
from instances). I
think you'll have to create this metamodel manually.

BRs,
Guillaume
Reply all
Reply to author
Forward
0 new messages