KnowledgeGraph.export_base()

Export the BASE layer to a .kg file.

Usage

Source

KnowledgeGraph.export_base(
    path,
    *,
    description="",
    author="",
)

Parameters

path: str | Path

Destination file path.

description: str = ""

Optional human-readable description embedded in the manifest.

author: str = ""
Optional author name.

Returns

Path
The resolved output path.