View a markdown version of this page

OntologyValidationIssue - AWS Context

OntologyValidationIssue

One reason an uploaded ontology was rejected, or a non-fatal warning about a construct that could not be fully represented in the derived template, also in the draft of an induced ontology.

Contents

code

A code that identifies the issue, such as RDF_PARSE_ERROR or UNMAPPABLE_CLASS. New codes can be added, so handle a code that you don't recognize.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 64.

Pattern: [A-Z][A-Z0-9_]*

Required: Yes

message

A human-readable description of the issue.

Type: String

Required: Yes

line

1-based line in the uploaded source, when the failure is attributable to a specific triple.

Type: Integer

Required: No

subject

What the issue is about, when attributable. From an ontology operation, such as GetOntology: the offending subject/predicate IRI. In the draft of an induced ontology, the IRI of a term.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: