Skip to content

Cannot enumerate dataset graphs #758

@berezovskyi

Description

@berezovskyi

From https://github.com/RDFLib/rdflib/blob/master/rdflib/graph.py#L1573 I wrote the following code:

dataset = rdflib.Dataset(store="SPARQLStore")

dataset.open('http://fuseki.hostname/dataset-name/query')

for g in dataset.graphs():
    print(g)

This results in a TypeError('The SPARQL store is read only') on the internal method call to rdflib.plugins.stores.sparqlstore.SPARQLStore#add_graph.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SPARQLbugSomething isn't workingid-as-cntxttracking related issuesstoreRelated to a store.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions