Retrieving VIMS keywords for MBARI_Samples Database
VIMS keywords are retrieved from the MBARI knowledge base with routines named UpdateAllSampleKeywords.bat and UpdateSampleKeywords.bat. These routines are run from Windows 95 or NT. The knowledge base is on the Windows NT server Tienhou. The routines require that there be one or more records for a sample in the SeedConcept field of the SeedVIMSConcepts table in the MBARI_Samples database. The records must be spelled exactly as the concepts are spelled in the knowledge base (e.g., chiroteuthis-calyx); the "-1" is not required.
The purpose is to take keywords describing a specimen and "explode" up the inheritance hierarchy of the knowledge base so that specimens may be queried upon by higher level terms and common names. For instance, a specimen of Chiroteuthis calyx could be found with a query using the words squid or cephalopoda, and a specimen of granite could be found with a query on igneous-rock.
To run each routine:
Or type "UpdateSampleKeywords.bat 73" (or any other SampleID) to just have it perform on one sample.
The DOS bat scripts UpdateAllSampleKeywords.bat and UpdateSampleKeywords.bat execute the Java code UpdateAllSampleKeywords and UpdateSampleKeywords that utilizes the following classes, programs and routines:
UpdateAllSampleKeywords does the following:
UpdateSampleKeywords executes the above steps only for the specimen indicated by the SampleID ignoring KeywordLookupStatus.
![]()
»Next: Spreadsheet import
Last updated: 01 February 2005 by Jennifer Paduan
Copyright © 1998 MBARI