SEM_APIS.MERGE_MODELS Does Not Support Named Graphs (Doc ID 1568399.1)

Last updated on FEBRUARY 08, 2017

Applies to:

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

Symptoms

Using the function merge_model to do a full copy of the productive Semantic Model MS3_LIVE to the working Model MS2_WORK.

Every triple in MS3_LIVE has a Graph name. We expect the copy to transfer the graph name to the targeted model


SELECT a.triple.GET_SUBJECT() subject,
  a.triple.GET_PROPERTY() predicate,
  TO_CHAR(a.triple.GET_OBJECT()) object,
  to_char(a.triple.rdf_m_id) graph_id
FROM RDF_MS3_DATA1 a where rownum<2;
returns as graph_id : 34509545880989908270252556349

The copied Model returns 61 as graph_id, which is just the model ID --> the named graph is missing

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