Re: [Neo4j] Embedded or Standalone?

2011-08-29 Thread Peter Neubauer
Aman, Generally speaking the embeddded use of Neo4j is fase since there is no network serialization overhead -the database runs in-process and is thus much faster. However, the core engine in both versions is the same so how big the network penalty is depends very much on your domain and use case

[Neo4j] already existing graph to sail

2011-08-29 Thread shri
Hello All, I already have a database created which has a neo4j graph, I learnt that You can not take an existing Neo4j database and make it a GraphSail. Is there any other way to convert my graph to sail so that I can make use of the Openrdf's querying facilities???(*without creating a new

Re: [Neo4j] already existing graph to sail

2011-08-29 Thread Peter Neubauer
Hi there, I don't know of any automatic conversion scheme from non-RDF to RDF for any other datastructure without assuming a lot of things that an unstructured dataset doesn't have. Sorry ... Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704

Re: [Neo4j] bug in neo4j-community-1.4.1-unix.tar.gz neo4j script ?

2011-08-29 Thread Chris Gioran
The only circumstances under which i can reproduce a *similar* failure involve a linux client, specifically an Ubuntu 11.04 installation. In more detail: I have a neo4j shell server running remotely (on a windows machine, fwiw). Then, from a recently unpacked installation of neo4j (1.4.1) i run

Re: [Neo4j] RDF querying

2011-08-29 Thread shri
Hi Again, Thanks for the link that you sent, but I found that, to go from Graph to Sail,we have to simply use GraphSail. The graphsail creates a new RDF store using the provided Blueprints graph. My problem is I have already created the RDF store and don't want to create it again, to be more

Re: [Neo4j] RDF querying

2011-08-29 Thread Peter Neubauer
Shri, you can open the database the second time after writing just by pointing the instance to the same directory like the one you wrote to before. Is that what you want? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn

[Neo4j] Node.js Bindings / Standalone connection

2011-08-29 Thread Thomas Fritz
Hi Is there an official node.js binding for Neo4J? Is it possible to access the Neo4J Standalone version directly through a socket or anything with less overhead than the REST API? If not, is there a way to write a Neo4J driver? Is the socket communication documented? Or is it just Java RMI?

Re: [Neo4j] Spatial query with property filter

2011-08-29 Thread Peter Neubauer
Hi there, well, spatial querying is not something that can be easily stuck into an iterator. If you want more than casual querying, I think you need to use the GeoTools APIs, we provide support for CQL as a query lang there, see

Re: [Neo4j] Websocket Server instead of REST for Neo4J for access a DB

2011-08-29 Thread Thomas Fritz
Hi! I hope you had some good bear friday! ;) Do you think a (web)socket interface to neo4j could be done and integrated into the core? I do not like the idea of using a high performance graph database with fast indices (like neo4j is) and than the only interface to it is a HTTP RESTful API to

Re: [Neo4j] Websocket Server instead of REST for Neo4J for access a DB

2011-08-29 Thread Peter Neubauer
Thomas, a websocket interface would be a great addition! We haven't come around to do a proper binary protocol to Neo4j yet (pushed to Neo4j 1.6), but as Rick mentions, a websocket interface would also mean to have streaming semantics on the client. If you wanna prototype one with some trivial

Re: [Neo4j] Node.js Bindings / Standalone connection

2011-08-29 Thread Peter Neubauer
Thomas, as mentioned, the binary protocol is pushed to Neo4j 1.6, but it WILL come. Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter http://twitter.com/peterneubauer

Re: [Neo4j] BatchInserterIndex and ValueContext[]

2011-08-29 Thread Peter Neubauer
Benjamin, On Sun, Aug 28, 2011 at 2:23 AM, Benjamin Gehrels neo4j-mailingl...@gehrels.info wrote: great, will merge it in as soon as you send in the CLA, see http://wiki.neo4j.org/content/About_Contributor_License_Agreement pull request and CLA are crawling through the sea cables to

