15.100 SEM_APIS.GET_MODEL_ID
Format
SEM_APIS.GET_MODEL_ID( model_name IN VARCHAR2 ) RETURN NUMBER;
Description
Returns the model ID number of a semantic technology model.
Usage Notes
The model_name
value must match a value in the MODEL_NAME column in
the SEM_MODEL$ view, which is described in RDF Graphs.
Examples
The following example returns the model ID number for the model named articles
. (This example is an excerpt from Example 1-129 in Example: Journal Article Information.)
SELECT SEM_APIS.GET_MODEL_ID('articles') AS model_id FROM DUAL; MODEL_ID ---------- 1
Parent topic: SEM_APIS Package Subprograms