({{, SPARQLCreate[g] 
is an update operator that can be applied to an (PackageLink[RDFStore, paclet:GraphStore/ref/RDFStore, GraphStore Package Symbol]), which creates an empty graph with name g.}})

OpenersNotesSection(Spacer1)Details

SPARQLCreate can be used in SPARQLExecute to create a graph in a SPARQL endpoint.

g is usually an (PackageLink[IRI, paclet:GraphStore/ref/IRI, GraphStore Package Symbol]).

OpenersPrimaryExamplesSection(Spacer1)Examples  (1)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Needs["GraphStore`"]

Specify an empty RDF dataset:

ds=RDFStore[{},<||>]

Create a named graph:

ds//SPARQLCreate[IRI["http://example.org/g1"]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(PackageLink[SPARQLDrop, paclet:GraphStore/ref/SPARQLDrop, GraphStore Package Symbol])  ▪  (PackageLink[SPARQLCopy, paclet:GraphStore/ref/SPARQLCopy, GraphStore Package Symbol])  ▪  (PackageLink[SPARQLMove, paclet:GraphStore/ref/SPARQLMove, GraphStore Package Symbol])  ▪  (PackageLink[SPARQLAdd, paclet:GraphStore/ref/SPARQLAdd, GraphStore Package Symbol])  ▪  (PackageLink[SPARQLUpdate, paclet:GraphStore/ref/SPARQLUpdate, GraphStore Package Symbol])  ▪  (PackageLink[RDFStore, paclet:GraphStore/ref/RDFStore, GraphStore Package Symbol])  ▪  (PackageLink[IRI, paclet:GraphStore/ref/IRI, GraphStore Package Symbol])}})}})

({{DocumentationFooterIconsRelatedGuide.png, ({{Related Guides}, {▪(RefLinkPlain[Writing To RDF Stores Using SPARQL, paclet:GraphStore/guide/SPARQLUpdate])}, {▪(RefLinkPlain[Graph Store Overview, paclet:GraphStore/guide/GraphStoreOverview])}})}})