Page History
Scrollbar | ||
---|---|---|
|
...
Page info | ||||
---|---|---|---|---|
|
Table of Contents |
---|
...
Step | Action | ||||||||
---|---|---|---|---|---|---|---|---|---|
1 | Obtain an OWL formatted source.
Save the source to a local folder. | ||||||||
2 | Load the source without options.
Load in Windows environments:
Sample output on success: | ||||||||
3 | Load source with options:
Loading in Windows
|
...
Step | Action | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Obtain or write an OWL2 source An example is the OBI Ontology described here: http://obi-ontology.org/page/Main_Page With source currently available here: http://svn.code.sf.net/p/obi/code/releases/2015-09-15/obi.owl | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
2 | Create a manifest and preferences file for this source Manifests are XML files formatted to an XML schema. They are easiest to create when using an XML editor that can reference an XML schema. The manifest schema is hosted here: http://LexGrid.org/schema/2010/01/LexOnt/CodingSchemeManifest For OWL2 the user can create one like the example for regular OWL above but add a tag for mappings that will help define namespaces in the OBI load:
As tag content supply a supported coding scheme for the enclosing coding scheme OBI.
After this tag define the namespace for the enclosing coding scheme with a reference to the enclosing coding scheme in the equivalent coding scheme attribute
All other namespaces can be defined in the same way with references from the original OWL source which are found in the xmlns attributes of the "<rdf:RDF tag." Each with a reference to the enclosing coding scheme using the equivalentCodingScheme attribute
Attached is a full example of a working manifest for OBI OBI_Apr2015_With_NamespaceToCS_MF.xml Preferences files work in a similar way to the manifest. Instead of updating coding scheme data, they initiate programmatic switches determining how a variety of source definitions can be loaded. The preferences XML scheme is defined here: http://LexGrid.org/schema/LexBIG/2009/01/Preferences/load/OWLLoadPreferences This includes setting nodes designated as root, i.e. without relational parent codes of any kind.
Other applications for OWL2 include loading Axiom based restrictions as a variety of relationships. This is accomplished by setting the strict owl tag value to true:
A full working preferences file is attached below | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
3 | Load source with options using option files
|
...
Scrollbar | ||
---|---|---|
|