15.153 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
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');
Parent topic: SEM_APIS Package Subprograms