Interface: IngestRdfRequest
@kortexya/reasoninglayer / IngestRdfRequest
Interface: IngestRdfRequest
Section titled “Interface: IngestRdfRequest”Defined in: src/types/ingestion.ts:1158
Request to ingest RDF content — the body of POST /api/v1/ingest/rdf.
Remarks
Section titled “Remarks”The tenant comes from the X-Tenant-Id header and the owner from the
caller’s identity; the body carries neither. Synchronous versus queued
processing is chosen by the sync option of ingestRdf, which travels as
a query parameter. The wire keys are snake_case; the engine refuses an
unknown key with 422.
Properties
Section titled “Properties”computeEmbeddings?
Section titled “computeEmbeddings?”
optionalcomputeEmbeddings?:boolean
Defined in: src/types/ingestion.ts:1165
Compute and store a text embedding for each ingested term. Set false
only for a fast, structural-only ingest.
Default Value
Section titled “Default Value”truecontent
Section titled “content”content:
string
Defined in: src/types/ingestion.ts:1167
RDF content in Turtle, N-Triples, RDF/XML, JSON-LD, TriG or N-Quads.
format
Section titled “format”format:
RdfFormatDto
Defined in: src/types/ingestion.ts:1169
Format of the RDF content.
keepDeclarations?
Section titled “keepDeclarations?”
optionalkeepDeclarations?:boolean
Defined in: src/types/ingestion.ts:1176
Materialise OWL/RDFS class and property declarations as queryable
identity terms. Set true only for SPARQL OWL/RDFS entailment workloads.
Default Value
Section titled “Default Value”false — declarations stay schema-level.parseOntology?
Section titled “parseOntology?”
optionalparseOntology?:boolean
Defined in: src/types/ingestion.ts:1178
Whether to also parse OWL ontology from the content.
parseShacl?
Section titled “parseShacl?”
optionalparseShacl?:boolean
Defined in: src/types/ingestion.ts:1180
Whether to also parse SHACL shapes from the content.
repairIris?
Section titled “repairIris?”
optionalrepairIris?:boolean
Defined in: src/types/ingestion.ts:1188
Percent-encode the illegal code points of RFC 3987-invalid IRIs (raw
spaces, \, <>, []) instead of refusing the document with 400. Each
rewrite is reported in IngestRdfResponse.repairedIris.
Default Value
Section titled “Default Value”false — repair changes the ingested bytes, so it is opt-in.