Hi Brendan, At least over REST API you could do something like this (untested code):
"return filter" : { "language" : "javascript", "body" : "position.length() > 0 && position.lastRelationship().hasProperty('timestamp') && position.lastRelationship().getProperty('timestamp') > '1530'" } About performance: if you need to do such a query very often, at least I would do some indexing to make it possible to start the traversal as close as possible. In general: find this kind of chronological, timestamped data series better to be stored in MySQL or similar for queries. Ok, Peter & other guys from Neo, please correct me. ;) Ville 2011/4/7 Brendan Cheng <ccp...@gmail.com>: > Hi, > > I would like to fetch a ending portion of a path where the timestamp > of the relationship match. for example: > > (Node 1)---<2pm>---->(Node 3)---<3PM>--->(Node 4)----<4PM>--->(Node 64) > > from the above , I only want the subpath starting from Node 4 onward > for the timestamp greater than 3:30PM > > > How could I code evaluator to do it? > > Thanks in advance, > > Brendan > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user