3.3.4 Update view, transactions and snapshots
AllApplicationManualNameSummaryHelp

  • Documentation
    • Reference manual
    • Packages
      • SWI-Prolog Semantic Web Library 3.0
        • Two RDF APIs
          • library(semweb/rdf_db): The RDF database
            • Update view, transactions and snapshots
              • rdf_transaction/1
              • rdf_transaction/2
              • rdf_transaction/3
              • rdf_snapshot/1
              • rdf_delete_snapshot/1
              • rdf_active_transaction/1
              • rdf_current_snapshot/1
Availability::- use_module(library(semweb/rdf_db)).
Source[det]rdf_snapshot(-Snapshot)
Take a snapshot of the current state of the RDF store. Later, goals may be executed in the context of the database at this moment using rdf_transaction/3 with the snapshot option. A snapshot created outside a transaction exists until it is deleted. Snapshots taken inside a transaction can only be used inside this transaction.