My Oracle Support Banner

ORA-13199 RDF Rules Index May Not Be Created For Version-Enabled Models (Doc ID 1364447.1)

Last updated on APRIL 04, 2019

Applies to:

Workspace Manager - Version 11.2.0.2 and later
Information in this document applies to any platform.

Symptoms

The 11gR2 Oracle documentation states that RDF data stored in the Oracle Database semantic data store can be version-enabled using Oracle Database 11g Workspace Manager.

However, the following error is raised when creating an entailment

-- 1. Enabling Workspace Manager Support for RDF Data
conn / as sysdba
start ?/md/admin/sdordfwm.sql

-- 2. Create table and model:

conn scott/tiger

CREATE TABLE emp_rdf_data(id number,triple sdo_rdf_triple_s);
ALTER TABLE emp_rdf_data add CONSTRAINT emp_rdf_data_PK PRIMARY KEY (ID);

EXEC SEM_APIS.CREATE_SEM_MODEL('emp0','emp_rdf_data','triple');

-- 3. Activate versioning
EXEC dbms_wm.enableVersioning (table_name => 'emp_rdf_data');

-- 4. Create entailment

begin
sem_apis.create_entailment(
index_name_in => 'emp0_idx',
models_in => SDO_RDF_Models('emp0'),
rulebases_in => SDO_RDF_Rulebases('owlprime'));
end;
/


Output:

begin
*
ERROR at line 1:
ORA-13199: RDF Rules Index may not be created for version-enabled models
ORA-06512: at "MDSYS.SDO_SEM_INF_INTERNAL", line 12469
ORA-06512: at "MDSYS.SDO_SEM_INFERENCE", line 108
ORA-06512: at "MDSYS.RDF_APIS", line 72
ORA-06512: at line 2

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.