Name
DB.DBA.RDF_SUO_APPLY_PATCH — Modifies either the target graph
specified in the patch via guo:target_graph
or the graph specified by
default_target_graph argument.
Synopsis
DB.DBA.RDF_SUO_APPLY_PATCH ( |
in patch_graph IRI_ID , |
in default_target_graph IRI_ID
) ; |
Description
This function tries to modify either the target graph specified
in the patch via guo:target_graph
(hence,
the non-NULL target_graph argument of the diff creator, DB.DBA.RDF_SUO_DIFF_TTL() ) or the
graph specified by default_target_graph argument. The function
returns zero in case of success, non-zero value otherwise. In
addition, the function produces a result set that describes the
process of matching blank node in the target graph to instructions
in the patch.
The TURTLE made by DB.DBA.RDF_GRAPH_DIFF can be loaded later into an empty graph and the IRI_ID of that graph can be passed as the first argument to this patch function.
Parameters
patch_graph
IRI ID of the patch graph
default_target_graph
IRI ID of the default target graph
Return Types
integer