View a markdown version of this page

Review a draft ontology - AWS Context

Review a draft ontology

Review the draft to check that it describes your business the way you want. You can review it on the AWS Context console, download it as Turtle (a text format for RDF data), or read it with the API.

What to check in a draft

When you review a draft, do the following:

  • Check that the classes are the kinds of things that your business works with, and that their names use your terms.

  • Check that each relationship connects the right source class to the right target class.

  • Check that the class hierarchy puts each class under the right parent class.

  • Check that no important class or attribute is missing. A term might be missing because AWS Context skipped a document or removed terms to fit the size limits. For information about missing terms, see The draft is missing terms.

  • Review any warnings that AWS Context reports on the draft. For more information, see Fix validation issues.

To review a draft ontology on the console, follow these steps:

  1. On the Ontologies page, open the induction that you want to review.

  2. To see the draft’s classes and relationships, use the Graph or Entities view.

  3. (Optional) To download the draft as Turtle, choose Actions, and then choose Download TTL.

The views show the draft’s classes and relationships. If you chose Download TTL, you get the draft as a Turtle file. If the page shows Generation finished with warnings, the draft has warnings.

Review a draft with the API

To review a draft with the API, get the ontology’s ID (ontologyId) from GetOntologyInduction. Then call GetOntology with sourceFormat set to TURTLE. The response has the draft in Turtle (source), a revision ID (revisionId), and any warnings (validationIssues). You need the revision ID to edit or publish the draft.