Cheryl
Cheryl

Reputation: 245

SPARQL Update operations

According to SPARQL Update 1.1 there is a GraphStore where all the operations take place. I would like to ask if we can create more than one unnamed RDF graphs(except the default) in the GraphStore through the various operations.

Upvotes: 1

Views: 179

Answers (1)

RobV
RobV

Reputation: 28675

No you cannot, per the Section 2 of the specification there is only ever one unnamed graph:

A Graph Store is a mutable container of RDF graphs managed by a single service. Similar to an RDF Dataset operated on by the SPARQL 1.1 Query Language, a Graph Store contains one (unnamed) slot holding a default graph and zero or more named slots holding named graphs. Operations MAY specify graphs to be modified, or they MAY rely on a default graph for that operation.

I added the emphasis to the above quote from the specification, essentially there is only ever one unnamed graph.

Technically speaking you cannot even DROP this graph since it must always exist (even if empty)

Upvotes: 2

Related Questions