# \#data-modeling

**URL:** https://community.neo4j.com/tag/data-modeling/377.md

[Latest](https://community.neo4j.com/latest.md) · [Categories](https://community.neo4j.com/categories.md) · [Tags](https://community.neo4j.com/tags.md)

---

## [Pros and Cons on how to model events?](https://community.neo4j.com/t/pros-and-cons-on-how-to-model-events/74904)

<div class="topic-metadata">

**Author:** [@Bart\_vH](https://community.neo4j.com/u/Bart_vH)\
**Replies:** 3\
**Last updated:** [August 5, 2025, 9:03am UTC](https://community.neo4j.com/t/pros-and-cons-on-how-to-model-events/74904 "2025-08-05T09:03:07Z")

</div>

hi all, I appreciate your thoughts on how to best model the date of events. A simplified schema of our graph is shown below. It includes two options for how we currently are thinking on how to model the date of an even…

---

## [Neo4J being "Semi" Structured, but Cypher expecting structured definitions](https://community.neo4j.com/t/neo4j-being-semi-structured-but-cypher-expecting-structured-definitions/74792)

<div class="topic-metadata">

**Author:** [@georgelza](https://community.neo4j.com/u/georgelza)\
**Replies:** 11\
**Last updated:** [July 27, 2025, 5:01pm UTC](https://community.neo4j.com/t/neo4j-being-semi-structured-but-cypher-expecting-structured-definitions/74792 "2025-07-27T17:01:38Z")

</div>

. Hi All, with Neo4J suppose tone very dynamic, accommodating, semi structured... implying for one node type one record/instance should be able to say the first 5 properties and a 2nd should be able to have say 8.... W…

---

## [How to Model & Package data onto Kafka to be sinked into Neo4J - Noob](https://community.neo4j.com/t/how-to-model-package-data-onto-kafka-to-be-sinked-into-neo4j-noob/74773)

<div class="topic-metadata">

**Author:** [@georgelza](https://community.neo4j.com/u/georgelza)\
**Replies:** 7\
**Last updated:** [July 21, 2025, 8:02am UTC](https://community.neo4j.com/t/how-to-model-package-data-onto-kafka-to-be-sinked-into-neo4j-noob/74773 "2025-07-21T08:02:10Z")

</div>

Hi all Hope I can bother and ask for some assistance... Long history in structured databases, so understand relationships etc. Just dipping toes into GraphDB's. I got an inbound streaming financial dataset and trying t…

---

## [Lists + tokenizer instead of strings?](https://community.neo4j.com/t/lists-tokenizer-instead-of-strings/69326)

<div class="topic-metadata">

**Author:** [@whillas](https://community.neo4j.com/u/whillas)\
**Replies:** 0\
**Last updated:** [August 20, 2024, 6:41am UTC](https://community.neo4j.com/t/lists-tokenizer-instead-of-strings/69326 "2024-08-20T06:41:27Z")

</div>

Hey, So I noticed there is still the 4k bytes string limit on string properties. Perhaps lossless compression can help alleviate this? LLMs all use tokenizers over all their inputs, these can then be stored in property …

---

## [How to model a complex parent-child hierarchy data in Neo4j from a relational structure?](https://community.neo4j.com/t/how-to-model-a-complex-parent-child-hierarchy-data-in-neo4j-from-a-relational-structure/68404)

<div class="topic-metadata">

**Author:** [@ManiK](https://community.neo4j.com/u/ManiK)\
**Replies:** 4\
**Last updated:** [June 17, 2024, 5:54am UTC](https://community.neo4j.com/t/how-to-model-a-complex-parent-child-hierarchy-data-in-neo4j-from-a-relational-structure/68404 "2024-06-17T05:54:31Z")

</div>

Hi All, I am new to graph databases and need some help on modeling. Let's assume, I have 3 sets of below CSV files with sample data: file#1: (master file with unique nodeID's and their names) nodeID, nodeName 1, A …

---

## [Data storage or just Relationship in Neo4j](https://community.neo4j.com/t/data-storage-or-just-relationship-in-neo4j/67244)

<div class="topic-metadata">

**Author:** [@santanudutta85](https://community.neo4j.com/u/santanudutta85)\
**Replies:** 1\
**Last updated:** [April 8, 2024, 9:52am UTC](https://community.neo4j.com/t/data-storage-or-just-relationship-in-neo4j/67244 "2024-04-08T09:52:34Z")

</div>

Hi everyone, I'm a software engineer working on a customer application that imports sales data from Salesforce and populates a Neo4j knowledge graph. We leverage GenAI and Python scripts to query and manipulate the data…

---

## [Multi-hop relationships](https://community.neo4j.com/t/multi-hop-relationships/64574)

<div class="topic-metadata">

**Author:** [@henk.tesligte](https://community.neo4j.com/u/henk.tesligte)\
**Replies:** 1\
**Last updated:** [October 19, 2023, 10:29pm UTC](https://community.neo4j.com/t/multi-hop-relationships/64574 "2023-10-19T22:29:09Z")

</div>

Hi, I have a question around data modelling where I'm not sure what the terminology would be for what I am looking to achieve. Let's say I have the following data: create (basic\_tshirt:Product {name: "Basic T-Shirt"}),…

---

## [Which graph ML model works best for detecting the chain of network flow hops](https://community.neo4j.com/t/which-graph-ml-model-works-best-for-detecting-the-chain-of-network-flow-hops/64268)

<div class="topic-metadata">

**Author:** [@sachinsm2022](https://community.neo4j.com/u/sachinsm2022)\
**Replies:** 0\
**Last updated:** [September 26, 2023, 8:22am UTC](https://community.neo4j.com/t/which-graph-ml-model-works-best-for-detecting-the-chain-of-network-flow-hops/64268 "2023-09-26T08:22:27Z")

</div>

I am working with network flow logs. That data has the following attributes: src-ipaddr dst-ipaddr src-port dst-port protocol bytes packets starttime endtime The flows are directed: src-\>dst. The problem is as follows…

---

## [Neo4j Data Pipeline](https://community.neo4j.com/t/neo4j-data-pipeline/62074)

<div class="topic-metadata">

**Author:** [@IllusiveByte](https://community.neo4j.com/u/IllusiveByte)\
**Replies:** 5\
**Last updated:** [July 28, 2023, 11:34pm UTC](https://community.neo4j.com/t/neo4j-data-pipeline/62074 "2023-07-28T23:34:10Z")

</div>

Hey everyone! I've been working on a project to find a way to upload a lot of data into Neo4j and modify the data on its way in. I did not find a solution out there so I decided to make my own. The project as it stands c…

---

## [Trying to understand some of the tradeoffs when refactoring duplicate data](https://community.neo4j.com/t/trying-to-understand-some-of-the-tradeoffs-when-refactoring-duplicate-data/61946)

<div class="topic-metadata">

**Author:** [@sarah.n.golden](https://community.neo4j.com/u/sarah.n.golden)\
**Replies:** 1\
**Last updated:** [April 10, 2023, 2:15pm UTC](https://community.neo4j.com/t/trying-to-understand-some-of-the-tradeoffs-when-refactoring-duplicate-data/61946 "2023-04-10T14:15:32Z")

</div>

Hi! I'm working my way through the courses, and I'm on the Refactoring Duplicate Data module in the Modeling Fundamentals course. I just learned about a great example where the languages in which a movie is available a…

---

## [Storing potentially large nodes in Neo4j](https://community.neo4j.com/t/storing-potentially-large-nodes-in-neo4j/56537)

<div class="topic-metadata">

**Author:** [@krasi\_964](https://community.neo4j.com/u/krasi_964)\
**Replies:** 1\
**Last updated:** [May 19, 2022, 10:18am UTC](https://community.neo4j.com/t/storing-potentially-large-nodes-in-neo4j/56537 "2022-05-19T10:18:14Z")

</div>

Hello everyone, This is my first post on the Neo4j Community Forum so I apologize if it in any way violates the rules and standards of the forum. I will update my topic if any violation is pointed out. Currently, my te…

---

## [Data modeling of organization Data](https://community.neo4j.com/t/data-modeling-of-organization-data/14367)

<div class="topic-metadata">

**Author:** [@shahar](https://community.neo4j.com/u/shahar)\
**Replies:** 4\
**Last updated:** [May 7, 2022, 9:02am UTC](https://community.neo4j.com/t/data-modeling-of-organization-data/14367 "2022-05-07T09:02:39Z")

</div>

Hey Everyone. I am building my first production project that is going to use Neo4j. I am trying to model the organization Data. Things I care about are: noticing a change in the data... For example, the employee perf…

---

## [Combine properties from node with diff label for clustering](https://community.neo4j.com/t/combine-properties-from-node-with-diff-label-for-clustering/52137)

<div class="topic-metadata">

**Author:** [@deepak.tanna](https://community.neo4j.com/u/deepak.tanna)\
**Replies:** 0\
**Last updated:** [February 17, 2022, 9:06pm UTC](https://community.neo4j.com/t/combine-properties-from-node-with-diff-label-for-clustering/52137 "2022-02-17T21:06:46Z")

</div>

We have a use case where we want to cluster individuals for a prediction of a classifier. A simplified representation is below (Person) -- worked at --\> (Org) Nodes of both Person and Org have many properties, The wor…

---

## [Property or label to differentiate nodes](https://community.neo4j.com/t/property-or-label-to-differentiate-nodes/50198)

<div class="topic-metadata">

**Author:** [@arunkumar413](https://community.neo4j.com/u/arunkumar413)\
**Replies:** 1\
**Last updated:** [January 21, 2022, 3:35am UTC](https://community.neo4j.com/t/property-or-label-to-differentiate-nodes/50198 "2022-01-21T03:35:04Z")

</div>

I'm a bit confused whether to use a label or property on a node. Say for example, I have Messages Node which can be sent to Users and Groups. Should I use a property or label GroupMessage to differentiate Messages node?

---

## [Data Model for Relationships in Time](https://community.neo4j.com/t/data-model-for-relationships-in-time/49715)

<div class="topic-metadata">

**Author:** [@flavio](https://community.neo4j.com/u/flavio)\
**Replies:** 1\
**Last updated:** [January 1, 2022, 1:07am UTC](https://community.neo4j.com/t/data-model-for-relationships-in-time/49715 "2022-01-01T01:07:14Z")

</div>

I am relatively new to data modelling using Neo4j and I'd like to get some suggestions on how to model relationships in time. Let's say that John went to ACME school from 01/Aug/1983 to 30/Sep/1988. Peter also went to …

---

## [Keeping array of string arrays as a property in a node](https://community.neo4j.com/t/keeping-array-of-string-arrays-as-a-property-in-a-node/49110)

<div class="topic-metadata">

**Author:** [@taylangezici1](https://community.neo4j.com/u/taylangezici1)\
**Replies:** 2\
**Last updated:** [December 17, 2021, 4:01pm UTC](https://community.neo4j.com/t/keeping-array-of-string-arrays-as-a-property-in-a-node/49110 "2021-12-17T16:01:35Z")

</div>

I have a huge amount of text data in my db. Therefore when i need to calculate the bigrams and trigrams of those texts it happens to be very expensive as you can imagine. So I am looking for a way to import all the n-gra…

---

## [What is the best way to model following text as SVO triplets](https://community.neo4j.com/t/what-is-the-best-way-to-model-following-text-as-svo-triplets/48578)

<div class="topic-metadata">

**Author:** [@kurudinesh](https://community.neo4j.com/u/kurudinesh)\
**Replies:** 1\
**Last updated:** [December 15, 2021, 8:44pm UTC](https://community.neo4j.com/t/what-is-the-best-way-to-model-following-text-as-svo-triplets/48578 "2021-12-15T20:44:10Z")

</div>

Hi, I am trying to generate SVO triplets to below text. Can you help me to choose a verb as relation? "Normal cells stop growing when they encounter other cells" Thanks, Dinesh K.

---

## [Help with Link Prediction and Graph Design to Solve - Different Categories of Persons, Identifiers, and Works](https://community.neo4j.com/t/help-with-link-prediction-and-graph-design-to-solve-different-categories-of-persons-identifiers-and-works/48209)

<div class="topic-metadata">

**Author:** [@michael.h.schoenfiel](https://community.neo4j.com/u/michael.h.schoenfiel)\
**Replies:** 0\
**Last updated:** [November 30, 2021, 1:50am UTC](https://community.neo4j.com/t/help-with-link-prediction-and-graph-design-to-solve-different-categories-of-persons-identifiers-and-works/48209 "2021-11-30T01:50:18Z")

</div>

Hi there, TL: DR: -- I am using linkPrediction (1.8 preview :slightly\_smiling\_face:) but am worried that my graph projection decision doesn't fit well. Having trouble melding co-author information and identifier / name…

---

## [Performance question - how to work with indexes](https://community.neo4j.com/t/performance-question-how-to-work-with-indexes/48005)

<div class="topic-metadata">

**Author:** [@aideslucas](https://community.neo4j.com/u/aideslucas)\
**Replies:** 5\
**Last updated:** [November 25, 2021, 3:05pm UTC](https://community.neo4j.com/t/performance-question-how-to-work-with-indexes/48005 "2021-11-25T15:05:59Z")

</div>

Hello all! this is gonna be a bit of a generic question. I have a graph with nodes that have 20+ properties, lets say we have an id, hash, groupA, groupB properties + some more that aren't relevant. I have a constrain…

---

## [Versioning: How to prioritize path finding/hierarchy queries based on a relation property](https://community.neo4j.com/t/versioning-how-to-prioritize-path-finding-hierarchy-queries-based-on-a-relation-property/47958)

<div class="topic-metadata">

**Author:** [@nima](https://community.neo4j.com/u/nima)\
**Replies:** 0\
**Last updated:** [November 24, 2021, 12:44pm UTC](https://community.neo4j.com/t/versioning-how-to-prioritize-path-finding-hierarchy-queries-based-on-a-relation-property/47958 "2021-11-24T12:44:52Z")

</div>

I'm searching for way of keeping different versions (modifications) in a Graph based on inheritance - Without the need of duplicating the graph Example: Consider a sample graph (v1), now we apply some modifications (let…

---

## [Unique Constraint on Relationship Types](https://community.neo4j.com/t/unique-constraint-on-relationship-types/47138)

<div class="topic-metadata">

**Author:** [@dheerajk](https://community.neo4j.com/u/dheerajk)\
**Replies:** 1\
**Last updated:** [November 14, 2021, 6:21pm UTC](https://community.neo4j.com/t/unique-constraint-on-relationship-types/47138 "2021-11-14T18:21:40Z")

</div>

Neo4j Version: Neo4j Enterprise 4.3.5 API : Neo4j Java Driver Neo4j does not support Unique property constraints on relationships; however, I need to enforce uniqueness for a property within a Relationship Type. What i…

---

## [Multiple relationships of same label between two nodes best practices](https://community.neo4j.com/t/multiple-relationships-of-same-label-between-two-nodes-best-practices/47380)

<div class="topic-metadata">

**Author:** [@geronimo4j](https://community.neo4j.com/u/geronimo4j)\
**Replies:** 1\
**Last updated:** [November 14, 2021, 5:38pm UTC](https://community.neo4j.com/t/multiple-relationships-of-same-label-between-two-nodes-best-practices/47380 "2021-11-14T17:38:58Z")

</div>

Hi I have a bunch of questions I hope you don't mind! I have Users, Lists, and Movies. Where a User could create Lists which consist of Movies. Lists are interesting because you can add Movies, but you can also track …

---

## [How Neo4j node classification algorithm takes node embeddings as input?](https://community.neo4j.com/t/how-neo4j-node-classification-algorithm-takes-node-embeddings-as-input/44652)

<div class="topic-metadata">

**Author:** [@mujtaba.mirza](https://community.neo4j.com/u/mujtaba.mirza)\
**Replies:** 1\
**Last updated:** [September 21, 2021, 4:01pm UTC](https://community.neo4j.com/t/how-neo4j-node-classification-algorithm-takes-node-embeddings-as-input/44652 "2021-09-21T16:01:04Z")

</div>

In the neo4j documentation, I saw that the node classification algorithm uses Logistic Regression as a classifier. How does it take node embeddings as a feature? Does it take it as a single feature or n (no. dimensions o…

---

## [GDS ML Node Classification givin errors on properties](https://community.neo4j.com/t/gds-ml-node-classification-givin-errors-on-properties/42320)

<div class="topic-metadata">

**Author:** [@dvalcarcer](https://community.neo4j.com/u/dvalcarcer)\
**Replies:** 2\
**Last updated:** [August 8, 2021, 3:13pm UTC](https://community.neo4j.com/t/gds-ml-node-classification-givin-errors-on-properties/42320 "2021-08-08T15:13:36Z")

</div>

I am trying to run a ML Node Classification based on the GDS plugin, but I am giving an error that I don't know where it comes from. Explanation: I have created the memory graph as follows: CALL gds.graph.create( …

---

## [Graph modeling of a career trajectory](https://community.neo4j.com/t/graph-modeling-of-a-career-trajectory/41284)

<div class="topic-metadata">

**Author:** [@ptroy](https://community.neo4j.com/u/ptroy)\
**Replies:** 3\
**Last updated:** [July 14, 2021, 7:52pm UTC](https://community.neo4j.com/t/graph-modeling-of-a-career-trajectory/41284 "2021-07-14T19:52:04Z")

</div>

Hi I would like to try to build a graph database of career trajectories that could be used to identify possible trajectories for new employees. In particular I would like to include education, internships, job types wi…

---

## [JSON-LD and edge properties](https://community.neo4j.com/t/json-ld-and-edge-properties/39492)

<div class="topic-metadata">

**Author:** [@stephen.neill](https://community.neo4j.com/u/stephen.neill)\
**Replies:** 0\
**Last updated:** [June 7, 2021, 8:18pm UTC](https://community.neo4j.com/t/json-ld-and-edge-properties/39492 "2021-06-07T20:18:12Z")

</div>

Hi, I'm not too sure if this is the best category to post this question. I have a JSON-LD-Star file with "@annotation" properties. Can Neo4J+APOC import this type of file? So far, I haven't found a way. n10s.rdf.impor…

---

## [How to import/specify node labels and relationship types in separate CSV files?](https://community.neo4j.com/t/how-to-import-specify-node-labels-and-relationship-types-in-separate-csv-files/27687)

<div class="topic-metadata">

**Author:** [@jean-philippe.prost](https://community.neo4j.com/u/jean-philippe.prost)\
**Replies:** 4\
**Last updated:** [May 5, 2021, 9:00am UTC](https://community.neo4j.com/t/how-to-import-specify-node-labels-and-relationship-types-in-separate-csv-files/27687 "2021-05-05T09:00:51Z")

</div>

Dear community members, I have been working for a bunch of years with a rather large graph, which is now 14-ish million nodes and 300-ish millions relationships. So far it is implemented with an RDBMS, and I would like …

---

## [Graph Data Modeling Question](https://community.neo4j.com/t/graph-data-modeling-question/30522)

<div class="topic-metadata">

**Author:** [@TonyOD27](https://community.neo4j.com/u/TonyOD27)\
**Replies:** 12\
**Last updated:** [May 4, 2021, 5:38pm UTC](https://community.neo4j.com/t/graph-data-modeling-question/30522 "2021-05-04T17:38:15Z")

</div>

neo4j specifications: dbms.memory.heap.initial\_size=24G dbms.memory.heap.max\_size=24G dbms.memory.pagecache.size=8G neo4j version: Community 4.2.0 desktop version: 1.3.11 Hello, How can I improve on my data model …

---

## [Operations between related nodes of the same relation type](https://community.neo4j.com/t/operations-between-related-nodes-of-the-same-relation-type/36594)

<div class="topic-metadata">

**Author:** [@sullirobert](https://community.neo4j.com/u/sullirobert)\
**Replies:** 2\
**Last updated:** [April 12, 2021, 8:19pm UTC](https://community.neo4j.com/t/operations-between-related-nodes-of-the-same-relation-type/36594 "2021-04-12T20:19:31Z")

</div>

Greetings, I have a question about how to perform operations between children nodes. I have a document node(s) with about ~1200 children each containing a single value of a named metric. I'd like to pull two specific r…

---

## [Help with data model](https://community.neo4j.com/t/help-with-data-model/34432)

<div class="topic-metadata">

**Author:** [@s.b-t](https://community.neo4j.com/u/s.b-t)\
**Replies:** 0\
**Last updated:** [February 27, 2021, 7:39pm UTC](https://community.neo4j.com/t/help-with-data-model/34432 "2021-02-27T19:39:44Z")

</div>

Hey there, I'm pretty new to neo4j an would like to create a data model fir Active Directory permissions. My idea is something like this: MERGE (SecurityPrincipal{objectid:'S-1-2-3-99'})-\[:HasRight\]-\>(:Right {name:'Wr…

[Next page](https://community.neo4j.com/tag/data-modeling/377.md?match_all_tags=true&page=1&tags%5B%5D=data-modeling)
