Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
how to model sequence of events?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Paul Lam  
View profile  
 More options Oct 10 2012, 5:59 am
From: Paul Lam <paul....@forward.co.uk>
Date: Wed, 10 Oct 2012 02:59:36 -0700 (PDT)
Local: Wed, Oct 10 2012 5:59 am
Subject: how to model sequence of events?

Say I have

   1. a set of users
   2. a set of actions
   3. timestamped events of directing users to actions

How can I model the graph such that I can find patterns with time-ordering?
For example, find/count all the users that did action A after action B, or
find the most popular ordered path between action A and action E.

Cheers,
Paul


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Lasse Westh-Nielsen  
View profile  
 More options Oct 10 2012, 7:42 am
From: Lasse Westh-Nielsen <lasse.westh-niel...@neopersistence.com>
Date: Wed, 10 Oct 2012 12:42:13 +0100
Local: Wed, Oct 10 2012 7:42 am
Subject: Re: [Neo4j] how to model sequence of events?
Paul,

You can use relationships to model came-before, like so:
http://console.neo4j.org/r/owv0da

Probably simplistic, but wanted to show you http://console.neo4j.org ;)

 - Lasse


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mattias Persson  
View profile  
 More options Oct 10 2012, 8:25 am
From: Mattias Persson <matt...@neotechnology.com>
Date: Wed, 10 Oct 2012 14:25:38 +0200
Local: Wed, Oct 10 2012 8:25 am
Subject: Re: [Neo4j] how to model sequence of events?

Something like http://console.neo4j.org/?id=4p9jvt perhaps?

Where you have users performing actions, where you insert a middle node for
each action which points to the action as well as the next action in line.
The user node has a relationship to the last middle node where new actions
gets appended. Such a middle node could have a time stamp also.

2012/10/10 Lasse Westh-Nielsen <lasse.westh-niel...@neopersistence.com>

--
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Hunger  
View profile  
 More options Oct 10 2012, 8:47 am
From: Michael Hunger <michael.hun...@neotechnology.com>
Date: Wed, 10 Oct 2012 14:47:42 +0200
Local: Wed, Oct 10 2012 8:47 am
Subject: Re: [Neo4j] how to model sequence of events?

Yep a secondary graph structure of a linked list is usually what you use for this.

Probably combined with a time-tree index structure for easier access of time intervals or points in time:
http://docs.neo4j.org/chunked/milestone/cypher-cookbook-path-tree.html

Michael

Am 10.10.2012 um 14:25 schrieb Mattias Persson:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Duane Nickull  
View profile  
 More options Oct 10 2012, 10:28 am
From: Duane Nickull <du...@technoracle-systems.com>
Date: Wed, 10 Oct 2012 16:28:46 +0200
Local: Wed, Oct 10 2012 10:28 am
Subject: Re: [Neo4j] how to model sequence of events?

There used to be a good time series graph doc somewhere too yes?
***********************************
Technoracle Advanced Systems Inc.
Consulting and Contracting; Proven Results!
i.  Neo4J, PDF, Java, LiveCycle ES, Flex, AIR, CQ5 & Mobile
b. http://technoracle.blogspot.com
t.  @duanechaos
"Don't fear the Graph!  Embrace Neo4J"

From:  Michael Hunger <michael.hun...@neotechnology.com>
Reply-To:  <neo4j@googlegroups.com>
Date:  Wednesday, 10 October, 2012 2:47 PM
To:  <neo4j@googlegroups.com>
Subject:  Re: [Neo4j] how to model sequence of events?

Yep a secondary graph structure of a linked list is usually what you use for
this.

Probably combined with a time-tree index structure for easier access of time
intervals or points in time:
http://docs.neo4j.org/chunked/milestone/cypher-cookbook-path-tree.html

Michael

Am 10.10.2012 um 14:25 schrieb Mattias Persson:

--

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Neubauer  
View profile  
 More options Oct 11 2012, 10:47 am
From: Peter Neubauer <peter.neuba...@neotechnology.com>
Date: Thu, 11 Oct 2012 16:47:25 +0200
Local: Thurs, Oct 11 2012 10:47 am
Subject: Re: [Neo4j] how to model sequence of events?
Yes,
a timeline implementation is here:
https://github.com/neo4j/graph-collections/blob/master/src/test/java/...

Cheers,

/peter neubauer

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

Neo4j 1.8 GA - http://www.dzone.com/links/neo4j_18_release_fluent_graph_literacy.html

On Wed, Oct 10, 2012 at 4:28 PM, Duane Nickull


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions Older topic »