Not logged in : Login

About: VirtTipsAndTricksGuideModifyUsageAsInsert     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
  • VirtTipsAndTricksGuideModifyUsageAsInsert
maker
Title
  • VirtTipsAndTricksGuideModifyUsageAsInsert
isDescribedUsing
has creator
content
  • %META:TOPICPARENT{name="VirtTipsAndTricksGuide"}% ---+How Can I Use MODIFY to update triples? The following queries are equivalent: <verbatim> MODIFY <http://test.com/> DELETE {?s ?p ?o} INSERT {?s_new ?p ?o} FROM <http://test.com/> WHERE { { SELECT iri(bif:replace(str(?s),"http://test.com/link","http://test.com/extra/link" ) ) AS ?s_new ?s ?p ?o WHERE { ?s ?p ?o FILTER (regex (str(?s), "http://test.com/link")) } } } </verbatim> <verbatim> MODIFY <http://test.com/> DELETE {?s ?p ?o} INSERT {`iri(?s_new)` ?p ?o} FROM <http://test.com/> WHERE { { SELECT bif:replace(str(?s),"http://test.com/link","http://test.com/extra/link" ) AS ?s_new ?s ?p ?o WHERE { ?s ?p ?o FILTER (regex (str(?s), "http://test.com/link")) } } } </verbatim> <verbatim> MODIFY <http://test.com/> DELETE {?s ?p ?o} INSERT { `iri(bif:replace(str(?s),"http://test.com/link","http://test.com/extra/link" ))` ?p ?o } FROM <http://test.com/> WHERE { { ?s ?p ?o FILTER (regex (str(?s), "http://test.com/link")) } } } </verbatim> ---++Related * [[VirtTipsAndTricksGuide][Virtuoso Tips and Tricks Collection]] * [[http://docs.openlinksw.com/virtuoso/rdfsparql.html][Virtuoso Documentation]]
id
  • a265f99754f0202e55e38befd45da741
link
has container
http://rdfs.org/si...ices#has_services
atom:title
  • VirtTipsAndTricksGuideModifyUsageAsInsert
links to
atom:source
atom:author
atom:published
  • 2017-06-13T05:49:04Z
atom:updated
  • 2017-06-13T05:49:04Z
topic
is made of
is container of of
is link of
is http://rdfs.org/si...vices#services_of of
is creator of of
is atom:entry of
is atom:contains of
Faceted Search & Find service v1.17_git150 as of Jan 20 2025


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 08.03.3332 as of Sep 11 2024, on Linux (x86_64-generic-linux-glibc25), Single-Server Edition (15 GB total memory, 759 MB memory in use)
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2025 OpenLink Software