Skip to content

cmem_client.models.explore¤

Models of the Corporate Memory Explore (DataPlatform) component.

Classes:

  • AdminOperationStatus – Current administrative operation reported by GET /api/admin/status.
  • StoreInformation – Information about the graph store instance and its capabilities.
  • Title – The human-readable title of an IRI, as the Explore title service resolves it.

AdminOperationStatus¤

Bases: StrEnum

Current administrative operation reported by GET /api/admin/status.

Attributes:

BACKUP¤

BACKUP = 'BACKUP'

BOOTSTRAP¤

BOOTSTRAP = 'BOOTSTRAP'

DROP_ALL_GRAPHS¤

DROP_ALL_GRAPHS = 'DROP_ALL_GRAPHS'

NONE¤

NONE = 'NONE'

RESTORE¤

RESTORE = 'RESTORE'

SHOWCASE¤

SHOWCASE = 'SHOWCASE'

StoreInformation¤

Bases: Model

Information about the graph store instance and its capabilities.

This model represents metadata about the DataPlatform graph store, including the store type and version information. This information is useful for compatibility checks, monitoring, and debugging.

Attributes:

  • type (str) – The type of graph store (e.g., “GRAPHDB”, “TENTRIS”).
  • version (str) – The version string of the graph store implementation.

model_config¤

model_config = ConfigDict(extra='allow', populate_by_name=True)

type¤

type: str

The type/implementation of the graph store (e.g., “GRAPHDB”, “TENTRIS”).

version¤

version: str

The version string of the graph store implementation.

Title¤

Bases: Model

The human-readable title of an IRI, as the Explore title service resolves it.

A resource with a label gets that label; any other IRI gets a title derived from the IRI itself, marked with from_iri.

Attributes:

  • iri (str) – The IRI the title belongs to.
  • title (str) – The label of the resource, or a title derived from the IRI.
  • lang (str | None) – The language tag of the label, if it has one.
  • from_iri (bool) – Whether the title was derived from the IRI instead of a label.
  • predicate (str | None) – The property the label was read from, if there is a label.

from_iri¤

from_iri: bool = Field(default=False, alias='fromIri')

Whether the title was derived from the IRI instead of a label.

iri¤

iri: str

The IRI the title belongs to.

lang¤

lang: str | None = None

The language tag of the label, if it has one.

model_config¤

model_config = ConfigDict(extra='allow', populate_by_name=True)

predicate¤

predicate: str | None = None

The property the label was read from, if there is a label.

title¤

title: str

The label of the resource, or a title derived from the IRI.

Comments