15.135 SEM_APIS.RENAME_RDF_GRAPH

Format

SEM_APIS.RENAME_RDF_GRAPH(
     old_name       IN VARCHAR2, 
     new_name       IN VARCHAR2,
     network_owner  IN VARCHAR2 DEFAULT NULL,
     network_name   IN VARCHAR2 DEFAULT NULL);

Description

Renames an RDF graph.

Parameters

old_name

Name of the existing RDF graph to be renamed.

new_name

New name for the RDF graph.

network_owner

Owner of the RDF network. (See Table 1-2.)

network_name

Name of the RDF network. (See Table 1-2.)

Usage Notes

The following considerations apply to the use of this procedure:

  • You must be the owner of the existing RDF graph.

  • This procedure is not supported on RDF graph collections (explained in RDF Graph Collections).

Contrast this procedure with SEM_APIS.SWAP_NAMES, which swaps (exchanges) the names of two existing graphs.

For information about RDF network types and options, see RDF Networks.

Examples

The following example renames a graph named G1 to G2.

EXECUTE sem_apis.rename_rdf_graph('g1', 'g2');