Re: [Neo4j] KeyError in python

2011-12-13 Thread Jacopo Farina
I tried again to run the program and still got the same error, at the same point. I'm running it on Ubuntu 10.10, but I could try on a pc with Windows 7 and more RAM. Cheers, Jacopo ___ NOTICE: THIS MAILING LIST IS BEING SWITCHED TO GOOGLE GROUPS,

[Neo4j] KeyError in python

2011-12-06 Thread Jacopo Farina
Hi all! I'm using python embedded in order to classify all the nodes in a neo4j graph previously labeled with properties. The graph is about 3.9GB with 7M nodes and 30-40M relationships. I've two questions: 1- the program worked correctly for hours then crashed suddenly with this error: Traceback

Re: [Neo4j] google n grams data set in neo4j

2011-11-28 Thread Jacopo Farina
some part of it) for free (and legally, of course) ? I've found just this page ( http://www.ldc.upenn.edu/Catalog/CatalogEntry.jsp?catalogId=LDC2006T13) but it seems I would have to pay. Cheers, Jacopo Farina 2011/11/28 Peter Neubauer peter.neuba...@neotechnology.com Seriously cool stuff René

Re: [Neo4j] Python embedded and Java batch inserter

2011-10-18 Thread Jacopo Farina
Yes! It worked! Thanks a lot. Jacopo Farina 2011/10/18 Jacob Hansson jacob.hans...@neotechnology.com I think this might be another case of a problem that would be a lot easier to solve if the python bindings pushed out full stack traces. It's in my backlog to fix that. I'm gonna *guess

[Neo4j] Python embedded and Java batch inserter

2011-10-17 Thread Jacopo Farina
! Jacopo Farina ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Open Data Sets?

2011-09-29 Thread Jacopo Farina
it, but the code is trivial, feel free to use it: http://pastebin.com/mj3bkDmZ It contains an utility class to read the file line per line, I'm sorry for the comments in Italian. The program avoids to load most of the stub or redirect categories, the execution should last 5-7 hours. Cheers, Jacopo

Re: [Neo4j] Executing arbitrary code through REST (was: Specifying best first order of traverse over REST API)

2011-08-26 Thread Jacopo Farina
Nice! is there a way to run it easily from python with neo4jrestclient, avoiding creating an http request manually ? In general, I wasn't able to understand how to run a Gremlin script, or just a query, in python through the restclient library. Probably is a very simple business, but I started

Re: [Neo4j] Executing arbitrary code through REST (was: Specifying best first order of traverse over REST API)

2011-08-26 Thread Jacopo Farina
Thanks a lot for the answer. Cheers! Jacopo Farina 2011/8/26 Javier de la Rosa ver...@gmail.com On Fri, Aug 26, 2011 at 13:12, Matt Luongo m...@scholr.ly wrote: I think Javier is working on adding a returns=type style parameter in the most recent source so that the client can figure out

Re: [Neo4j] Neo4j vs orient db

2011-07-14 Thread Jacopo Farina
by myself. Cheers, Jacopo Farina 2011/7/11 Jacob Hansson ja...@voltvoodoo.com On Sun, Jul 10, 2011 at 7:43 AM, Aliabbas aliabba...@gmail.com wrote: thanks andrew ! . Can you share with us your experiment for very large databases . Orient db also claims to be highly scalable and follows

Re: [Neo4j] finding all shortest paths between one node and all other nodes in a large scale databse

2011-05-12 Thread jacopo . farina
Hi, I had the same problem and solved it by assigning a distance label to any node. The procedure is: 1-take the starting node N and add it to a set A, define the set B 2-set the value d=1 3-for any node M in A: 3.1 set the label distance of M to d 3.2 for any node X which is connected to