15.43 SEM_APIS.CREATE_RULEBASE

Format

SEM_APIS.CREATE_RULEBASE(
     rulebase_name  IN VARCHAR2),
     options        IN VARCHAR2 DEFAULT NULL),
     network_owner  IN VARCHAR2 DEFAULT NULL,
     network_name   IN VARCHAR2 DEFAULT NULL);

Description

Creates a rulebase.

Parameters

rulebase_name

Name of the rulebase.

options

(Not currently used.)

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 creates a user-defined rulebase. After creating the rulebase, you can add rules to it. To cause the rules in the rulebase to be applied in a query of RDF data, you can specify the rulebase in the call to the SEM_MATCH table function.

Rules and rulebases are explained in Inferencing: Rules and Rulebases. The SEM_MATCH table function is described in Using the SEM_MATCH Table Function to Query Semantic Data,

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

Examples

The following example creates a rulebase named family_rb. (It is an excerpt from Example 1-130 in Example: Family Information.)

EXECUTE SEM_APIS.CREATE_RULEBASE('family_rb');