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: network_owner and network_name Parameters.)
network_name
Name of the RDF network. (See Table: network_owner and network_name Parameters.)
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: Using an RDF Graph for Journal Article Information in Example: Journal Article Information.)
SELECT SEM_APIS.GET_MODEL_ID('articles') AS model_id FROM DUAL;
MODEL_ID
----------
1