WOLFRAM

Enable JavaScript to interact with content and submit forms on Wolfram websites. Learn how
Wolfram Language & System Documentation Center

SPARQLMove[g1,g2]

is an update operator that can be applied to an RDFStore , which moves data from the graph identified by g1 to the graph identified by g2.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
See Also
Related Guides
Cite this Page

SPARQLMove[g1,g2]

is an update operator that can be applied to an RDFStore , which moves data from the graph identified by g1 to the graph identified by g2.

Details and Options

  • SPARQLMove can be used in SPARQLExecute to move a graph in a SPARQL endpoint.
  • Possible values for the gi are:
  • URL ["iri"] graph identified by the given identifier
    "Default" default graph
  • Data from g2 is removed before the move and g1 is deleted after the move.

Examples

Basic Examples  (1)

Wolfram Language code: Needs["GraphStore`"]

Import data about people:

Wolfram Language code: personData = ImportString[" prefix ex: <http://example.org/> prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> ex:tony { [] rdfs:label \"Toni\"; ex:hobby \"swimming\" . } ", "TriG"]

Rename the graph from "tony" to "toni":

Wolfram Language code: personData = personData//SPARQLMove[URL["http://example.org/tony"], URL["http://example.org/toni"]]
Wolfram Research (2019), SPARQLMove, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLMove.html.

Text

Wolfram Research (2019), SPARQLMove, Wolfram Language function, https://reference.wolfram.com/language/GraphStore/ref/SPARQLMove.html.

CMS

Wolfram Language. 2019. "SPARQLMove." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphStore/ref/SPARQLMove.html.

APA

Wolfram Language. (2019). SPARQLMove. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphStore/ref/SPARQLMove.html

BibTeX

@misc{reference.wolfram_2026_sparqlmove, author="Wolfram Research", title="{SPARQLMove}", year="2019", howpublished="\url{https://reference.wolfram.com/language/GraphStore/ref/SPARQLMove.html}", note=[Accessed: 18-August-2026]}

BibLaTeX

@online{reference.wolfram_2026_sparqlmove, organization={Wolfram Research}, title={SPARQLMove}, year={2019}, url={https://reference.wolfram.com/language/GraphStore/ref/SPARQLMove.html}, note=[Accessed: 18-August-2026]}

Top [フレーム]

AltStyle によって変換されたページ (->オリジナル) /