Warning:
This wiki has been archived and is now read-only.
DeliveryContextOntologyDocGeneration
From UWA
Contents
How to Generate the Delivery Context Ontology Documentation
Prerequisites
Steps
- This tutorial assumes that the installation path is
C:/MySpecGen - Create a subfolder called
doc(e.g. in your generator applicationC:/MySpecGen/doc) - Copy
C:/MySpecGen/xsl/dcodoc.xslandC:/MySpecGen/xsl/template.xmlfiles toC:/MySpecGen/doc - Running...
- Main class:
org.morfeo.myspecgen.SpecGen - Mandatory arguments:
- OWL URI (e.g
file:///C:/MySpecGen/deliveryContextAll.owl - Relative output folder (e.g
doc)
- OWL URI (e.g
- Main class:
- If the builded is successfully you have every files for each group of terms in
docfolder: common.html, deliverycontext.html, hardware.html, java.html, location.html, network.html, push.html, software.html and web.html - Manual Process... (it's very easy this task because there is a comment in all target files so you can identify the place where paste it)
- Term Index
- Copy this of the
doc/default.htmltotermIndex.html<div id="termIndex">
- Copy this of the
- Object Property Hierarchy Summary
- Copy this of the
properties.htmltoobjectPropHierarchy.html<div class="div1"><h2>Object Property Hierarchy Summary</h2><div id="ObjectProperties" ....
- Copy this of the
- Datatype Property Hierarchy Summary
- Copy this of the
properties.htmltodataTypePropHierarchy.html<div class="div1"><pre><h2>Datatype Property Hierarchy Summary</h2><div id="DatatypeProperties" ....
- Copy this of the
- Class Hierarchy Summary
- Copy all content of
classes.htmltoclassHierarchy.html
- Copy all content of
- Term Index
How to Modularize the DCO Ontology
Introduction
- This section describes how you can modularize the DCO Ontology
- A Protege Plugin was developed for splitting the ontology (compatible Protege 3.3.1)
- It's available from here
Installation
- Decompress the
org.morfeo.mymw.dc.plugin.zipfile inProtege_3.3.1/plugins
Error creating thumbnail: Unable to save thumbnail to destination
- Add this path
plugins/org.morfeo.mymw.dc.plugin/xalan.jartorun_protege.batfile- E.g:
set JARS=protege.jar;..;plugins/org.morfeo.mymw.dc.plugin/xalan.jar;
- E.g:
User Guide
- Load DCOntology in Protege
- Tools > DCOntology > Modularize
Error creating thumbnail: Unable to save thumbnail to destination
- If the process was finished successfully you have the target files saved in the same folder than the DCOntology OWL
Error creating thumbnail: Unable to save thumbnail to destination