tg-show-kg-cores

Shows available knowledge cores in TrustGraph.

Synopsis

tg-show-kg-cores [options]

Description

The tg-show-kg-cores command lists all knowledge cores available for a specific user. Knowledge cores contain structured knowledge (RDF triples and graph embeddings) that can be loaded into flows.

Options

Optional Arguments

Option Default Description
-u, --api-url URL $TRUSTGRAPH_URL or http://localhost:8088/ TrustGraph API URL
-t, --token TOKEN $TRUSTGRAPH_TOKEN Authentication token
-w, --workspace WORKSPACE $TRUSTGRAPH_WORKSPACE or default Workspace identifier

Examples

List All Knowledge Cores

tg-show-kg-cores

List Cores for Specific Workspace

tg-show-kg-cores -w researcher

Using Custom API URL

tg-show-kg-cores -u http://production:8088/

Environment Variables

  • TRUSTGRAPH_URL: Default API URL
  • TRUSTGRAPH_TOKEN: Default authentication token
  • TRUSTGRAPH_WORKSPACE: Default workspace identifier

API Integration

This command uses the Knowledge API to list available knowledge core identifiers.