Re: [Neo4j] Node.js Bindings / Standalone connection

2011-08-29 Thread Thomas Fritz
Great to hear! So when you say binary protocol, you mean a binary interface besides the RESTful API? Yummy. Great! Regards Thomas --- Thomas FRITZ web http://fritzthomas.com twitter http://twitter.com/thomasf 2011/8/29 Peter Neubauer peter.neuba...@neotechnology.com: Thomas, as mentioned,

Re: [Neo4j] Node.js Bindings / Standalone connection

2011-08-29 Thread Peter Neubauer
Yes. Yummy. Great. But feel free to poke around the semantics of streaming websockets, would be great to hear experiences there! Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter

Re: [Neo4j] GSoC 2011 Neo4j Geoprocessing | Weekly Report #12

2011-08-29 Thread Peter Neubauer
Thanks Andreas for a great project this summer! I look forward to having you here next week in the cosy warmth of the Swedish autumn to integrate the work into the main stream! Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn

Re: [Neo4j] API adventures in Scalaland

2011-08-29 Thread Niels Hoogeveen
Peter, I haven't put this code out yet. It has been too much in flux to share the code yet. I use neoclipse for visualization, which helps to check the layout of the test graphs i am using. I would need something more programmable for the visual output, since i use node id's of the types as

Re: [Neo4j] Neo4j Events Coming Up in September

2011-08-29 Thread Jim Webber
And it will be awesome too*. Jim * Otherwise Adriano will take me to a dodgy part of town and leave me there :-) On 26 Aug 2011, at 20:03, Adriano Henrique de Almeida wrote: Hi Allison, just adding, There will be Jim Webber's talk at QCon São Paulo, in my track, (

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-29 Thread Adriano Henrique de Almeida
Hi Nuo, any results here? Cheers 2011/8/26 Nuo Yan yan@gmail.com Hey Adriano, Thanks very much for your reply. I will try with MaxPermSize. It's on my local machine, we are evaluating Neo4j and do not have it on production yet. I'm accessing the server through the REST APIs, the app

Re: [Neo4j] Spatial query with property filter

2011-08-29 Thread Craig Taverner
I can elaborate a little on what Peter says. The DynamicLayer support is indeed the only way to do what you want right now, but I think it is actually quite a good fit for your use case. When defining a dynamic layer you are actually just defining a 'returnable evaluator', which will be applied to

Re: [Neo4j] Websocket Server instead of REST for Neo4J for access a DB

2011-08-29 Thread Jacob Hansson
In my mind websockets is not necessarily something we want to focus on initially for a binary protocol. It would only benefit in-browser javascript access to the server, while setting back every other programming language, forcing them to add extra layers there to conform to the websocket

Re: [Neo4j] Websocket Server instead of REST for Neo4J for access a DB

2011-08-29 Thread Thomas Fritz
Hi! Keep in mind. Websocket is not only for the browser! Java: http://code.google.com/p/weberknecht/ Python: http://pypi.python.org/pypi/websocket-client/0.4 .net: https://github.com/sta/websocket-sharp and JavaScript / Node: socket.io for instance --- Thomas FRITZ web http://fritzthomas.com

Re: [Neo4j] API adventures in Scalaland

2011-08-29 Thread Peter Neubauer
Yeah, GraphViz is a good compromise for small graphs, see http://docs.neo4j.org/chunked/snapshot/rest-api-graph-algos.html Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn http://www.linkedin.com/in/neubauer Twitter

Re: [Neo4j] Websocket Server instead of REST for Neo4J for access a DB

2011-08-29 Thread Jacob Hansson
On Mon, Aug 29, 2011 at 4:35 PM, Thomas Fritz fritz...@gmail.com wrote: Hi! Keep in mind. Websocket is not only for the browser! Java: http://code.google.com/p/weberknecht/ Python: http://pypi.python.org/pypi/websocket-client/0.4 .net: https://github.com/sta/websocket-sharp and JavaScript

