[Neo4j] Re: capturing time events in a graph db

2014-03-28 Thread [:Koen]
oeps .. typo.. i mean ("likes" must have been "knows") (a)-[:KNOWS]->(knows)-[:KNOWS]->(b) Op zaterdag 29 maart 2014 07:41:36 UTC+1 schreef [:Koen]: > > Hi, i am considering how to capture the "date/time" dimension efficiently > in a graph. The bigger idea being able to query on the exact s

[Neo4j] capturing time events in a graph db

2014-03-28 Thread [:Koen]
Hi, i am considering how to capture the "date/time" dimension efficiently in a graph. The bigger idea being able to query on the exact status of my graph in any point in time (history) .. this includes when nodes are created , modified and also when relations are created and modified Since i

[Neo4j] Access DB from web browser and Java code simultaneously

2014-03-28 Thread Beginner
Is there a way to access neo4j through web browser and Java code simultaneously? I only need to read the DB through Web Browser. Regards -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it,

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-03-28 Thread Rio Eduardo
Thank you for the reply Michael. Yes, and I already tried it again for a second time. I just realized that was my mistake. I always thought that the new feature Labels already applied Index or Constraint so I had never created Index or Constraint when I was using cypher. And after I created con

[Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-03-28 Thread Rio Eduardo
Thank you for the reply Ludnin. And I already tried MATCH (n:User)-[:Friend*3]-(FoFoF) return FoFoF; and the result is still the same that is about 85000ms. I just realized that was my mistake. I always thought that the new feature Labels already applied Index or Constraint so I had never created

Re: [Neo4j] findNodesByLabelAndProperty from specific node

2014-03-28 Thread Wes Freeman
You should create an index for your label/property combo. Something like: try ( Transaction tx = graphdb.beginTx() ) { graphdb.schema() .indexFor( DynamicLabel.label( "MyLabel" ) ) .on( "myProperty" ) .create(); tx.success(); } Wes On Fri, Mar 28, 201

Re: [Neo4j] SDN Persisting Nodes in Single Call

2014-03-28 Thread Stacy Tyler Young
Michael, what would a ballpark figure look like in man hours in order to move sdn to cypher? Maybe we can crowdsource it. :) On Fri, Mar 28, 2014 at 2:49 AM, Michael Hunger < michael.hun...@neopersistence.com> wrote: > Sadly neither > > It uses core java api methods to do it > > No time to rewr

Re: [Neo4j] routing on OSM data with restrictions

2014-03-28 Thread Craig Taverner
A few years ago I had a very interesting chat with Danial Kastl, one of the leads of http://pgrouting.org/, the well known routing library for PostGIS. He described to me various ideas for how to route on a graph, and how to deal with turning restrictions. I don't remember all the details, but I ca

[Neo4j] findNodesByLabelAndProperty from specific node

2014-03-28 Thread José Cornado
findNodesByLabelAndProperty searches a whole graph. At this point is not important because mine is tiny. But as it grows this function becomes slower. I can pinpoint the root node from which all the nodes that match the function's criteria. So the question is: is there a way to feed findNod

Re: [Neo4j] putting lots of cypher queries into one post request

2014-03-28 Thread Wes Freeman
A few examples located at: http://docs.neo4j.org/chunked/milestone/rest-api-transactional.html I recommend sending 100 at a time to start, and play with less or more--depending on latency and query structure you can get better results either way. Wes On Fri, Mar 28, 2014 at 3:56 PM, Alex Frieden

[Neo4j] putting lots of cypher queries into one post request

2014-03-28 Thread Alex Frieden
Hi all, Currently I am using HttpBuilder and sending post requests to an open transaction. Per file, I am sending about 200,000 requests to the endpoint which is a lot. I would like to batch together the query and corresponding parameter map into each post request. However, I don't see any e

[Neo4j] routing on OSM data with restrictions

2014-03-28 Thread Antonio Grimaldi
Hi, Starting from OSM data file, i already create nodes and edges in neo4j graph and i can correctly calculate the shortest path with Dijkstra algorithm. Then, i created a restriction's list, where each is identified by fromRel, viaNode, toRel. Now i would like to manage this information (restri

[Neo4j] Routing on OSM DATA with restriction(no_left_turn, only_right_turn etc)

2014-03-28 Thread Antonio Grimaldi
Hi, Starting from OSM data file, i already create nodes and edges in neo4j graph and i can correctly calculate the shortest path with Dijkstra algorithm. Then, i created a restriction's list, where each is identified by fromRel, viaNode, toRel. Now i would like to manage this information (restri

[Neo4j] graph matching benchmarks

2014-03-28 Thread azk172
Hi All, Are there any graph datasets out there which can be used to benchmark various graph algorithms ?? Akhil -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to neo4j

