Associate ontology
A published ontology becomes part of an Agent Context in one of two ways:
-
Map it – Choose the ontology in a connection mapping (see Create a data mapping). AWS Context uses it to extract from, and ground, the data that the mapping ingests.
-
Associate it – Load the ontology’s classes and relationship types into the Agent Context directly, so curators and agents can write entities of those types without a mapping. Under Customize context, choose Associate ontology, and then choose up to 10 published ontologies. The association is a change that the curation policies decide on like any other; in the curation queue it is titled Associate ontology with the ontology’s name.
You can associate each ontology with an Agent Context only once. An ontology that is already in the Agent Context is not associated again, and the task fails. An ontology that is missing or cannot be loaded also fails the task. For how an ontology becomes published, see Publish a draft ontology.
Through the API, this is a task with inputConfiguration.importOntology. The failure reasons are ONTOLOGY_ALREADY_IMPORTED and ONTOLOGY_INVALID.