15.134 SEM_APIS.RENAME_MODEL
Format
SEM_APIS.RENAME_MODEL( old_name IN VARCHAR2, new_name IN VARCHAR2, 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.RENAME_RDF_GRAPH subprogram instead.Description
Renames a model.
Parameters
Usage Notes
The following considerations apply to the use of this procedure:
-
You must be the owner of the existing model.
-
This procedure is not supported on virtual models (explained in Virtual Models).
Contrast this procedure with SEM_APIS.SWAP_NAMES, which swaps (exchanges) the names of two existing models.
For information about semantic network types and options, see RDF Networks.
Examples
The following example renames a model named MODEL1
to MODEL2
.
EXECUTE sem_apis.rename_model('model1', 'model2');
Parent topic: SEM_APIS Package Subprograms