Interface CortexArchive

All Known Subinterfaces:
Cortex

public interface CortexArchive
Exports the approved assertions as a portable RDF document.
  • Method Summary

    Modifier and Type
    Method
    Description
    Exports the approved assertions — the knowledge graph as it stands after review.
  • Method Details

    • exportAssertions

      String exportAssertions()
      Exports the approved assertions — the knowledge graph as it stands after review.

      Only approved statements are exported: assertions still staged on a branch, and the provenance recorded for approved ones, are both excluded. The result is therefore a plain instance-data document, expressed in terms of the ontology but not carrying it, which can be read, diffed, or fed back through ingest.

      For backing the graph up, see CortexBackup.backup(), which captures the whole dataset — staged branches and provenance included — rather than just the approved assertions.

      Returns:
      the approved assertions serialized in Turtle syntax