View a markdown version of this page

Prerequisites for structured data grounding - AWS Context

Prerequisites for structured data grounding

Before you ground your tables, check the following prerequisites.

Ontology

You need a published custom ontology that belongs to the account that owns the Agent Context. To create one, upload a Web Ontology Language (OWL) ontology in Turtle format (.ttl), or publish an induced draft. For more information, see Bring your own ontology.

Built-in (system) ontologies cannot be used for grounding.

Catalog connection and Agent Context
  • Catalog connection – An AWS Glue Data Catalog connection with status ACTIVE. The connection’s scope names the databases to ground. For more information, see AWS Glue tables and S3 tables.

  • Agent Context – An Agent Context with status ACTIVE that maps the AWS Glue Data Catalog connection and has already ingested your tables.

  • Entity resolution turned on – The Agent Context’s entityResolutionConfig.status is ENABLED, which is the default. For more information, see Turn grounding off and on.

The Agent Context’s AWS Glue Data Catalog connection mapping uses the built-in Data ontology. The console doesn’t show an ontology for that mapping, and you can’t use a custom ontology in it. Instead, you associate the custom ontology with the Agent Context. For more information, see Built-in ontologies and Start grounding by associating an ontology.

Entity resolution is the process that finds duplicate entities in an Agent Context after ingestion and proposes merging them in the curation queue. The entity resolution setting also controls grounding. Grounding runs only while the setting is ENABLED. For more information about entity resolution, see What linking does not do.

Permissions

You need permission for the following actions on the Agent Context:

  • context:StartTask

  • context:GetTask

  • context:ListCurationProposals

  • context:GetCurationProposal

  • context:AcceptCurationProposal

  • context:RejectCurationProposal

  • context:GetChangeSet

  • context:ListChangeSetOperations

  • context:UpdateChangeSet

To turn grounding off or on, you also need permission for the context:UpdateAgentContext action.