Re: [Neo4j] GSoC 2011: OSM data mining and editing capabilities in uDig and Geotools

2011-05-02 Thread Tim McNamara
Congratulations Mirco. I look forward to hearing more about how your project progresses over the course of the summer. Tim McNamara | @timClicks | timmcnamara.co.nz On 3 May 2011 10:24, Mirco Franzago wrote: > Hi All, > > I am Mirco Franzago, a master course s

[Neo4j] REST API (optimistic or transactional) concurrency?

2011-05-02 Thread Aseem Kishore
Hi there, If we're using Neo4j purely over REST, do we have any means to protect against concurrency? The REST API appears to expose neither transactions nor optimistic concurrency. Here's a simple example: we have nodes representing users, and users have a "username" property that we index. When

[Neo4j] GSoC 2011: OSM data mining and editing capabilities in uDig and Geotools

2011-05-02 Thread Mirco Franzago
Hi All, I am Mirco Franzago, a master course student in computer science. With my pleasure I want to announce that I’ve been selected for the Google Summer of Code 2011 for my proposal “OSM data mining and editing capabilities in uDig and Geotools”, a Neo4j and uDig project in collaboration with

Re: [Neo4j] Server Plugin Example to help with large queries over REST API

2011-05-02 Thread Todd Chaffee
Hi Jake, The short answer to "should we?" is right in the neo4j REST API documentation: "The query syntax used here depends on what index provider you chose when you created the index." Since the provider is "discoverable" via the REST API, the client app can decide if it speaks that provider's q

Re: [Neo4j] Neo4J sizing calculations

2011-05-02 Thread Dima Gutzeit
Michael, Part of the nodes are not users but people that users know, lets say by email, those nodes have only one property. Actual users number is around 20 millions, and estimated each user has 100-200 friends while part of them are users and part are 'simple nodes'. Of course some 'simple nodes'

Re: [Neo4j] Neo4J sizing calculations

2011-05-02 Thread Michael Hunger
Dima, do you have from your current data a distribution curve of friends per user ? That determines the # of relationships per graph. E.g. when each user has about 50 friends (unidirectional) in average, that makes 100 billion relationships in the graph. So, not the # of nodes is the limiting

Re: [Neo4j] Regd: Neo4j basic questions.

2011-05-02 Thread Adriano Henrique de Almeida
Hi Anil, if you're also interested, there is the IMDB example: https://github.com/neo4j-examples/imdb. Also I have an example project at my github: https://github.com/adrianoalmeida7/neo4j-vraptor-example where I integrate Neo4j with a webframework other than SpringMVC (in this case, VRaptor). I a

Re: [Neo4j] Neo4J sizing calculations

2011-05-02 Thread Dima Gutzeit
Johan, Thanks for your answer. The graph represents a social network, where users are friends of other users (followers and following). Each node has a name and is connected to other users (his friends), so the relationship is user-is-a-friend-of-another-user. Each relationship has a nickname, by

Re: [Neo4j] Lucene/Neo Indexing Question

2011-05-02 Thread Craig Taverner
I see your point. My current code in amanzi-index definitely expects the total number and types of the properties to be configured in advance. Two tags of the same vocabulary is no problem, but the number and name of the tags included in the index is configured up-front, because the tree is a kind

Re: [Neo4j] Regd: Neo4j basic questions.

2011-05-02 Thread Anil Tatikonda
This is really very interesting... thanks a lot i will keep trying different things out On Mon, May 2, 2011 at 1:15 PM, Michael Hunger < michael.hun...@neotechnology.com> wrote: > Please don't confuse a graph data structure with a "visual" graphical > representation, graphical can mean anything.

Re: [Neo4j] Regd: Neo4j basic questions.

2011-05-02 Thread Michael Hunger
Please don't confuse a graph data structure with a "visual" graphical representation, graphical can mean anything. Graphs are nodes and relationships to other nodes which all can have relationships. For you as a Java developer it is perhaps easiest to imagine those as object networks. Otherwi

[Neo4j] Visualizations of many algorithms including graph-algos

2011-05-02 Thread Michael Hunger
http://www.cs.usfca.edu/~galles/visualization/Algorithms.html Nicely done, runs in the browser, perhaps useful for explaining stuff to people. Cheers Michael ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Regd: Neo4j basic questions.

2011-05-02 Thread Anil Tatikonda
Thanks a lot for all the Help. Yes I'm a Java Developer i may sound so dumb to you. I was just trying to validate my understanding as this is little interesting for me and its giving me little different perspective towards the data staying in a file locally... its very different from our day to d

Re: [Neo4j] Regd: Neo4j basic questions.

2011-05-02 Thread Marko Rodriguez
Hey, Are you a Java developer? Simply start playing around as such: GraphDatabaseService graph = new EmbeddedGraphDatabase( "var/graphdb" ); Node a = graph.createNode(); a.setProperty("name", "marko"); Node b = graph.createNode() b.setProperty("name", "gold plated rocket car"); Relationship r = a

Re: [Neo4j] Regd: Neo4j basic questions.

2011-05-02 Thread Anil Tatikonda
Thanks that is a pretty quick reply i appreciate your response that helps my understanding. And so now I'm trying the example in the Design Guide section. But it asks me to create the RelationShipTypes by following the instructions in Getting started but its not that clear. And moreover where do i

Re: [Neo4j] Regd: Neo4j basic questions.

