15.99 SEM_APIS.GET_INC_INF_INFO
Format
SEM_APIS.GET_INC_INF_INFO( entailment_name IN VARCHAR2, enabled OUT BOOLEAN, prev_inf_start_time OUT TIMESTAMP, network_owner IN VARCHAR2 DEFAULT NULL, network_name IN VARCHAR2 DEFAULT NULL);
Description
Returns incremental inference information for an entailment.
Parameters
- entailment_name
-
Name of the entailment.
- enabled
-
Boolean value returned by the procedure:
TRUE
if incremental inference is enabled for the entailment, orFALSE
if incremental inference is not enabled for the entailment. - prev_inf_start_time
-
Timestamp indicating when the entailment was most recently updated (if incremental inference is enabled).
- network_owner
-
Owner of the RDF network. (See Table 1-2.)
- network_name
-
Name of the RDF network. (See Table 1-2.)
Usage Notes
To enable incremental inference for an entailment, use the SEM_APIS.ENABLE_INC_INFERENCE procedure.
For an explanation of incremental inference, including usage information, see Performing Incremental Inference.
For information about RDF network types and options, see RDF Networks.
Examples
The following example displays incremental inference information for an entailment.
DECLARE bEnabled boolean; tsEnabled timestamp; DECLARE EXECUTE IMMEDIATE 'create table m1 (t SDO_RDF_TRIPLE_S)'; sem_apis.create_sem_model('m1','m1','t'); sem_apis.create_entailment('m1_inf',sem_models('m1'), sem_rulebases('owlprime'),null,null,'INC=T'); sem_apis.get_inc_inf_info('m1_inf', bEnabled, tsEnabled); dbms_output.put_line('is enabled:' || case when bEnabled then 'true' else 'false' end); dbms_output.put_line('enabled at:' || tsEnabled); END /
Parent topic: SEM_APIS Package Subprograms