Need help starting with Fraud detection and modeling time data as chains

I've been digging in to Neo4j over the last 2 weeks. My goal is to analyze log data for fraudulent activities. In some of the Neo4j youtube videos, it was suggested that having the Time based log data related in a Chain was the best approach. I have some test data imported (CSV) but I'm not sure how to get the data imported in a chain of relations.

Any assistance would be greatly appreciated :slight_smile:

Jason

You can use the APOC library to make a linked sequence, if that is what you mean:

MATCH (nodeToLink:Label)
WITH nodesToLink
ORDER BY nodesToLink.dateTimeProperty ASC
WITH collect(nodesToLink) as nodesToLinkCollection
CALL apoc.nodes.link(nodesToLinkCollection, 'NAME_OF_LINK_RELATIONSHIP')
1 Like