def update(self, update_object, processor='sparql',
              initNs=None, initBindings=None,
              use_store_provided=True, **kwargs):
        initBindings = initBindings or {}
        initNs = initNs or dict(self.namespaces())

        if hasattr(self.store, "update") and use_store_provided:
            try:
                return self.store.update(
                    update_object, initNs, initBindings,
                    self.default_union
                    and '__UNION__'
                    or self.identifier,
                    **kwargs)
            except NotImplementedError:
                pass  # store has no own implementation

        if not isinstance(processor, query.UpdateProcessor):
            processor = plugin.get(processor, query.UpdateProcessor)(self)

        return processor.update(update_object, initBindings, initNs, **kwargs)
Update this graph with the given update query.
dataset/ETHPy150Open RDFLib/rdflib/rdflib/graph.py/Graph.update