Re: [Neo4j] Websocket Server instead of REST for Neo4J for access a DB

2011-08-29 Thread Thomas Fritz
Of course. I am completly with you. Just wanted to say that websocket is not only usable from browsers. But i also think that first there has to be a binary protocol and then build a websocket protocol on top of it. --- Thomas FRITZ web http://fritzthomas.com twitter

Re: [Neo4j] Websocket Server instead of REST for Neo4J for access a DB

2011-08-29 Thread Rick Bullotta
That sounds like a good approach. Let's get the streaming protocol working, and then support a variety of transports. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Thomas Fritz Sent: Monday, August 29, 2011 11:02 AM To: Neo4j

Re: [Neo4j] Node.js Bindings / Standalone connection

2011-08-29 Thread Aseem Kishore
Hey, just FYI, Daniel Gasienica and I wrote a Node.js REST API library a while back, which we use extensively in our app: http://github.com/gasi/node-neo4j (The README has slightly old installation instructions -- you can just `npm install neo4j`.) Cheers, Aseem On Mon, Aug 29, 2011 at 3:52

[Neo4j] REST API: output respresentation and performance

2011-08-29 Thread Oleg
Hi guys, We are developing an analytics server on top of Neo4j REST API. We use Neo4j 1.4.1. Our general experience is good, you are doing a great job! In our project we make a number of Gremlin/Cypher queries and some traversal calls via REST API. However, we have experienced some data

Re: [Neo4j] REST API: output respresentation and performance

2011-08-29 Thread Marko Rodriguez
Hi, - Data transfer bottleneck. Returning a large set of nodes/relationships from a Gremlin query with Json might result in excesive result size. We transfer from hundreds to 100.000 entities. In our case, we only need to obtain a single property value (or just a few properties) for each

[Neo4j] aStar nullpointer

2011-08-29 Thread equazen
Hi, After updating neo4j from 1.2 to 1.4 i get always the same nullpointer exception in a* algorithm. java.lang.NullPointerException at org.neo4j.graphalgo.impl.util.GeoEstimateEvaluator.getCoordinates(GeoEstimateEvaluator.java:54) at

Re: [Neo4j] Test and try/catch block

2011-08-29 Thread Alexander Smirnov
I use jUnit MethodRule that starts embedded server in temporary folder and cleans up transaction after the test: public class Neo4jRule extends TemporaryFolder { private GraphDatabaseService graphDatabase; private Transaction transaction; @Override

Re: [Neo4j] aStar nullpointer

2011-08-29 Thread Peter Neubauer
Hi there, do you have a testcase that can reproduce this? If yes, forking and providing it would be great, otherwise, just open a GIThub issue on https://github.com/neo4j/community if that is ok? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704

[Neo4j] Neo4j Events this Week 09/29/2011

2011-08-29 Thread Allison Sparrow
*** Hi Everyone, Here are the events organized for this week. If you have any questions regarding participation, feel free to email me at alli...@neotechnology.com * LONDON MEETUP: Modeling with Graphs * Wednesday, 31 August 31 @14:30 GMT In this talk,

Re: [Neo4j] Server couldn't start after java.lang.OutOfMemoryError

2011-08-29 Thread Nuo Yan
Hey Adriano, Thanks so much for following up. I haven't had chance to profile the neo4j server yet due to other tasks on hand and meetings. I will find some time to do it this week and let you know. I did set -XX:MaxPermSize to 1024M though, and haven't got OutOfMemory yet after it. Thanks, Nuo

[Neo4j] Property Path syntax in Cypher

2011-08-29 Thread sappling
Is there a way to do something like SPARQL's property path syntax in Cypher? I want to match on one or more occurrences of a relationship. For example if I have a relationship [:child], then I would like to find all ancestors. In SPARQL, you can do things like : ns:start ns:child+ ?ancestor .