ORA-01400: Cannot Insert NULL Into ("MDSYS"."RDF#49"."G_ID") When Trying To Create an Entailment With OWLSIF Rulebase

(Doc ID 1955867.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Spatial and Graph - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

ORA-1400 cannot insert NULL into ("MDSYS"."RDF#49"."G_ID") while trying to create an entailment

exec sem_apis.create_entailment('census_ent', sem_models('census_abox','census_tbox'), sem_rulebases('owlsif'), options => 'LOCAL_NG_INF=T');

exec sem_apis.create_entailment('census_ent', sem_models('census_abox','census_tbox'), sem_rulebases('owlsif'), options => 'LOCAL_NG_INF=T'); Report errori:
ORA-01400: cannot insert NULL into ("MDSYS"."RDF#49"."G_ID")
ORA-06512: a "MDSYS.SDO_SEM_INF_INTERNAL", line 16453
ORA-06512: a "MDSYS.SDO_SEM_INFERENCE", line 302
ORA-06512: a "MDSYS.SDO_SEM_INFERENCE", line 352
ORA-06512: a "MDSYS.RDF_APIS", line 126
ORA-06512: a line 1

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