SEM_APIS.DROP_SEM_MODEL
Format
SEM_APIS.DROP_SEM_MODEL(
model_name IN VARCHAR2,
options IN VARCHAR2 DEFAULT NULL,
network_owner IN VARCHAR2 DEFAULT NULL,
network_name IN VARCHAR2 DEFAULT NULL);
Note: This subprogram will be deprecated in a future release. It is recommended that you use the SEM_APIS.DROP_RDF_GRAPH subprogram instead.
Description
Drops (deletes) a semantic technology model.
Parameters
model_name
Name of the model.
options
(Reserved for future use.)
network_owner
Owner of the semantic network. (See Table: network_owner and network_name Parameters.)
network_name
Name of the semantic network. (See Table: network_owner and network_name Parameters.)
Usage Notes
This procedure deletes the model from the SEM_MODEL$ view, which is described in Metadata for Models.
This procedure is the only supported way to delete a model. Do not use SQL DELETE statements with the SEM_MODEL$ view.
Only the creator of a model can delete the model.
To truncate a model instead of deleting it, use the SEM_APIS.TRUNCATE_SEM_MODEL procedure.
For information about semantic network types and options, see RDF Networks.
Examples
The following example drops the semantic technology model named articles.
EXECUTE SEM_APIS.DROP_SEM_MODEL('articles');