lbb_inspect
Inspect a Little Big Brain graph's ontology, schema, metadata, entities, and publication state. Verify graph facts and pending ontology suggestions before querying or writing.
Instructions
Read graph context and exact graph facts. Actions: guide, graphs, publication, ontology, ontology_conformance, schema, ontology_search, metadata, entity, ontology_suggestions. graphs works before bootstrap; ontology_suggestions lists the ontology change suggestions that wait for review (or were decided). 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 attributes and current relationships from the RDF read. For a node's past values, run SPARQL with as_of_commit_seq through lbb_query. Use lbb_query with SPARQL property paths for precise path selection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| as_of | No | Unsupported for entity; use as_of_commit_seq for a retained commit snapshot. | |
| graph | No | Graph to target; defaults to the connection's graph | |
| limit | No | ||
| 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, ontology_suggestions, entity). | |
| 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. | |
| status | No | Only suggestions in this state; default all | |
| 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. | |
| 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 | ||
| as_of_commit_seq | No | Snapshot pin: reproduce the node's attributes and relationships as of this commit_seq. |