1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
//! RDF Patch Protocol implementation
//!
//! RDF Patch is a format for expressing changes to RDF datasets.
//! Each patch consists of optional header lines followed by change lines.
//!
//! # Format Overview
//!
//! ```text
//! H id <uuid>
//! H prev <uuid>
//! TX
//! PA ex <http://example.org/>
//! A <http://example.org/s> <http://example.org/p> <http://example.org/o>
//! D <http://example.org/s> <http://example.org/p> <http://example.org/old>
//! TC
//! ```
//!
//! Line prefixes:
//! - `H` — header (version, id, prev)
//! - `TX` — transaction begin
//! - `TC` — transaction commit
//! - `TA` — transaction abort
//! - `PA` — add prefix
//! - `PD` — delete prefix
//! - `A` — add triple or quad
//! - `D` — delete triple or quad
//!
//! # References
//!
//! <https://afs.github.io/rdf-patch/>
pub use ;
pub use ;
pub use PatchSerializer;