Home icon

Find and link similar entities in a knowledge graph using Amazon Neptune, Part 1: Full-text search

Database Blog



This article discusses using Amazon Neptune, a graph database service, for finding and linking similar entities in a knowledge graph. It covers two approaches: lexical search using full-text search, and semantic search using vector similarity (covered in Part 2).

Specifically, the article covers:

  • Why similarity search is useful for knowledge graphs
  • How to use Neptune's full-text search with Amazon OpenSearch Service for lexical similarity (fuzzy text matching)
  • Example queries to find and link similar patient entities based on names, encounters, payers, etc.
  • A convention of adding a "matches" edge between similar entities to materialize the link
  • Using this approach for other entity types like publications
  • Setting up and running the provided sample notebook


Go to article

The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.

Related articles

May 7
2024
Find and link similar entities in a knowledge graph using Amazon Neptune, Part 2: Vector similarity search
Dec 12
2025
Build and explore Knowledge Graphs faster with Amazon Neptune using Graph.Build and G.V() – Part 1
Dec 12
2025
Build and explore Knowledge Graphs faster with Amazon Neptune using Graph.Build and G.V() – Part 2
Feb 21
2024
Create a Virtual Knowledge Graph with Amazon Neptune and an Amazon S3 data lake

The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.