15.101 SEM_APIS.GET_MODEL_NAME

Format

SEM_APIS.GET_MODEL_NAME(
     model_id  IN NUMBER 
     ) RETURN VARCHAR2;

Description

Returns the model name of a semantic technology model.

Parameters

model_id

ID number of the semantic technology model.

Usage Notes

The model_id value must match a value in the MODEL_ID column in the SEM_MODEL$ view, which is described in Metadata for Models.

Examples

The following example returns the model ID number for the model with the ID value of 1. This example is an excerpt from Example 1-129 in Example: Journal Article Information.)

SQL> SELECT SEM_APIS.GET_MODEL_NAME(1) AS model_name FROM DUAL;
 
MODEL_NAME                                                       
--------------------------------------------------------------------------------
ARTICLES