2011-05-02 Thread Marko Rodriguez
Hello, Neo4j is a database + API. Thus, Neo4j will persist your data for you (in a directory) and will expose that data logically as a graph for you (JavaDoc API). Neo4j is NOT a graph API over an existing database (e.g. MySQL). Hope that helps, Marko. http://markorodriguez.com On May 2, 2011

[Neo4j] Regd: Neo4j basic questions.

2011-05-02 Thread Anil Tatikonda
I have read through the Getting Started on Neo4j this morning. I understood that this a graphical database representation of our data. But its very hard to imagine in terms of our Application. So where does the data stay lets just say we have Customers and Orders like your example where does all t

Re: [Neo4j] Lucene/Neo Indexing Question

2011-05-02 Thread Rick Bullotta
Ah, if only it were so... The number of indexable properties (tags) is completely variable on a "per car" basis (e.g. I can add a "driverMood" tag for just a subset of cars) - meaning that the domain objects themselves can have a variable number of "tags" and can indeed even be tagged with two

[Neo4j] Geoprocessing with Neo4j Spatial and OSM

2011-05-02 Thread Craig Taverner
Hi all, I have applied to FOSS4G to talk about "Geoprocessing with Neo4j Spatial and OSM". This talk will include the new work we've done on the open street map model. In addition, we got two GSoC students this year, on related projects "OSM Editor" and "Geoprocessing with OSM", and so they are li

Re: [Neo4j] Lucene/Neo Indexing Question

2011-05-02 Thread Craig Taverner
Thinking back you your original domain description, cars with colors, surely you have more properties than just colors to index? If you have two or more properties, then you use combinations of properties for the first level of the index tree, which provides your logical partitioning of supernodes

Re: [Neo4j] Lucene/Neo Indexing Question

2011-05-02 Thread Niels Hoogeveen
Have you thought about using the in-graph Timeline index for this? Make each color node the root of a Timeline and add the car nodes as entries to that index. This may reduce your synchronization problems and is something you can probably test without having to make too much of an investment.

Re: [Neo4j] Lucene/Neo Indexing Question

2011-05-02 Thread Rick Bullotta
No doubt it could be done, Jim - but then the traversals get more complex of course. Ideally it would largely transparent via the index framework. Alternatively, I wonder if there is work that could be done at the kernel level to deal with optimizing frequent relationship attachment/detachment

Re: [Neo4j] Lucene/Neo Indexing Question

2011-05-02 Thread Jim Webber
I actually think this discussion on supernodes is very valuable - we've seen it crop up in a small, bit significant, number of implementations and we've seen credible and hairy workarounds. [pure speculation follows] I'm wondering whether it would be possible to intercept the write to the "red"

Re: [Neo4j] User Digest, Vol 49, Issue 83

2011-05-02 Thread Peter Neubauer
Very cool Todd! Keep us updated on the progress! 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 http://www.neo4j.org               - Your high p

Re: [Neo4j] Server Plugin Example to help with large queries over REST API

2011-05-02 Thread Jacob Hansson
I did a bit of poking at this last week, and noticed the same thing you did - we don't expose much of the power of the lucene index through the REST API. The question is, how should we go about doing it (and perhaps even "Should we?")? We really don't want the API to be Lucene-specific (which is w

Re: [Neo4j] Lucene/Neo Indexing Question

2011-05-02 Thread Rick Bullotta
Hi, Michael. The nature of the domain model really doesn't lend itself to any logical partioning of "supernodes", so it would indeed have to be something very arbitary/random. For now, I think we will have to either deal with the performance issues or switch to using Lucene for the indexing,

Re: [Neo4j] Lucene/Neo Indexing Question

2011-05-02 Thread Michael Hunger
Perhaps then it is sensible to introduce a second layer of nodes, so that you split down your "supernodes" and distribute the write contention? Would be interesting if putting a round robin on that second level of color nodes would be enough to spread lock contention? This is what peter talks a

Re: [Neo4j] Lucene/Neo Indexing Question

2011-05-02 Thread Rick Bullotta
Hi, Niels. That's what we're doing now, but it has performance issues with large #'s of relationships when "cars" are constantly being added, since the "color" nodes become synchronization bottlenecks for updates. Rick From: user-boun...@lists.neo4j.org

Re: [Neo4j] GSoC 2011 Neo4j Geoprocessing

2011-05-02 Thread Peter Neubauer
Andreas, welcome to the GSoC - Craig, Jody and me are superthrilled to get going on this! Keep the list updated on any issues you are encountering while getting up to speed so we all can try to make the ride as smooth as possible. Cheers, /peter neubauer GTalk:      neubauer.peter Skype       pe

Re: [Neo4j] API for building and querying meta model.

2011-05-02 Thread Peter Neubauer
Kobla, for this, I think the best option would be to build your own Server Plugins and expose the Meta Model functionality you need as REST endpoint on the GraphDatabase representation (/db/data/), see http://docs.neo4j.org/chunked/snapshot/server-plugins.html This works even with the HA options w

[Neo4j] API for building and querying meta model.

2011-05-02 Thread Kobla Gbenyo
Hello, I am testing Neo4j Entreprise and I want to use the "Meta Model" API for building and querying my data meta model. I realize that this API ( "Meta Model API") is only used on embedded graph database. Please, could someone tell me a way to build and query meta model in Neo4j Server which

Re: [Neo4j] Neo4J sizing calculations

2011-05-02 Thread Johan Svensson
Hi, This will depend on types of queries, access patterns and what the data look like. Could you provide some more information on what the data look like, specifically relationships traversed and properties loaded for a query? Regarding adding another machine to an already active cluster it is ea