View a markdown version of this page

Semantic Search (Classes & Properties) - AWS Prescriptive Guidance

Semantic Search (Classes & Properties)

Semantic Search (Classes & Properties)

Operation

Method

Endpoint

Request Content-Type

Response Accept

Notes

Keyword Search

GET

/ontologies/{id}/search?q={term}

application/json

Matches rdfs:label, skos:altLabel, rdfs:comment

Semantic Similarity Search

POST

/ontologies/{id}/search/semantic

application/json

application/json

Vector-based search using embedding of class/property descriptions

Subclass Traversal Search

GET

/ontologies/{id}/classes/{classIRI}/subclasses

application/json, text/turtle

Returns full subclass hierarchy; ?depth= param for bounded traversal

Combined Search

POST

/ontologies/{id}/search/hybrid

application/json

application/json

Combines subclass structure + semantic similarity; returns ranked results with rdfs:subClassOf path