SEM_APIS.ALTER_MODEL
Format
SEM_APIS.ALTER_MODEL(
model_name IN VARCHAR2,
command IN VARCHAR2,
tablespace_name IN VARCHAR2,
parallel IN NUMBER(38) 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.ALTER_RDF_GRAPH subprogram instead.
Description
Alters a model. Currently, the only action supported is to move the model to a specified tablespace.
Parameters
model_name
Name of the model.
command
Must be the string MOVE.
tablespace_name
Name of the destination tablespace.
parallel
Degree of parallelism to be associated with the operation. For more information about parallel execution, see Oracle AI Database VLDB and Partitioning Guide.
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
For an explanation of models, see Semantic Data Modeling and Semantic Data in the Database.
For information about semantic network types and options, see RDF Networks.
Examples
The following example moves the model named family to the tablespace named my_tbs.
EEXECUTE SEM_APIS.ALTER_MODEL('family', 'MOVE', 'my_tbs');