Home / Companies / SurrealDB / Blog / Post Details
Content Deep Dive

Using unstructured data to create knowledge graphs in SurrealDB

Blog post from SurrealDB

Post Details
Company
Date Published
Author
Dave MacLeod
Word Count
5,014
Company Posts That Month
11
Language
English
Hacker News Points
-
Post removed?
No
Summary

The post explores the transformation of unstructured data into structured data using SurrealDB and LangChain, demonstrating how such data can be utilized for graph queries, vector searches, and data visualizations. It illustrates the process with a series of examples using SurrealQL and Rust, while guiding readers on how to recreate these steps in other languages like Python. The text explains the concept of unstructured data, its challenges for computer processing, and how recent advancements, particularly large language models (LLMs), have enabled the conversion of natural language into structured formats without human intervention. A key focus is on using a question-answering model from the Rust programming library to extract specific information from employee statements, like names, roles, and team affiliations, and structuring this data in SurrealDB for advanced querying and visualization. The post emphasizes using unique indexes and relation tables in SurrealDB to ensure data integrity, and demonstrates linking employees to their respective teams, managers, and companies. The article concludes by highlighting the ability to visualize this structured data graphically, promising further exploration in future posts.

Trends Found in this Post
Trend Post Mentions Total Month Mentions Posts Companies MoM
Reinforcement learning 8 98 39 26 -36%
LLM 1 3,922 600 189 -6%
RAG 1 1,187 205 87 +21%
Vector Search 1 1,678 256 103 -9%
Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.