Module rdf_canon::canon

source ·

Functions§

  • 4.4 Canonicalization Algorithm The canonicalization algorithm converts an input dataset into a canonicalized dataset. This algorithm will assign deterministic identifiers to any blank nodes in the input dataset.
  • 5. Serialization The serialized canonical form of a canonicalized dataset is an N-Quads document [N-QUADS] created by representing each quad from the canonicalized dataset in canonical n-quads form, sorting them into code point order, and concatenating them. (Note that each canonical N-Quads statement ends with a new line, so no additional separators are needed in the concatenation.) The resulting document has a media type of application/n-quads, as described in C. N-Quads Internet Media Type, File Extension and Macintosh File Type of [N-QUADS].