Neo4j
- data
- shipped in 1 project
Neo4j was a completely different way of thinking about data. I picked it up for the Investigations Platform, where the whole point was mapping relationships between people, organizations, events, and evidence. Trying to model that in a relational database would have meant endless JOIN tables and increasingly painful queries. A graph database, where connections between things are first-class citizens, was the right tool for the job.
The query language, Cypher, took some getting used to. Coming from SQL, the pattern-matching syntax felt alien at first. But once it clicked, traversing relationship chains became almost intuitive. "Find all people connected to this organization through events in the last six months" is a one-liner, not a multi-page query. The built-in visual explorer is great too. Being able to see your data as an actual graph, not just rows in a table, changes how you think about the problem.
The tradeoff is that you’re leaving the comfort of the relational world: The community is smaller, the tooling is less mature, and if your data doesn’t have meaningful relationships to traverse, you’re overcomplicating things. But when the domain fits (and investigations are a textbook case), Neo4j makes things possible that would be miserable in SQL.