Re: [Neo] XPath in REST API

2010-03-30 Thread Tobias Ivarsson
...@burningskysoftware.com wrote: That seems OK. Will xpath give you the expressiveness you need, though? -Original Message- From: Mattias Persson matt...@neotechnology.com Date: Tue, 30 Mar 2010 15:02:19 To: Neo4j user discussionsuser@lists.neo4j.org Subject: [Neo] XPath in REST API

Re: [Neo] XPath in REST API

2010-03-30 Thread Michael Ludwig
Mattias Persson schrieb am 30.03.2010 um 15:02:19 (+0200): We're discussing how to expose traversers in the REST API. One of the ideas that was brought up (more emails with the rest of the ideas are coming) was to use xpath directly in the URIs. I have some experience working with XSLT and

Re: [Neo] XPath in REST API

2010-03-30 Thread Michael Ludwig
Hi Marko, Marko Rodriguez schrieb am 30.03.2010 um 12:50:21 (-0600): Also, XPath being for trees, do you constrain the graph to tree form? XPath easily generalizes to work for graphs. See http://gremlin.tinkerpop.com and more specifically,

Re: [Neo] XPath in REST API

2010-03-30 Thread Michael Ludwig
Hi Marko, Marko Rodriguez schrieb am 30.03.2010 um 14:42:44 (-0600): When doing //, it remembers previously seen elements and then halts that particular path when that element has been seen again. However, there are many many many paths in any complex enough graph (so usually this is just a

Re: [Neo] XPath in REST API

2010-03-30 Thread Michael Ludwig
Hi Marko, Marko Rodriguez schrieb am 30.03.2010 um 16:01:42 (-0600): Ha. There is a Gremlin mailing list if you are **super** interested :). http://groups.google.com/group/gremlin-users ... However, don't even try and join unless you are SUPER interested. :P Thanks - too late, I

Re: [Neo] XPath in REST API

2010-03-30 Thread Marko Rodriguez
Hey, outE/outV # confusing way of saying (in XPath) self::node() inE/inV # ditto .I supposebut once you get to an edge, you need to specify where you want to go next (the tail or the head of the edge).. ? The outE/V convention would mean you have to know that you did outE the prior