Re: [Neo4j] graph matching benchmarks

2014-03-28 Thread Alex Averbuch
Hi Akhil, Good question! Neo Technology is actually involved in an EU-funded research project that is tasked with developing industry supported performance benchmarks for graph database and graph processing systems. The project is called the Linked Data Benchmark Council (LDBC). If you want to read

Re: [Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-03-28 Thread Michael Hunger
Rio, was this your first run of both statements? If so, please run them for a second time. And did you create an index or constraint for :User(user_id) ? MATCH (U:User) RETURN COUNT(U); I would also change: MATCH (U:User)-[F:Friend]->(FU:User)-[FF:Friend]->(FFU:User) WHERE U.user_id=1 AND FFU.u

[Neo4j] Re: Why is Neo4j slower(totally dead) with many nodes and relationships in lower specification of pc/notebook while MySQL is not?

2014-03-28 Thread Lundin
ms, it is milliseconds. What is the corresponding result for a SQL db ? MATCH (n:User)-[:Friend*3]-(FoFoF) return FoFoF; Albeit a valid search is it something useful ? I would think finding a specific persons FoFoF in either end, as a starting point or end point, would be a very realistic scena

[Neo4j] Re: Could kapsack problem be solved via graph traversal using bounderies?

2014-03-28 Thread Lundin
Hi again, Any ideas or input to simplify the problem? Would be possible to halt the traverseal until a specific threshold has been reached ? I haven't tried all possible functions, maybe something with a FOREACH and then a CASE scenario would evaluate each traversal and return the result upon

Re: [Neo4j] resultDataContents in non transactional Cypher endpoint

2014-03-28 Thread Javier de la Rosa
Good to know. Thanks. On Fri, Mar 28, 2014 at 2:37 AM, Michael Hunger < michael.hun...@neotechnology.com> wrote: > Because it was only added to the tx-endpoint which has a condensed format > to allow some other formats too. > > The existing cypher endpoint won't be maintained in the long term a

Re: [Neo4j] Re: Gremlin Plugin - Extremely slow on Neo4j 2.0.1

2014-03-28 Thread Effy Teva
Hi Peter, Thank you for giving a try looking at it. This is the test code: static void TestNeo4j(int MaxDegreeOfParallelism) { Teva.Common.Data.Neo4j Client = new Common.Data.Neo4j("127.0.0.1", "7474"); System.Diagnostics.Stopwatch Stopwatch = new System.Diagnos

Re: [Neo4j] Re: Gremlin Plugin - Extremely slow on Neo4j 2.0.1

2014-03-28 Thread Effy Teva
Also, Are there any plans for Neo4j to be in the next Tinkerpop version? All of my usage is based on using Gremlin over REST, and I have to know I'm counting on a product/solution that's gonna be there in the next few years. Regards, Effy On Friday, March 28, 2014 12:32:17 PM UTC+3, Peter Neuba

Re: [Neo4j] Re: Gremlin Plugin - Extremely slow on Neo4j 2.0.1

2014-03-28 Thread Peter Neubauer
Effy, as Neo4j 2.0.1 is not in any official Tinkerpop version yet, we haven't spent a hug amount on performance testing the plugin. However, do you have that test somewhere so I can have a look? /peter G: neubauer.peter S: peter.neubauer P: +46 704 106975 L: http://www.linkedin.com/in/neuba

Re: [Neo4j] Re: Example Spring style Unmanaged Extension

2014-03-28 Thread Pallavi Mukherjee
Sure Michael i will create JIRA issue for this. Thank you On Fri, Mar 28, 2014 at 1:00 PM, Michael Hunger < michael.hun...@neotechnology.com> wrote: > I think I don't have something like that. But would be good to have, true. > Perhaps you can issue a JIRA issue about that, so that we don't fo

Re: [Neo4j] Some basic questions about neo4j

2014-03-28 Thread Michael Hunger
1. yes the files are updated 2. in the sample directory is a different batch.properties which is used and if you look into it you'll see that the Users index is configured there 3. You have to stop the server, copy the created database into your server directory: * cp -r target/graph.db/* /usr/loca

Re: [Neo4j] Re: Example Spring style Unmanaged Extension

2014-03-28 Thread Michael Hunger
I think I don't have something like that. But would be good to have, true. Perhaps you can issue a JIRA issue about that, so that we don't forget. Otherwise if you really need it quickly, you can give it a try, get it started and share the github project. Then I can help you fix issues and you can

[Neo4j] Some basic questions about neo4j

2014-03-28 Thread Jyoti Yadav
Hi folks.. I am quite newbie to neo4j. I am using neo4j-community 1.9.4 version. I am working in centos(single machine). I have some questions related to neo4j data/graph.db directory. This directory contains various files related to node store,property store, relationship store. If we cre