ORA-13199 RDF Rules Index May Not Be Created For Version-Enabled Models
Last updated on FEBRUARY 08, 2017
Applies to:
Workspace Manager - Version: 11.2.0.2Information 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, we are getting error
ORA-13199: RDF Rules Index may not be created for version-enabled models
-- 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
Cause
Sign In with your My Oracle Support account |
|
Don't have a My Oracle Support account? Click to get started |
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms