lbb_rdf
Import complete RDF/OWL documents or add axioms with SPARQL INSERT DATA, preserving OWL axioms and external IRIs as graph facts.
Instructions
Store and extend complete RDF/OWL documents through MCP. import accepts Turtle/N-Triples/N-Quads/TriG without conversion; update executes INSERT DATA for additive edits. Replacing/removing axioms is unsupported; use a new versioned LBB graph for a revised document. Named RDF graphs are unsupported; Turtle/N-Triples use the default graph, and dataset formats must contain only default-graph quads. These write graph facts, distinct from lbb_configure's native schema metadata. A first RDF write selects RDF-native storage, which refuses later property-graph commits; choose the write workflow before bootstrap. Retries deduplicate by content unless idempotency_key is supplied. A completed write schedules publication; inspect action=publication and verify using lbb_query entailment=owl.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| graph | No | Graph to target; defaults to the connection's graph | |
| action | Yes | Selects the variant (one of: import, update). | |
| branch | No | Branch to target; defaults to the connection's branch | |
| detail | No | Response detail level. Defaults to compact. | |
| format | No | ||
| source | No | Complete RDF document. Preserves OWL axioms, RDF lists, labels, comments, and external IRIs as graph facts. | |
| update | No | SPARQL INSERT DATA text to add axioms. Submitted unchanged. DELETE/WHERE/CLEAR and named graphs are currently unsupported and fail without mutation. | |
| base_iri | No | ||
| idempotency_key | No | ||
| blank_node_scope | No | Stable document scope for blank labels across import chunks. |