Skip to content

Interface: TranslateRdfResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Ingestion / TranslateRdfResponse

Interface: TranslateRdfResponse

Defined in: src/types/ingestion.ts:958

Result of an RDF translation: the terms the RDF would become, with nothing written to the knowledge base.

Remarks

Returned by POST /api/v1/ingest/rdf/translate. Wire format is snake_case (term_count); prefixes is a plain prefix → namespace IRI map whose keys are document-defined and therefore left untouched by normalization.

Properties

prefixes

prefixes: Record<string, string>

Defined in: src/types/ingestion.ts:960

The document’s @prefix declarations (prefix → namespace IRI).


sorts

sorts: string[]

Defined in: src/types/ingestion.ts:962

Distinct sort names referenced by the produced terms.


termCount

termCount: number

Defined in: src/types/ingestion.ts:964

Number of terms produced (equals terms.length).


terms

terms: TranslatedRdfTermDto[]

Defined in: src/types/ingestion.ts:966

The produced terms, rendered as text.