15.151 SEM_APIS.TRUNCATE_RDF_GRAPH

Format

SEM_APIS.TRUNCATE_RDF_GRAPH(
     rdf_graph_name IN VARCHAR2, 
     options        IN VARCHAR2 DEFAULT NULL,
     network_owner  IN VARCHAR2 DEFAULT NULL,
     network_name   IN VARCHAR2 DEFAULT NULL);

Description

Truncates an RDF graph.

Parameters

rdf_graph_name

Name of the RDF graph.

options

(Reserved for future use)

network_owner

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

network_name

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

Usage Notes

This procedure removes all triples and quads from the specified RDF graph and is the only supported way to truncate a graph.

To delete an RDF graph, use the SEM_APIS.DROP_RDF_GRAPH procedure.

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

Examples

The following example truncates an RDF graph named articles. (This example refers to the graph described in Example 1-129.)

EXECUTE SEM_APIS.TRUNCATE_RDF_GRAPH('articles', NULL, network_owner=>'RDFUSER', network_name=>'NET1');