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

Unstructured-to-Structured Graph Data Using BAML to Neo4j

Blog post from Neo4j

Post Details
Company
Date Published
Author
Jason Koo
Word Count
959
Language
English
Hacker News Points
-
Summary

This article discusses how to convert unstructured web page content into a graph representation using Boundary's BAML language and Neo4j, a popular graph database. The process involves creating an endpoint in FastAPI that takes a list of URLs as input, extracts the HTML content from each URL using BAML functions, and then converts the text into a structured graph data format using Cytoscape. This graph data is then uploaded to a Neo4j instance for storage and querying. The article provides a step-by-step guide on how to implement this workflow, including setting up the required dependencies, writing the BAML code, and configuring the Neo4j database. Additionally, it discusses the benefits of using graph databases like Neo4j and introduces some alternative approaches to creating an input bridge between JSON and Neo4j.