lbb_inspect
Inspect exact graph facts, ontology, schema, entity metadata, history, and publication status to understand knowledge graph state.
Instructions
Read graph context and exact graph facts. Actions: guide, graphs, publication, ontology, ontology_conformance, schema, ontology_search, metadata, entity, state, history, transitions, why. graphs works before bootstrap; publication reports whether writes are queryable. ontology and schema return complete entries with page_size, section and cursor; follow next until absent. schema reads active native ontology/SHACL metadata without running validation. Query asserted RDF/OWL axioms separately with lbb_query. ontology_conformance serves the durable report referenced by the pinned published root. entity returns one node's metadata, scalar attributes, bounded Base-backed edge neighborhood, history, and observations. Use lbb_query with SPARQL property paths for precise path selection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| as_of | No | Valid-time snapshot pin (RFC3339): reproduce the node as of this instant. | |
| graph | No | Graph to target; defaults to the connection's graph | |
| query | No | Ontology concept, term, or relation to search | |
| top_k | No | ||
| action | Yes | Selects the variant (one of: guide, ontology, ontology_conformance, schema, graphs, publication, ontology_search, metadata, entity, state, history, why, transitions). | |
| branch | No | Branch to target; defaults to the connection's branch | |
| cursor | No | Opaque lbb_inspect continuation. Repeat action and pass the returned next arguments; rejects changed metadata. | |
| detail | No | Response detail level. Defaults to compact. | |
| section | No | Optional top-level array to inspect, e.g. entity_type_defs, relation_defs, property_defs, classes, or relations. Omit to page through all sections. | |
| relation | No | ||
| entity_id | No | Entity id (hex); alternative to entity_type+name | |
| page_size | No | Maximum complete metadata entries per page; defaults to 50. Nested fields are never truncated; an oversized single entry returns serialized_json fragments to concatenate and parse. | |
| entity_type | No | ||
| source_name | No | ||
| source_type | No | ||
| target_name | No | ||
| target_type | No | ||
| as_of_commit_seq | No | Snapshot pin: reproduce the node (state, edges, history) as of this commit_seq. |