Hello, Having the following mock data set, backed by Jena Fuseki, with a triple in a graph:
>>> store = SPARQLUpdateStore(queryEndpoint='http://localhost:3030/dev/query', update_endpoint='http://localhost:3030/dev/update') >>> ds = Dataset(store, default_union=True) >>> gr = ds.graph(URIRef('urn:g:1')) >>> gr.add((URIRef('urn:s:1'), URIRef('urn:p:1'), URIRef('urn:o:1'))) I want to delete that triple without knowing which graph it is in, considering that there may be many other graphs and triples in the data set. In SPARQL that would correspond to: DELETE { GRAPH ?g { <urn:s:1> <urn:p:1> <urn:o:1> . } } WHERE {} I *must* specify a graph, either by IRI or variable, or Fuseki won't remove the tripleāi.e. something like >>> ds.remove((URIRef('urn:s:1'), URIRef('urn:p:1'), URIRef('urn:o:1'))) or even >>> ds.remove((URIRef('urn:s:1'), URIRef('urn:p:1'), URIRef('urn:o:1'), None)) won't work. How would I do that in RDFLib? Thanks, Stefano -- http://github.com/RDFLib --- You received this message because you are subscribed to the Google Groups "rdflib-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to rdflib-dev+unsubscr...@googlegroups.com. To post to this group, send email to rdflib-dev@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rdflib-dev/13a5f1cc-6dd5-49d2-8858-d17988daf0d9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.