SEM_RDFSA.RESET_MODEL_LABELS
Format
SEM_RDFSA.RESET_MODEL_LABELS(
model_name IN VARCHAR2,
network_owner IN VARCHAR2 DEFAULT NULL,
network_name IN VARCHAR2 DEFAULT NULL);
Description
Resets the labels associated with a model or with global resources; requires that the associated model or models be empty.
Parameters
model_name
Name of the model for which the labels should be reset, or the string RDF$GLOBAL to reset the labels associated with all global resources.
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
If you specify a model name, the model must be empty. If you specify RDF$GLOBAL, all the models must be empty (that is, no triples in the RDF repository).
You must have FULL access privilege with the OLS policy applied to the semantic data store.
For information about support for OLS, see Fine-Grained Access Control for RDF Data.
For information about semantic network types and options, see RDF Networks.
Examples
The following example removes all resources and their labels associated with the Contracts model.
begin
sem_rdfsa.reset_model_labels(model_name => 'Contracts');
end;
/