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.
SPARQLMove
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)
Needs["GraphStore`"]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":
personData = personData//SPARQLMove[URL["http://example.org/tony"], URL["http://example.org/toni"]]Related Guides
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: 13-June-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: 13-June-2026]}