Not logged in : Login

About: VirtTipsAndTricksGuideRenameGraph     Goto   Sponge   NotDistinct   Permalink

An Entity of Type : atom:Entry, within Data Space : ods.openlinksw.com associated with source document(s)

AttributesValues
type
Date Created
Date Modified
label
  • VirtTipsAndTricksGuideRenameGraph
maker
Title
  • VirtTipsAndTricksGuideRenameGraph
isDescribedUsing
has creator
content
  • %META:TOPICPARENT{name="VirtTipsAndTricksGuide"}% ---++How to rename a RDF Graph in the Virtuoso Quad Store ---+++Rename RDF Graph A RDF Graph in the Virtuoso Quad Store can be renamed without copying each assertion from the old graph to the new graph using a SQL statement, this being what the Conductor "rename" option does, which is: <verbatim> UPDATE DB.DBA.RDF_QUAD TABLE OPTION (index RDF_QUAD_GS) SET g = iri_to_id ('new') WHERE g = iri_to_id ('old', 0); </verbatim> <b>Note</b>: this operation must be run in <i>row-autocommit</i> mode i.e. <code>log_enable (3)</code>, and then restore back to the default logging mode of 1. ---+++Rename RDF Graph Group For Virtuoso Graph Groups two tables need to be updated: <verbatim> UPDATE DB.DBA.RDF_GRAPH_GROUP_MEMBER SET RGGM_GROUP_IID = iri_to_id ('new') WHERE RGGM_GROUP_IID = iri_to_id (old) </verbatim> and <verbatim> UPDATE DB.DBA.RDF_GRAPH_GROUP SET RGG_IID = iri_to_id ('new') , RGG_IRI = 'new' WHERE RGG_IRI = 'old' </verbatim> ---+++Related * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]] * [[http://docs.openlinksw.com/virtuoso/rdfperformancetuning.html][RDF Performance Tuning]]
id
  • 9305e673f0165a8591bb3c7abc30b401
link
has container
http://rdfs.org/si...ices#has_services
atom:title
  • VirtTipsAndTricksGuideRenameGraph
links to
atom:source
atom:author
atom:published
  • 2017-06-13T05:46:17Z
atom:updated
  • 2017-06-13T05:46:17Z
topic
is made of
is container of of
is link of
is http://rdfs.org/si...vices#services_of of
is links to of
is creator of of
is atom:entry of
is atom:contains of
Faceted Search & Find service v1.17_git132 as of May 12 2023


Alternative Linked Data Documents: iSPARQL | ODE     Content Formats:   [cxml] [csv]     RDF   [text] [turtle] [ld+json] [rdf+json] [rdf+xml]     ODATA   [atom+xml] [odata+json]     Microdata   [microdata+json] [html]    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3238 as of May 23 2023, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (15 GB total memory, 3 GB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2024 OpenLink Software