Re: [Neo4j] Traversal RelationshipExpander

2010-11-25 Thread Kalin Wilson Development
Thanks for your suggestions regarding my model, Craig. I agree about the ids. Using a generalization for Asset Types might be something to look at. I'm still stuck on wanting to capture the general nature of an Asset as well as the specific triple of Producer-Asset-Consumer. I'll have to think

[Neo4j] Modeling inheritance in Neo4J

2010-11-25 Thread Yaniv Ben Yosef
Hi, I'm looking for best practices in modeling inheritance in Neo4J. Suppose I have a Person class. In the DB I naturally have a node for each person. I'm following the design guide, and created a PEOPLE subreference node, connected to all Person nodes (A and B in the diagram below)

Re: [Neo4j] Traversal RelationshipExpander

2010-11-25 Thread Craig Taverner
Hi Kalin, I'm not sure I follow about duplicating. The suggestion I made did not involve any duplicating. The AssetType nodes would contain properties appropriate to the type of asset, and the Asset node would contain properties only appropriate to that instance (or none if none are appropriate).

Re: [Neo4j] Modeling inheritance in Neo4J

2010-11-25 Thread Craig Taverner
Another factor to consider is multiple inheritance, where you are grouping the people into overlapping groups. For example, you can have the users/non.users split, but also perhaps a man/woman split, and this results in four types. If you are concerned about having to restructure the graph when

Re: [Neo4j] [SPAM] Re: Datetimes in Neo4j REST Server

2010-11-25 Thread Craig Taverner
Perhaps I'm missing something here, but since Neo4j does not support dates, then surely neither should the main REST API? If a users application decided to store dates in strings, then their client code would also already need to deal with the dates as strings, regardless of whether the client

Re: [Neo4j] Modeling inheritance in Neo4J

2010-11-25 Thread Yaniv Ben Yosef
Craig, I like the tag tree idea. Quite flexible indeed. Thanks! --- Yaniv On Thu, Nov 25, 2010 at 1:59 PM, Craig Taverner cr...@amanzi.com wrote: Another factor to consider is multiple inheritance, where you are grouping the people into overlapping groups. For example, you can have the

Re: [Neo4j] [SPAM] Re: Datetimes in Neo4j REST Server

2010-11-25 Thread Javier de la Rosa
On Thu, Nov 25, 2010 at 07:11, Craig Taverner cr...@amanzi.com wrote: My vote is to keep the REST API as close as possible to the core Neo4j. If dates are added to the core, then add them to the REST API. Until then, surely this is an application level issue... +1. I wish the Date type were

Re: [Neo4j] [SPAM] Re: [SPAM] Re: Datetimes in Neo4j REST Server

2010-11-25 Thread rick.bullo...@burningskysoftware.com
+1. - Reply message - From: Javier de la Rosa ver...@gmail.com Date: Thu, Nov 25, 2010 10:58 am Subject: [SPAM] Re: [Neo4j] [SPAM] Re: Datetimes in Neo4j REST Server To: Neo4j user discussions user@lists.neo4j.org On Thu, Nov 25, 2010 at 07:11, Craig Taverner cr...@amanzi.com wrote: My

Re: [Neo4j] New IndexProvider not registering

2010-11-25 Thread Mattias Persson
2010/11/25 Peter Neubauer peter.neuba...@neotechnology.com Hi all, Craig and me thought of registering Neo4j-Spatial as a new IndexProvider, so you can set up a NodeIndex with all the geographic hints and setup you need, and then just index geometry nodes and ask spatial queries over it in

Re: [Neo4j] Release 1.0.0.beta.22

2010-11-25 Thread Peter Neubauer
Great stuff Andreas, we had a great evening in Barcelona yesterday, showing off the great work you, Ben and all the others are doing! Fantastic API and features! Craig and me are working on getting the Neo4j Spatial supported (at least the basic features) as a normal index provider in Neo4j. That