OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

plcs-dex message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [plcs-dex] RE: Changes to referencing owl classes in dexlib


Title: RE: [plcs-dex] RE: Changes to referencing owl classes in dexlib

You are correct.

I have adopted

<rdl_ref id=" classname " urn="urn:plcs:rdl:std"/>

 

implicit in this is that the urn is the urn of the rdl.

The urn of the class is assumed to be urn:plcs:rdl:std:classname

 

Regards
Rob

-------------------------------------------   
Rob Bodington
Eurostep Limited
Web Page:
http://www.eurostep.com http://www.share-a-space.com
Email: Rob.Bodington@eurostep.com
Phone: +44 (0)1452 810 960
Mobile: +44 (0)7796 176 401

-----Original Message-----
From: Tim King [mailto:tmk@lsc.co.uk]
Sent: 15 June 2006 08:32
To: '
Rob Bodington'; 'plcs-dex@lists.oasis-open.org'
Subject: RE: [plcs-dex] RE: Changes to referencing owl classes in dexlib

 

Dear Rob,
 
I think your messages are slightly inconsistent:
 
most recent:  <rdl_ref id=" classname " urn="urn:plcs:rdl:std"/>
 
previous:  <rdl_ref id="Manufacturer_of" rdl="urn:plcs:rdl:std "/>
 
But later on in the previous message you use the atttibute name "urn".  If this is your choice, I am not sure that this was the best one as surely the class can have a URN as well as the RDL and, thus, just "urn" as an attribute name is slightly ambiguous.  Of course, having made the change, you will not want to redo this, so I am happy to leave as is.

 
Cheers,
Tim.
 

________________________________

From: Rob Bodington [mailto:rob.bodington@eurostep.com]
Sent: 14 June 2006 14:44
To: plcs-dex@lists.oasis-open.org
Subject: [plcs-dex] RE: Changes to referencing owl classes in dexlib
Importance: High

 

Hi

I have made the changes outlined below.

This has involved a change to every capability, dex and business concept

 

I therefore strongly recommend that you do a cvs update

 

Also - Look out for CVS conflicts. These will show up in the WinCVS screen when doing a CVS update. E.g.

C data/busconcept/2410/2410_form/dvlp/resource_event.vsd

 

If you have a conflict, CVS will be merging a file that you have changed with the new revision. It will leave > in the file which will cause the XSL to fail

 

There are two changes that you need to be aware of:

1)       The OWL files for the reference data are now stored in:
dexlib/data/refdata
I have deleted the directory:
dexlib/data/refdata/plcs_owl
    

2)       Consequently the Protégé ont-policy.rdf files needs to be modified by and readded to Protete

 

3)       References to the owl classes are now via the URNs. So instead of:
<rdl_ref id="classname" rdl="plcs_owl"/>
use:
<rdl_ref id=" classname " urn="urn:plcs:rdl:std"/>

 

 

4)       The same goes for class and class_ref

 

Please contact me if there any questions

 

Regards
Rob

-------------------------------------------  
Rob Bodington
Eurostep Limited
Web Page: http://www.eurostep.com <http://www.eurostep.com/http://www.share-a-space.com <http://www.share-a-space.com/>

Email: Rob.Bodington@eurostep.com
Phone: +44 (0)1452 810 960
Mobile: +44 (0)7796 176 401

-----Original Message-----
From: Rob Bodington [mailto:rob.bodington@eurostep.com]
Sent: 12 June 2006 13:37
To: 'plcs-dex@lists.oasis-open.org'
Subject: Changes to referencing owl classes in dexlib

 

Hi

I have addressed the following issue to do with creating links to reference data in dexlib.

As you can see from the comment on the issue, this will result in some changes to the XML elements used to refer to OWL classes.

 

Unless any has any strong objections, I propose to check in these changes tomorrow, and change ALL the capabilities and DEXs that are affected.

Please let me know if you are working on any capabilities at the moment and please make sure that you check in all capabilities etc.

 

I will also be moving the OWL files and the rdl_index.xml as discussed below.

 

________________________________

Open issueIssue: RBN-37 by Rob Bodington (05-10-01) minor_technical issue
Resolution: Accept. Status: open

It has been agreed that the class libraries holding OWL classes (OWL files) will be identified by URNs in the DEXs. DEXlib does not currently support this. In fact, all classes are assumed to be in one OWL file and the XSLT resolves the links. E.g. a hyper link is created by <rdl_ref id="Manufacturer_of" rdl="plcs_owl"/>. The XSL then searches the owl file to find the class to link to. Instead it should be <rdl_ref id="Manufacturer_of" rdl="urn:plcs:rdl:std"/> So there is no way to distinguish between OWL classes that are part of or proposed to be PLCS reference data and OWL classes that are within the context of a business context.

