15.101 SEM_APIS.GET_MODEL_ID

Format

SEM_APIS.GET_MODEL_ID(
     model_name    IN VARCHAR2,
     network_owner IN VARCHAR2 DEFAULT NULL,
     network_name  IN VARCHAR2 DEFAULT NULL
) RETURN NUMBER;

Description

Returns the model ID number of a semantic technology model.

Parameters

model_name

Name of the semantic technology model.

network_owner

Owner of the RDF network. (See Table 1-2.)

network_name

Name of the RDF network. (See Table 1-2.)

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