Is adding relations in source xml files possible?
Posted: 13 Dec 2010, 12:43
Hi,
I've setup Protégé 3.4.4 + EAM and I'm trying to import some data using xml files via the Essential Integration Tab.
I have created a XML file containing employees and a XML file containing organisational units. I have even managed to realise internal references inside the organisational units. So, I can implement fi that the unit "Social support" is a sub actor of the parent actor "HRM department" by means of the slot_reference type "is_member_of_actor".
However when I try to make a link between an employee (Individual_Actor) and an organisational unit (Group_Actor), I run into trouble. I have tried using the name of the simple_instance and the name slot_reference of an organisational unit, using the slot_reference "is_member_of_actor", to make a link between an employee and a unit he or she is working for, but then the import fails. Can these kind of links only be made manualy using the forms GUI or is there a way to tell the XML file a specific Individual_Actor is linked to a specific Group_Actor.
I guess there is a third candidate key, the internal name, to make the link, but I don't see a way to put that value inside my xml source files, that are based on and not known inside our HRM database.
So, is the xml-based linking possible. If not ... are there better approaches to import the data and especially the relations between the classinstances?
Thanks in advance,
Kind regards,
Peter.
I've setup Protégé 3.4.4 + EAM and I'm trying to import some data using xml files via the Essential Integration Tab.
I have created a XML file containing employees and a XML file containing organisational units. I have even managed to realise internal references inside the organisational units. So, I can implement fi that the unit "Social support" is a sub actor of the parent actor "HRM department" by means of the slot_reference type "is_member_of_actor".
However when I try to make a link between an employee (Individual_Actor) and an organisational unit (Group_Actor), I run into trouble. I have tried using the name of the simple_instance and the name slot_reference of an organisational unit, using the slot_reference "is_member_of_actor", to make a link between an employee and a unit he or she is working for, but then the import fails. Can these kind of links only be made manualy using the forms GUI or is there a way to tell the XML file a specific Individual_Actor is linked to a specific Group_Actor.
I guess there is a third candidate key, the internal name, to make the link, but I don't see a way to put that value inside my xml source files, that are based on and not known inside our HRM database.
So, is the xml-based linking possible. If not ... are there better approaches to import the data and especially the relations between the classinstances?
Thanks in advance,
Kind regards,
Peter.