This page describes those tables stored in the Metaphrase database
that are meant to be queryable using SQL. These tables include
submit, a table that stores any new terms submitted by
Metaphrase users who could not find their term in the existing
Metaphrase database (see Metaphrase.submitTerm()),
and edit_log and edit_log_return, which store a
representation of all changes made to a Metaphrase database using the
GoodEnoughUpdate
interface.
Submitted-terms table
The submit table stores terms submitted using the Metaphrase.submitTerm()
method. The fields in this table and their corresponding Oracle
SQL data types include:
tempcuiCHAR(8) - the temporary conceptID (aka
Concept Unique Identifier or CUI) assigned by Metaphrase to this
term
nameVARCHAR2(800) - the submitted term
itself
sourceVARCHAR2(10) - the SAB() of the Source
"source" which the user passed to the submitTerm() call
nearestCHAR(8) - the conceptID of the Concept
"nearestConcept" which the user passed to the submitTerm() call
noteVARCHAR2(900) - the "note" text passed to
the submitTerm() call
relatedVARCHAR2(255) - a string consisting of
the |-separated conceptID's of the Concept[] "relatedConcepts[]" which
the user passed to the submitTerm() call
attrsLONG RAW - the Java serialization of the
java.util.Dictionary "attributes" which the user passed to the
submitTerm() call
argsVARCHAR2(2000) - a representation of the
arguments to the editing function
Edit_log_return table
The edit_log_return table stores a representation of the
information returned from Metaphrase in response to an "EV4" edit. The
fields in this table and their corresponding Oracle SQL data types
include:
seqNUMBER - a sequence number from the
edit_log table. This row represents (a segment of) the return
from the edit described in the row of edit_log that has this
seq value
segmentNUMBER - a sequential number specifying
which segment of the return this row represents. If the return from
the editing function contains more than 2000 characters, it is stored
in multiple rows of this table, all with the same seq value,
and with sequential segment values, starting from 0
returnVARCHAR2(2000) - the specified segment of
the return from the specified edit
If you cannot find the answer to your API question, or have a comment
or suggestion, please send email to metaphrase-support@lexical.com.