I am a novice to GraphDB and trying to construct a graph to show application relations in Neo4j DB. The main objective is to have a graph that will show different datas that flow from one application to another and be able to search for flow of specific data.
Eg:
DataSet A
DataSet B
DataSet C
DataSet D
App A
App B
App C
App D
App E
This is how the relations will build up over a period of time:
DataSet A -GoesTo->App A -SendsTo {DataOf: "DataSet A"}->App B
DataSet B -GoesTo->App A -SendsTo {DataOf: "DataSet A, DataSet B"}->App B - SendsTo {DataOf: "DataSet B"}->App C - SendsTo {DataOf: "DataSet B"}->App E
DataSet C -GoesTo->App C -SendsTo {DataOf: "DataSet C"}->App D - SendsTo {DataOf: "DataSet C"}->App E
DataSet D -GoesTo->App B -SendsTo {DataOf: "DataSet B, DataSet D"}->App C - SendsTo {DataOf: "DataSet B, DataSet D"}->App E
The DataOf value of different relations will have the different data sets appended to it as more data is added. I have read through some cases and going through the documentation to figure out whether the approach I am taking is the right one or I should create a new relation for every Data Set, and I am unable to find a case like mine. I need advice from those who have the know-how, how I should approach this. If the approach I am taking is right, then how can I query flow of specific Data Set. I have put in some data in the DB and my queries are not working when I ask it to match only DataSet B or DataSet D, etc.
Thanks