Skip to content

Interface: ConformanceRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Conformance / ConformanceRequest

Interface: ConformanceRequest

Defined in: src/types/conformance.ts:82

Request body for a conformance check or repair.

Remarks

The ontology text is sent verbatim in the declared RDF serialization; only its rdfs:domain / rdfs:range (or OWL ObjectPropertyDomain/ObjectPropertyRange) axioms are used. The knowledge base validated against it is the authenticated tenant’s — it is never a body field.

Example

const request: ConformanceRequest = {
format: 'turtle',
ontology: '@prefix acme: <http://acme.example/> .\nacme:placedBy rdfs:domain acme:Order .',
};

Properties

format

format: RdfFormatDto

Defined in: src/types/conformance.ts:84

Format of the ontology text.


ontology

ontology: string

Defined in: src/types/conformance.ts:89

Ontology text declaring the rdfs:domain / rdfs:range (or OWL ObjectPropertyDomain/Range) axioms to check against.