To distinguish the lifecycle classification system
from a basic classification system, extra information must
be added to the OWL file.
About this task
The example here shows the information in the file DefaultLifecycle.owl,
which is in the default profile.
Procedure
- Add the namespace declaration, shown last in bold, to the
already declared namespaces.
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:sacl="http://www.ibm.com/xmlns/prod/websphere/wbi/sacl/6.0.0"
xmlns:xalan="http://xml.apache.org/xslt"
xmlns:xsd="http://www.w3.org/2001/XMLSchema#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:owl="http://www.w3.org/2002/07/owl#"
xml:base="http://www.ibm.com/xmlns/prod/serviceregistry/6/0/governance"
xmlns:wsrr63prop="http://www.ibm.com/xmlns/prod/serviceregistry/6/3/properties#">
- Add the information shown in bold to the ontology element.
<owl:Ontology
rdf:about="http://www.ibm.com/xmlns/prod/serviceregistry/6/0/governance/DefaultLifecycle">
<owl:imports
rdf:resource="http://www.ibm.com/xmlns/prod/serviceregistry/6/3/properties"/>
<wsrr63prop:type
rdf:datatype="http://www.w3.org/2001/XMLSchema#string">LIFECYCLE</wsrr63prop:type></owl:Ontology>
What to do next
Generate the lifecycle ontology file, using the GenerateLifecycleOntology.xsl
transformation, and the added information is automatically included.