SEM_APIS.GATHER_SPM_INFO

Format

SEM_APIS.GATHER_SPM_INFO (
    model_name         IN VARCHAR2,
    pred_info_tabname  IN DBMS_ID,
    tablespace_name    IN DBMS_ID DEFAULT NULL,
    degree             IN NUMBER DEFAULT NULL,
    options            IN VARCHAR2 DEFAULT NULL,
    network_owner      IN DBMS_ID DEFAULT NULL,
    network_name       IN VARCHAR2 DEFAULT NULL);

Description

Gathers information about predicate use in a given RDF model.

For more information on result tables content, see Creating and Managing Result Tables.

Parameters

model_name

Name of the RDF model.

pred_info_tabname

Name of the table to be created to contain the information about predicate use.

tablespace_name

Name of the target tablespace for the pred_info_tabname table.

degree

Degree of parallelism.

options

String specifying the options to use during the operation.

Supported option is:

CREATE_ANYWAY=T: Truncate the table specified in pred_info_tabname.

network_owner

Owner of the RDF network. (See Table: network_owner and network_name Parameters.)

network_name

Name of the RDF network. (See Table: network_owner and network_name Parameters.)

Usage Notes

Examples

The following example creates a new table M1_PRED_INFO in the invoker’s schema. This table contains predicate use information for the specified model M1 in the RDF network named NET1 owned by RDFUSER.

begin
     sem_apis.gather_spm_info(
     model_name        => 'M1',
     pred_info_tabname => 'M1_PRED_INFO',
     degree            => 2,
     network_owner     => 'RDFUSER',
     network_name      => 'NET1'
     );
end;