![]() |
Page History
...
A coding scheme manifest file is a valid XML file, conforming to the schema defined by http://LexGrid.org/schema/LexBIG/2007/01/CodingSchemeManifestList.xsd
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
...
- Coding Scheme Manifest entry field: id
- Type: lgCommon:registeredName
- Required: Yes
- Override flag set: Not applicable
- Description: The registered name is the key used to find a coding scheme (for example a unique URL or namespace by which other people access same coding scheme). This String value will be used to identify the manifest entry in the manifest file for the coding scheme too. For example the registered name for coding scheme "Amino-acid" is http://www.co-ode.org/ontologies/amino-acid/2006/05/18/amino-acid.owl#
. This string is also set as the coding scheme's registered name field in the LexGrid model.Multiexcerpt include nopanel true MultiExcerptName ExitDisclaimer PageWithExcerpt wikicontent:Exit Disclaimer to Include
...
- Primary Key Strategy - see (DB_PRIMARY_KEY_STRATEGY Config Setting)
- Sequential Integer Primary Key (SEQUENTIAL_INTEGER) is the best strategy for large loads. This allows the database to insert records into the index in a sequential manner, which is more efficient. If GUID strategy is used, records will be inserted into the index tree at random locations, resulting in index re-balancing after every insert.
- Hardware is very important to large content loads.
- RRF Loads are loaded in a multi-threaded manner. Multi-processor servers will give the best performance.
- If possible, seperate the database server and the loader server.
- Monitoring a load
- Monitor all LexEVS logs (both 'load' and 'full' log).
- If using MySQL, use INNODB tools to monitor Inserts per second. (SHOW INNODB STATUS)
Multiexcerpt include nopanel true MultiExcerptName ExitDisclaimer PageWithExcerpt wikicontent:Exit Disclaimer to Include
Load Time Preferences
Preferences for loading elements of sources such as OWL can be done at load time.
...
This value can be adjusted by creating an XML file that resolves against this schema: http://LexGrid.org/schema/LexBIG/2009/01/Preferences/load/LoadPreferences
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
XMLMetadataFilePath
Any xml document can be assigned as metadata to a newly loaded coding scheme. The xml document is broken down into individual tags and values, which are then searchable through the LexBIG Service Metadata interface. This parameter indicates the path of xml metadata assigned during the current load operation. For most loaders, the given path serves strictly as an option to input user-specified data. For The NCI Metathesaurus loader, metadata is automatically generated and assigned to the coding scheme. In these cases, the generated xml will be output to the given file, overwriting any existing content.
...
These values can be adjusted by creating an XML file that resolves against this schema: http://LexGrid.org/schema/LexBIG/2009/01/Preferences/load/OWLLoadPreferences
PropnamePrimitive
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
PropnamePrimitive
Entities can be assigned a property that Entities can be assigned a property that indicates whether or not it is considered primitive (having no equivalent classes). This preference controls
the name of the property that is created; the property value will indicate true or false. If not specified, the name 'primitive' is assumed.
...
This value can be adjusted by creating an XML file that resolves against this schema: http://LexGrid.org/schema/LexBIG/2009/01/Preferences/load/SemNetLoadPreferences
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
SemNetLoaderPreferences
The load parameter controls which inherited relationships are loaded and navigable within LexBIG. When selecting the option not to load inherited relationships, all associations are extracted from the source file SRSTR (stated relations). When loading all inherited relations, associations are extracted from the source file SRSTRE1 (classified relations).
...
A Revision Overview
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
...
For instance, the following revision defines a new association for the coding scheme AutomobilesAD. The AssociationTarget
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
...
Notice that even though an AssociationSource contains a collection of targets, it is not a Versionable element itself, so the revision definition for an association is in the association target. A collection of sources is contained in another unversioned element the AssociationPredicate
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
...
Revisions in LexGrid are discussed in more detail here:
Post Processing Options
Post load processing algorithms allow users to access information about the source that may only be available post load and apply to coding scheme meta-data.
...
- Start from an installed LexEVS local API.
- Load from <LexEVS root>/test/resources/testData/ the coding scheme Automobiles.xml (You should be able to do this using a source in any format supported for loading)
- Activate this scheme and view it's contents by getting a coded node set and resolving it.
- Load from <LexEVS root>/test/resources/testData/ the coding scheme testExtension.xml selecting the option to extend by selecting the Automobiles terminology from the drop down list by it's URN and version.
- View the concept codes for the extension and see both the original code set and the supplemental code set.
Keep in mind that the testExtension.xml's file format can be used to extend any coding scheme currently loaded to LexEVS.
...
- Requirements:
- Address of the latest LexGrid model xsd: http://LexGrid.org/schema/2010/01/LexGrid/codingSchemes.xsd
Multiexcerpt include nopanel true MultiExcerptName ExitDisclaimer PageWithExcerpt wikicontent:Exit Disclaimer to Include - An XML editor like oXygen.
- Address of the latest LexGrid model xsd: http://LexGrid.org/schema/2010/01/LexGrid/codingSchemes.xsd
...