The proposal is to provide a register of URNs in dexlib that will allows an owl file (or set of files) to be indexed by a URN. This will mean the links are now:

<rdl_ref id="Manufacturer_of" rdl="urn:plcs:rdl:std "/>
The URN urn:plcs:rdl:std will resolve to the set of OWL files that are part of or proposed to be PLCS reference data. A URN such as urn:plcs:rdl:ndlo wold resolve to the OWL files that contain the NDLO reference data used in the NDLO business concepts (those that have not been standardized)

In addition to the links from within a capability/DEX, the browsing of the RDL will need to be modified to accommodate the URNs. Currently, just the list of owl files is displayed.

XSL would also be written to summarize the use of the OWL classes in a business concept, capability ect. This will facilitate the harmonisation of reference data.

DEXLib still contains some code and files for reference data that predate the decision to move to OWL. These should be removed. This will also mean deleting the current directories dexlib/data/refdata/ which contain the non OWL reference data and moving the OWL files from dexlib/data/refdata/plcs_owl/ to dexlib/data/refdata/

Comment: (Rob Bodington 06-06-12)

The following changes have been made to address this:

1.     Moved all the OWL files from: dexlib/data/refdata/plcs_owl to: dexlib/data/refdata

2.     Modified dexlib/data/refdata/rdl_index.xml so that it contains a register of OWL files that correspond to a given RDL URN. Note that ideally, one OWL file should have one URN. However, we are importing a number of OWL files that are in development by modellers, e.g. dexlib/data/refdata/plcs-rdl-rbn.owl Hence several OWL files can be referenced under on URN. I.e, they are logically the same file

The URN register: dexlib/data/refdata/rdl_index.xml has the following format: (note there can be many URNs defined)

<rdl_index>
<urn_ref urn="plcs:rdl:std">
<!-- PLCS standard OWL -->
<owl_file file="plcs-rdl.owl"/>
<!-- PLCS registered OWL -->
<owl_file file="plcs-registered.owl"/>
<!-- PLCS proposed OWL -->
<owl_file file="plcs-proposed.owl"/>
<!-- Modeller files -->
<owl_file file="plcs-rdl-rbn.owl"/>
</urn_ref> </rdl_index>

3.     All XML elements that refer to classes have been modified. It is now necessary to specify the URN of the RDL that holds the class. E.g the following have changed:

o        The capability section specifying the classes used:
<ref_data>
<class_ref id="Designer_of" urn="plcs:rdl:std"/>
</ref_data>

o        A reference to a class in the main text:
<rdl_ref id="Designer_of" urn="plcs:rdl:std"/>

o        A reference to a class in a template parameter: <param_in name="la_class_name" type="CLASS">
<!-- as the type is a class, list the possible classifications -->
<classifications>
<!-- a list of all possible classifications that can be used -->
<class id="Identifier_type" urn="plcs:rdl:std"/>

Modified: dexlib/xsl/dex/common.xsl dexlib/xsl/dex/template.xsl

4.     Modified: mk_capability.wsf so that the examples are correct

5.     Modified the main pages for browsing the RDL so that the pages are sorted by URN and the URNs are shown in the class summaries. shown.

Modified: dexlib/xsl/owl_rdl/dexlib_rdl_index.xsl dexlib/xsl/owl_rdl/inline_issues.xsl dexlib/xsl/owl_rdl/plcs-refdata-likeexpress.xsl dexlib/xsl/owl_rdl/rdl_clause.xsl

6.     Modified the DTDs to reflect the changes: dexlib/dtd/dex/text.ent dexlib/dtd/dex/templates.ent

7.     Modified the help files to reflect the changes: dexlib/help/dex/dvlp_tags.xml

 Regards
Rob

-------------------------------------------  
Rob Bodington
Eurostep Limited
Web Page: http://www.eurostep.com <http://www.eurostep.com/http://www.share-a-space.com <http://www.share-a-space.com/>

Email: Rob.Bodington@eurostep.com
Phone: +44 (0)1452 810 960
Mobile: +44 (0)7796 176 401

 

DISCLAIMER: ***SECURITY LABEL: NOT PROTECTIVELY MARKED***   The information in this message is confidential and may be legally privileged. It is intended solely for the addressee.  Access to this message by anyone else is unauthorised.  If you are not the intended recipient, any disclosure, copying, or distribution of the message, or any action or omission taken by you in reliance on it, is prohibited and may be unlawful.  Please immediately contact the sender if you have received this message in error. This e-mail originates from LSC Group. Registered in England & Wales No 2275471 Registered Office: Devonport Royal Dockyard, Devonport, Plymouth, PL1 4SG

 



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]