www.openlinksw.com
docs.openlinksw.com

Book Home

Contents
Preface

Virtuoso Functions Guide

Administration
Aggregate Functions
Array Manipulation
BPEL APIs
Backup
Compression
Cursor
Date & Time Manipulation
Debug
Dictionary Manipulation
Encoding & Decoding
File Manipulation
Free Text
Hashing / Cryptographic
LDAP
Locale
Mail
Miscellaneous
Number
Phrases
RDF data
db.dba.rdf_64bit_upg...
db.dba.rdf_audit_met...
db.dba.rdf_backup_me...
db.dba.rdf_convert_r...
db.dba.rdf_graph_col...
db.dba.rdf_graph_dif...
db.dba.rdf_graph_gro...
db.dba.rdf_graph_gro...
db.dba.rdf_langmatch...
db.dba.rdf_load_rdfa
db.dba.rdf_load_rdfx...
db.dba.rdf_load_rdfx...
db.dba.rdf_quad_uri
db.dba.rdf_quad_uri_...
db.dba.rdf_quad_uri_...
db.dba.rdf_regex
db.dba.rdf_restore_m...
db.dba.rdf_suo_apply...
db.dba.rdf_suo_diff_...
db.dba.rdf_triples_t...
db.dba.rdf_triples_t...
db.dba.rdf_ttl2hash
db.dba.rdf_void_stor...
db.dba.sparql_eval
db.dba.sparql_eval_t...
db.dba.sparql_rdb2rd...
db.dba.sparql_rdb2rd...
db.dba.sparql_rexec
db.dba.sparql_rexec_...
db.dba.sparql_rexec_...
db.dba.sparql_select...
db.dba.ttlp
db.dba.ttlp_mt
db.dba.ttlp_mt_local...
isref
__xml_get_ns_prefix
__xml_get_ns_uri
iri_split
rdfs_rule_set
Remote SQL Data Source
Replication
SOAP
SQL
String
Transaction
Type Mapping
UDDI
User Defined Types & The CLR
VAD
Virtuoso Java PL API
Virtuoso Server Extension Interface (VSEI)
Web & Internet
XML
XPATH & XQUERY

Functions Index

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.
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

See Also

Fast Approximate RDF Graph Diff and Patch

DB.DBA.RDF_GRAPH_DIFF

DB.DBA.RDF_SUO_DIFF_TTL

DB.DBA.RDF_GRAPH_COLLECT_FP_LIST