View a markdown version of this page

Ontology Engineering - AWS Prescriptive Guidance

Ontology Engineering

Ontology Engineering REST API

The following API surface defines the contract for Ontology Management & Knowledge Engineering UIs, services, and agents to interact with the Semantic Layer.

Operation

Method

Endpoint

Request Content-Type

Response Accept

Notes

Import Ontology

POST

/ontologies

text/turtle, application/n-quads, application/n-triples, application/trig, application/rdf+xml, application/ld+json

Multipart or body; format auto-detected from Content-Type

Export Ontology

GET

/ontologies/{id}/export

text/turtle (default), application/n-quads, application/n-triples, application/trig, application/rdf+xml, application/ld+json

Returns 406 Not Acceptable for unsupported types

Get Ontology

GET

/ontologies/{id}

text/turtle, application/ld+json

Returns ontology metadata + IRI

List Ontologies

GET

/ontologies

application/json

Supports pagination, filter by namespace/domain

Delete Ontology

DELETE

/ontologies/{id}

Soft-delete with version retention