[Neo4j] Re: Working with Neo4j 2.2 using the latest Py2Neo

2015-02-04 Thread Jim Salmons
Echoing what Nigel said, I found that all I needed to do once on the latest 
codebase was to import set_auth_token from core and then call it with an 
authorized ID -- the route I took being that I copied and pasted the token 
displayed on the home page of the default browser view, e.g. localhost:7474.

py2neo, BTW and by way of public thanks to Nigel, is an awesome 
contribution to the Neo4j community in general. But I think it is 
especially useful for folks in the digital humanities and museum 
informatics domains where there is so much data flooding on-line due to 
scanning and digitization efforts around the world. There is a lot of one 
off data importing scripting to do and py2neo is awesome for that. For 
example, I'm using it to parse and import the #cidocCRM, the ISO standard 
museum Conceptual Reference Model (AKA metamodel) into Neo4j.

Thanks, Nigel, and Gook Luck, Mahesh,
-: Jim :-

www.FactMiners.org


On Wednesday, February 4, 2015 at 6:38:07 AM UTC-6, Mahesh Lal wrote:

 Hi Nigel,

 I was wondering if py2Neo 2.0.4 supports the new auth mechanism in Neo4J. 

 Most of the examples that I see are related to proxy username/passwd. Am I 
 missing something?

 -- Thanks and Regards
Mahesh Lal

  

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] Re: comparing collections of labels

2014-12-03 Thread Jim Salmons
Hi Tom,

I've wrestled a bit in this area, too, in the context of partitioning a 
metamodel subgraph. As you mention, the current state of affairs is that 
nodes can be subset members of an arbitrary number of named node subsets, 
but there is currently no way to (optionally) consider a path-wise 
containment semantic that would allow you to have subsets within subsets.

My wish list is for Neo4j to have good predictable behavior in handling 
the kind of use case that you describe, but in addition, support a 
path/containment semantic such as period.delimited.labels that would be 
interpreted as individual labels but with the added meaning of subset 
containment, e.g. (fido :Animal.Dog.Beagle). With something like this, we 
could do regex selections to mix and match stuff within various 
subset-nested collections of nodes, etc. I can imagine that this would be 
useful to others. But in my case, I know it would be helpful to organize 
and use a metamodel subgraph that has both structural and process 
partitions.

-: Jim :-

On Wednesday, December 3, 2014 8:21:12 AM UTC-6, Tom Zeppenfeldt wrote:

 I have a usecase in which certain actions should only be triggered for 
 specific nodetypes. a nodetype is defined by a *combination* of labels.

 The nodetypes for which an action should take place is given by a nested 
 collection of label combinations by something like  [[a, 
 b],[a,d,e]]  . There has to be a exact match, so a node with only 
 label a or  b, or a node with  :a:b:x  should not match.

 Now the problem arises when I want to compare the  labels(n) with this 
 collection, because [a, b] is different from  [a, b] , and there 
 seems to be not a specific order in which labels are returned.

 The only way I got this working is this

 match (n) 
 WHERE
 (ALL (l in labels(n) WHERE l in ['a','b']) AND LENGTH(labels(n))=2)
 OR
 (ALL (l in labels(n) WHERE l in ['a','d','e']) AND LENGTH(labels(n))=3)
 return n.name


 If there was a way to predict the order of the labels , i would do this


 match (n) 
 WHERE 
  REDUCE(acc = '', p IN labels(n)| acc + p + ' ') IN ['a b ','a d e 
 '] 
 return n.name


 Or is there another way?

 Best, 

 Tom


-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] Re: New Neo4j SPARQL Plugin

2014-11-13 Thread Jim Salmons
Hi Niclas, Michael, Mike, and Jacob,

I concur with others in congratulating you and encouraging your work. In 
particular, due to your in-country proximity and shared creative spirits, I 
would encourage Michael to make that proposed get together with Niclas in 
Frankfurt with Axel, Christian, to include the Structr team in your 
conversation. :D

I'm currently working on a cognitive computing initiative in the digital 
humanities domain via www.FactMiners.org where we are leveraging a 
metamodel subgraph design pattern. The idea is to allow as much pure 
graph expressiveness and extensibility inside my Fact Cloud private 
garden and push LOD (Linked Open Data) query response 
formatting/harmonization as much as possible to a dynamic mapping in the 
FactMiners' platform presentation/publication layer -- where RDF/SPARQL 
is such an important factor. 

I'm planning to stand on the shoulders of giants in this regard by making 
as much use as possible of Karma. Niclas, are you familiar with it? I can't 
help but think that this project would have some interest to you 
considering the transformations and border crossings you are wrestling 
with. :-)

Karma is an amazing Open Source multilingual ontology-aware cross-model 
smart-mapper providing Rosetta Stone-like powers to users coping with the 
ever-shifting publication of Linked Open Data (LOD). Karma is the evolving 
brilliant work from the team of researcher-makers led by Craig Knoblock and 
Pedro Szekely of the Information Sciences Institute at the University of 
Southern California. Here's a short blog post at FactMiners on Karma with 
additional info and links to the project 
http://www.factminers.org/content/karma-take-lod-factminers, etc.

Keep up the good work, Niclas.
-: Jim :-

On Tuesday, November 11, 2014 7:29:01 AM UTC-6, Niclas Hoyer wrote:

 Hi,

 as part of my master thesis I developed a new SPARQL plugin for Neo4j.

 The current plugin https://github.com/neo4j-contrib/sparql-plugin is 
 developed as server plugin and somewhat limited, as the SPARQL protocol 
 standards are not correctly implemented (regarding result formats and RDF 
 input).

 The new plugin is developed as unmanaged extension and fully implements 
 the SPARQL 1.1 Protocol http://www.w3.org/TR/sparql11-protocol/ 
 standard and the SPARQL 1.1 Graph Store HTTP Protocol 
 http://www.w3.org/TR/sparql11-http-rdf-update/ standard. That means 
 SPARQL 1.1 queries and update queries are supported and also updating of 
 RDF data using HTTP.
 For large datasets it is possible to import them in chunks. The plugin 
 will commit smaller chunks to the database to reduce memory consumption.

 Moreover the plugin includes a new approach to OWL-2 inference using query 
 rewriting of SPARQL algebra expressions. For SPARQL 1.1 queries the plugin 
 will rewrite the query in such a way that also inferred solutions are 
 returned.

 For more information, download, installation and usage head over to the 
 GitHub 
 page https://github.com/niclashoyer/neo4j-sparql-extension.

 Regards,
 Niclas Hoyer


-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] Re: New Structr SNAPSHOT version - with integrated Neo4j server!

2014-11-10 Thread Jim Salmons
Wow Axel, Christian, and the Structr Team... 

This is a SUPER move. With Structr maturing and Neo4j going 2.2, things 
will be getting more and more interesting.

I have been quiet lately so as to not divert your attention from all the 
amazing work your team is doing. But things are DEFINITELY brewing in a 
very good way. Next week is #MCN2014 so that will keep me jumping.

More soon...
-: Jim :-

On Monday, November 10, 2014 7:46:27 AM UTC-6, Axel wrote:

 Hi Group, 

 glad to announce a new SNAPSHOT version of Structr, and it comes with 
 the long-awaited integrated Neo4j server! 

 You just have to add 'Neo4jService' to the list of configured services, 
 set host and port in the structr.conf and start as usual. Then you can 
 access the Neo4j browser on http://localhost:7474 (or whatever is set in 
 structr.conf *). 

 Warning: The Neo4j server runs against the same database as Structr, 
 bypassing all security measures. With the upcoming Neo4j 2.2, we'll 
 synchronise Structr's admin user with the user-level security of Neo4j. 
 Until then, make sure you don't expose the Neo4j listener to any 
 untrusted network! 

 Please note that this is an experimental build, but we're planning to 
 ship it with the 1.1 release. 

 Best, 
 Axel 


 (*) You can find the new config options in structr.conf_templ in the 
 structr-ui directory. 

 -- 
 Axel Morgner · CEO Structr (c/o Morgner UG) · Twitter @amorgner · Skype 
 axel.morgner 
 Hanauer Landstr. 291a · 60314 Frankfurt, Germany · Phone +49 151 40522060 
 https://structr.org - Structr: A revolutionary Software based on Neo4j 
 https://structr.com - Structr and Neo4j Hosting 



-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Neo4j] Neo4J and Javascript Graph Viewer

2014-08-13 Thread Jim Salmons
And one thing that I noticed when looking at xDiscovery.com is that 
VivaGraph (if that is what I was looking at) is unusually responsive on my 
iPad -- even when image-based nodes are involved. This is unusual as MANY 
Javascript graphviz frameworks act great on full systems and degrade 
significantly on tablet, especially iPad.

--Jim--

On Wednesday, August 13, 2014 4:14:39 AM UTC-5, gg4u wrote:

 I definately would like to suggest you the great VivaGraph
 https://github.com/anvaka/VivaGraphJS

 I used it for visualizing all the graph in www.xdiscovery.com (my 
 startup).
 Web site is in dev, yet not public; meanwhile can see what is possible to 
 do here:
 www.yasiv.com

 Anvaka (the developer) has been very kind and helpful, and i found the 
 library very very neat.



 Il giorno lunedì 4 agosto 2014 12:08:49 UTC+2, Michael Hunger ha scritto:

 Hi Roman,

 d3 usually doesn't need middleware, just data.

 There is a library called alchemy.js which also works with d3.js in the 
 background.

 I wrote a single html page (+ javascript) demo console that you can find 
 (with sources) here: jexp.github.io/cy2neo

 Cheers,

 Michael



 On Fri, Aug 1, 2014 at 2:21 PM, r...@granul.at wrote:

 Dear Neo4j Users!

 I am considering to use a Javascript viewer for graph-exploration.

 All the exaples I foud (using D3 or sigma.js) use some kind of 
 middleware in ruby or something similar.

 Is there an example that interacts directly with the neo4j-REST-Api? 

 The only system I found that seems to do so is the neo4j-admin (with the 
 use of D3). And the admin seems a bit too complex for a basic example.

 best regards
 roman

 -- 
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Neo4j] Neo4J and Javascript Graph Viewer

2014-08-13 Thread Jim Salmons
And I would be remiss if I didn't mention that, judging by the number of 
GitHub notifications flying out of the Alchemy.js project that this project 
is under VERY active development and getting better and better. Alchemy.js 
is, to my mind, the most likely candidate solution to recognize the 
distinction and importance of design scale graph visualization vis a vis 
BigData graph visualization. 

Design scale visualization is what is needed for #GraphGist authoring as 
GraphGists become increasingly used as design documents and for exploratory 
prototyping in addition to its obvious current primary use in creating 
educational materials.

Design-scale visualization is not about how many nodes you can show and 
move around, its all about expressiveness -- showing label-based subsets 
within bounding box, non-overlapping relations when more than one relation 
is displayed between two nodes, easy-CSS styling, etc.

While I wish the good GraphAlchemist folks well as they move toward 
competing with folks like KeyLines and Linkurious in the BigDataViz space, 
I truly hope that Alchemy.js distinguishes itself by providing the BEST 
POSSIBLE GraphGist design-viz support available. In fact, if I were Neo 
Technology I'd be financially encouraging GraphAlchemist to do just that; 
ensure that Alchemy.js has SUPERB GraphGist design-viz support because 
GraphGists will increasingly be ultra-effective in consultative-selling in 
the enterprise space. (I don't expect Neo to do this for 'the rest of us', 
we'd just be the beneficiaries of Neo making its products more competitive 
in the enterprise space.)

On Monday, August 4, 2014 5:08:49 AM UTC-5, Michael Hunger wrote:

 Hi Roman,

 d3 usually doesn't need middleware, just data.

 There is a library called alchemy.js which also works with d3.js in the 
 background.

 I wrote a single html page (+ javascript) demo console that you can find 
 (with sources) here: jexp.github.io/cy2neo

 Cheers,

 Michael



 On Fri, Aug 1, 2014 at 2:21 PM, r...@granul.at javascript: wrote:

 Dear Neo4j Users!

 I am considering to use a Javascript viewer for graph-exploration.

 All the exaples I foud (using D3 or sigma.js) use some kind of 
 middleware in ruby or something similar.

 Is there an example that interacts directly with the neo4j-REST-Api? 

 The only system I found that seems to do so is the neo4j-admin (with the 
 use of D3). And the admin seems a bit too complex for a basic example.

 best regards
 roman

 -- 
 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+un...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] Re: Neo4j database ALWAYS shuts down incorrectly if start/stop as a service from a list of windows services

2014-06-17 Thread Jim Salmons
Hi Denys,

I think you're experience is a variation of mine as related here 
https://groups.google.com/d/msg/neo4j/Qp2azbKy2_8/u4jDbiBLlesJ. Seems to 
be a long-standing issue that hasn't bitten too many but is problematic for 
the 2.1 database migration. There are some tips/insight on the link. The 
Neo folks are aware of the issue so I expect we'll see a fix at some point, 
maybe soon.

Have you tried the Ole Out and In -- dump it from your 'corrupt' DB and 
load it in an empty 2.1? I had a number of tiny to small research and 
self-learning DBs that it was so much easier to go out and back in on a 
fresh 2.1 store.

That tip about timeouts might help you, too. And the Neo4j Mojo that I am 
not qualified to comment on and I suspect is a big factor has to do with 
leveraging 2.0+ version indexing and constraints, etc. There might be some 
tweaks to the schema that you can make before migrating that, along with 
the increased timeout value, might give the migration process the room to 
work its one-time-only procedure.

It's a painful problem but, as you can imagine, hits a relative small 
segment of the broader Neo4j community. BTW, if you run Neo4j as a Windows 
Service, have you tried my mini Control Panel? 
:-) http://jim-salmons.github.io/neo4jcp/

I've subscribed to this thread and will let you know if I learn anything 
more, etc.

--Jim--

www.FactMiners.org and www.SoftalkApple.com

On Tuesday, June 17, 2014 4:50:09 AM UTC-5, Denys Hryvastov wrote:

 Here is a stack trace that I get when I try to do upgrade from 1.9.5 to 
 2.0:

 2014-06-17 09:48:27.319+ INFO  [API] Setting startup timeout to: 
 12ms based on -1
 Detected incorrectly shut down database, performing recovery..
 2014-06-17 09:48:28.108+ DEBUG [API]
 org.neo4j.server.ServerStartupException: Starting Neo4j Server failed: 
 Error starting org.neo4j.kernel.EmbeddedGraphDatabase, 
 D:\Neo4j\neo4j-enterprise-2.0.0\data\graph.db
 at 
 org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:209) 
 ~[neo4j-server-2.0.0.jar:2.0.0]
 at org.neo4j.server.Bootstrapper.start(Bootstrapper.java:87) 
 [neo4j-server-2.0.0.jar:2.0.0]
 at org.neo4j.server.Bootstrapper.main(Bootstrapper.java:50) 
 [neo4j-server-2.0.0.jar:2.0.0]
 Caused by: java.lang.RuntimeException: Error starting 
 org.neo4j.kernel.EmbeddedGraphDatabase, 
 D:\Neo4j\neo4j-enterprise-2.0.0\data\graph.db
 at 
 org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:333)
  
 ~[neo4j-kernel-2.0.0.jar:2.0.0]
 at 
 org.neo4j.kernel.EmbeddedGraphDatabase.init(EmbeddedGraphDatabase.java:63) 
 ~[neo4j-kernel-2.0.0.jar:2.0.0]
 at 
 org.neo4j.graphdb.factory.GraphDatabaseFactory$1.newDatabase(GraphDatabaseFactory.java:92)
  
 ~[neo4j-kernel-2.0.0.jar:2.0.0]
 at 
 org.neo4j.graphdb.factory.GraphDatabaseBuilder.newGraphDatabase(GraphDatabaseBuilder.java:198)
  
 ~[neo4j-kernel-2.0.0.jar:2.0.0]
 at 
 org.neo4j.kernel.impl.recovery.StoreRecoverer.recover(StoreRecoverer.java:115)
  
 ~[neo4j-kernel-2.0.0.jar:2.0.0]
 at 
 org.neo4j.server.preflight.PerformRecoveryIfNecessary.run(PerformRecoveryIfNecessary.java:59)
  
 ~[neo4j-server-2.0.0.jar:2.0.0]
 at 
 org.neo4j.server.preflight.PreFlightTasks.run(PreFlightTasks.java:70) 
 ~[neo4j-server-2.0.0.jar:2.0.0]
 at 
 org.neo4j.server.AbstractNeoServer.runPreflightTasks(AbstractNeoServer.java:319)
  
 ~[neo4j-server-2.0.0.jar:2.0.0]
 at 
 org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:144) 
 ~[neo4j-server-2.0.0.jar:2.0.0]
 ... 2 common frames omitted
 Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 
 'org.neo4j.kernel.impl.transaction.XaDataSourceManager@2b1eb67d' was 
 successfully initialized, but failed to start.
 Please see attached cause exception.
 at 
 org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:504)
  
 ~[neo4j-kernel-2.0.0.jar:2.0.0]
 at 
 org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:115) 
 ~[neo4j-kernel-2.0.0.jar:2.0.0]
 at 
 org.neo4j.kernel.InternalAbstractGraphDatabase.run(InternalAbstractGraphDatabase.java:310)
  
 ~[neo4j-kernel-2.0.0.jar:2.0.0]
 ... 10 common frames omitted
 Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 
 'org.neo4j.kernel.impl.nioneo.xa.NeoStoreXaDataSource@1bf5df6a' was 
 successfully initialized, but failed to start. P
 lease see attached cause exception.
 at 
 org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:504)
  
 ~[neo4j-kernel-2.0.0.jar:2.0.0]
 at 
 org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:115) 
 ~[neo4j-kernel-2.0.0.jar:2.0.0]
 at 
 org.neo4j.kernel.impl.transaction.XaDataSourceManager.start(XaDataSourceManager.java:164)
  
 ~[neo4j-kernel-2.0.0.jar:2.0.0]
 at 
 

Re: [Neo4j] Neo4j 2.0 to 2.1 Upgrade Fails When Neo4j Running as a Windows Service

2014-06-01 Thread Jim Salmons
Thanks for the pointer to that technique, Chris. None of my databases ATM 
are so critical that it is a show-stopper for me, but I figure it is good 
to surface the issue in the event that others with critical needs get 
bitten.

Now that I've looked at the situation a bit, too, it appears that a 
possible 'fix' would be to silently call the shell and do the exit before 
asking 'sc' to stop the Windows Service. I'm going to look at incorporating 
that approach into my Neo4jCP (mini Control Panel, 
https://github.com/Jim-Salmons/neo4jcp) and if that looks promising, we 
might want to see if a similar approach in the Neo4jInstaller.bat file 
would avoid this situation.

ITMT, you might want to consider a Heads-up note somewhere in the Update 
2.0-.2.1 notes that points this situation out and provides the recommended 
work-around.

Thanks again,
--Jim--

On Sunday, June 1, 2014 12:45:18 PM UTC-5, Chris Vest wrote:

 You can, after you’ve shut down the Neo4j Windows service, use neo4j-shell 
 with the `-path dir` option to start a non-service Neo4j instance and 
 then do a clean shutdown with the `exit` command. You should then be able 
 to upgrade.

 I don’t know why there is this problem with shutting down the Windows 
 service.

 --
 Chris Vest
 System Engineer, Neo Technology
 [ skype: mr.chrisvest, twitter: chvest ]

  
 On 31 May 2014, at 23:09, Jim Salmons jim.s...@softalkapple.com 
 javascript: wrote:

 This issue has surfaced a number of times in various flavors, particularly 
 when an explicit upgrade (non-automatic requiring 
 allow_store_upgrade=true) is involved and the culprit seems to be this:

- If you run Neo4j as a Windows Service (having installed via 
Neo4jInstaller.bat and using recommended start/stop 'sc' commands, etc.) 
there is no way to do a clean shutdown of a database.

 (As long as no upgrade is involved, apparently Neo4j running as a Windows 
 Service can start, stop, and restart databases with no problem (although 
 the message logs reveal that a non-clean shutdown has been silently been 
 detected and addressed on restart).

 In the past, it has been suggested that this issue was from jumping the 
 gun of not letting the Neo4j-Server instance shut down completely before 
 restarting the Neo4j-Server Windows Service. But that is not the case.

 To test the basic situation I did this with the same results on both 2.0 
 and 2.1:

1. Create an empty graph.db directory in my Neo4j data directory, then 
start the Neo4j-Server Windows Service instance.
2. Observe the fresh database being made. Make a copy of the 
messages.log (called messages_onCreation.log
3. Stop the Neo4j-Server Windows Service... wait, wait... wait (longer 
than necessary)
4. Compare the two messages logs... the same, no stopping messages.
5. Delete the message.log and start the Neo4j-Server Windows Service.
6. Observe the database directory during restart. Make a copy of the 
new messages.log (called messages_on2ndStart.log

 With no activity other than to create it, stop it, and then start it back 
 up the messages.log shows multiple messages about detecting a non-clean 
 shutdown. (The number of non-clean detection issues in the log depend on 
 the Neo4j version being run.)

 In the past, the recommendation was to use the deprecated Gremlin shell to 
 do g.shutdown() then exit. But this doesn't seem to be (readily) available.

 QUESTION 1: Does anyone know of a way to cleanly shut down a Neo4j 
 database running under a Windows Service configuration?

 QUESTION 2: Has anyone running Neo4j-Server as a Windows Service 
 successfully upgraded a 2.0 DB to 2.1? If so, how?

 I'm hoping to get a quick helpful reply or additional insights here before 
 posting a question to S/O. Once I fully understand this issue, if it still 
 appears that the fundamental problem is the Windows Service not cleanly 
 shutting down, I'll enter an issue to this effect on the Neo4j GitHub Issue 
 queue.

 Thanks,
 --Jim--


 -- 
 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+un...@googlegroups.com javascript:.
 For more options, visit https://groups.google.com/d/optout.




-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] Neo4j 2.0 to 2.1 Upgrade Fails When Neo4j Running as a Windows Service

2014-05-31 Thread Jim Salmons
This issue has surfaced a number of times in various flavors, particularly 
when an explicit upgrade (non-automatic requiring 
allow_store_upgrade=true) is involved and the culprit seems to be this:

   - If you run Neo4j as a Windows Service (having installed via 
   Neo4jInstaller.bat and using recommended start/stop 'sc' commands, etc.) 
   there is no way to do a clean shutdown of a database.

(As long as no upgrade is involved, apparently Neo4j running as a Windows 
Service can start, stop, and restart databases with no problem (although 
the message logs reveal that a non-clean shutdown has been silently been 
detected and addressed on restart).

In the past, it has been suggested that this issue was from jumping the 
gun of not letting the Neo4j-Server instance shut down completely before 
restarting the Neo4j-Server Windows Service. But that is not the case.

To test the basic situation I did this with the same results on both 2.0 
and 2.1:

   1. Create an empty graph.db directory in my Neo4j data directory, then 
   start the Neo4j-Server Windows Service instance.
   2. Observe the fresh database being made. Make a copy of the 
   messages.log (called messages_onCreation.log
   3. Stop the Neo4j-Server Windows Service... wait, wait... wait (longer 
   than necessary)
   4. Compare the two messages logs... the same, no stopping messages.
   5. Delete the message.log and start the Neo4j-Server Windows Service.
   6. Observe the database directory during restart. Make a copy of the new 
   messages.log (called messages_on2ndStart.log

With no activity other than to create it, stop it, and then start it back 
up the messages.log shows multiple messages about detecting a non-clean 
shutdown. (The number of non-clean detection issues in the log depend on 
the Neo4j version being run.)

In the past, the recommendation was to use the deprecated Gremlin shell to 
do g.shutdown() then exit. But this doesn't seem to be (readily) available.

QUESTION 1: Does anyone know of a way to cleanly shut down a Neo4j database 
running under a Windows Service configuration?

QUESTION 2: Has anyone running Neo4j-Server as a Windows Service 
successfully upgraded a 2.0 DB to 2.1? If so, how?

I'm hoping to get a quick helpful reply or additional insights here before 
posting a question to S/O. Once I fully understand this issue, if it still 
appears that the fundamental problem is the Windows Service not cleanly 
shutting down, I'll enter an issue to this effect on the Neo4j GitHub Issue 
queue.

Thanks,
--Jim--

-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] Re: Another Native-Java-DSL for the Cypher Language

2014-05-27 Thread Jim Salmons
Hi Wolfgang,

So many folks are so busy at the moment and with the U.S. Memorial Day 
holiday, our thoughts have been elsewhere, but all that said, this effort 
of yours is AWESOME and welcome -- not only is it a great example of learn 
by scratching your itch, but you are doing something that has such 
potential value to others.

And as to having yet another Java Native Cypher DSL, the more the merrier 
because the best ideas from each will affect the others and everyone 
benefits. Ultimately, there may be a winner in terms of most-used, but 
that only means so much in a one size does not fit all world.

I also appreciate that you are taking the extra effort to document and 
communicate your design intent, etc.

Finally, if I have a wish list -- and I have not yet had a chance to 
explore your work so I am speaking purely from personal preference -- while 
an Eclipse plug-in is great, it sure would be also great to include an 
IntelliJ Community Edition plug-in (http://plugins.jetbrains.com/?idea_ce).

Happy-Healthy Vibes,
--Jim--

On Monday, May 26, 2014 5:50:52 AM UTC-5, Wolfgang Schuetzelhofer wrote:

 Hello everyone,

 Release 0.2.0 of the Java DSL for Cypher (JCypher) is available. 
 Implementation of expressions and their mapping to Cypher is completed.
 Please have a look at: 
 https://github.com/Wolfgang-Schuetzelhofer/jcypher/wikihttps://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FWolfgang-Schuetzelhofer%2Fjcypher%2Fwikisa=Dsntz=1usg=AFQjCNE3XqYAWHGMAxrZ6E4AT7hSZEay5Q
 .
 From there you are linked to the code.

 The upcoming Release 0.3.0 will have added a mapper to JSON including 
 automatic 
 extraction of parameters (literals are automatically detected and wherever 
 possible replaced with parameters in order to speed up queries in repeated 
 scenarios).

 Best regards,
 Wolfgang Schuetzelhofer

 Am Freitag, 16. Mai 2014 15:55:28 UTC+2 schrieb Wolfgang Schuetzelhofer:

 Hello everyone,

 I am new to this group and I have been working with Neo4j for a few 
 months now.
 In this time, out of interest, I have started writing a 'Native Java DSL' 
 (Domain Specific Language) for the Cypher language. You may ask: 'Why yet 
 another one?'.
 Well, the main focus of this work is to provide a 'really' fluent Java 
 API to intuitively write and read Java-Cypher expressions.
 Almost all API methods either take zero or only one parameter. This makes 
 concatenating methods, thus formulating language expressions really fluent 
 and well supported by completion proposals, which are provided out 

 of the box by all major Java IDEs. Besides, we have not stopped 
 developing IDEs or other tools after the first of their kind was available.

 I have made my code available on GitHub, together with some 
 documentation. You can find the documentation wiki here: 
 https://github.com/Wolfgang-Schuetzelhofer/jcypher/wikihttps://www.google.com/url?q=https%3A%2F%2Fgithub.com%2FWolfgang-Schuetzelhofer%2Fjcypher%2Fwikisa=Dsntz=1usg=AFQjCNE3XqYAWHGMAxrZ6E4AT7hSZEay5Q
 .
 From the wiki, in the chapter 'Getting Started' you are linked to the Git 
 repository and to the releases page.
 Please have a look.

 Additionaly I have started to develop a plugin for the Eclipse IDE.  It 
 provides some additional support for creating and editing Java-Cypher 
 expressions, currently by extending completion proposals.
 This one is also available on GitHub, again the documentation wiki is a 
 good starting point (linking to the repository and the releases): 
 https://github.com/Wolfgang-Schuetzelhofer/jcypher_eclipse/wiki.

 I really would appreciate if (hopefully many of) you could have a look at 
 the projects, play around and experiment with the code, and give me some 
 feedback.

 Currently the code supports the fluent Java-Cypher API and a mapping to 
 Cypher expressions. Development of a JSON mapping, access to Neo4j 
 databases via REST, and of a query result model is on the way.
 I know that right now the usefulness of the code is quite limited, 
 because important features like access to databases and an appropriate 
 result model and API are still missing.
 Nevertheless I think it is important to provide access and to gather 
 feedback as early as possible.

 Looking forward to hearing from you,
 best regards,
 Wolfgang Schuetzelhofer



-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] Re: How can i properly stop the Neo4j Windows Service cleanly? non clean shutdown detected

2014-05-17 Thread Jim Salmons
Hi Diego,

While I am not offering much insight into your specific incident 
recovery/correction-wise, I would point you to a very simple Windows-only 
Neo4j Control Panel I created that works in the use case space of what 
you are doing (basic Neo4j server service interaction). It's supplied as a 
compiled Autohotkey script and source is provided. I scratched this itch 
as a way to quickly switch among Neo4j databases during active learner 
phase. This is not intended to be a full-featured database admin tool, just 
a personal-use convenience utility. You'll find it 
here: https://github.com/Jim-Salmons/neo4jcp

Note: This currently works only on the non-installer Windows configuration 
as all Neo4j server communication is done via communication with the server 
running as a Windows service. The self-contained installer does not create 
a Windows service, so I don't currently know if or how I can control it the 
same way as done with the current implementation. 

Hope this helps, 
--Jim--

On Wednesday, May 14, 2014 2:03:14 PM UTC-5, Diego Arbelaez wrote:

 How can i properly stop the Neo4j Windows Service cleanly? I have Neo4j(v2 
 - Community) running as a windows service. What i'm trying to do is take a 
 back up of the data files.

 Currently i have written a batch file which will... 


- shut down the service
- backup the data files 
- restart the service

 The problem is that after restarting the service and i check the log files 
 the following message is logged(see below) - Although the db recovers i'm 
 concerned at some point it may get corrupted due to the non clean shutdown

 2014-05-14 18:35:41.993+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 C:\NEO4J-~1.7\data\graph.db\neostore.relationshiptypestore.db.names non 
 clean shutdown detected
 2014-05-14 18:35:41.997+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 [C:\NEO4J-~1.7\data\graph.db\neostore.relationshiptypestore.db.names] 
 brickCount=0 brickSize=0b mappedMem=0b (storeSize=38b)
 2014-05-14 18:35:41.999+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 C:\NEO4J-~1.7\data\graph.db\neostore.relationshiptypestore.db non clean 
 shutdown detected
 2014-05-14 18:35:42.000+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 [C:\NEO4J-~1.7\data\graph.db\neostore.relationshiptypestore.db] 
 brickCount=0 brickSize=0b mappedMem=0b (storeSize=0b)
 2014-05-14 18:35:42.000+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db.strings non clean 
 shutdown detected
 2014-05-14 18:35:42.000+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 [C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db.strings] 
 brickCount=0 brickSize=79616b mappedMem=79691776b (storeSize=128b)
 2014-05-14 18:35:42.001+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db.index.keys non clean 
 shutdown detected
 2014-05-14 18:35:42.001+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 [C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db.index.keys] 
 brickCount=0 brickSize=0b mappedMem=0b (storeSize=38b)
 2014-05-14 18:35:42.002+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db.index non clean 
 shutdown detected
 2014-05-14 18:35:42.002+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 [C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db.index] brickCount=0 
 brickSize=0b mappedMem=0b (storeSize=0b)
 2014-05-14 18:35:42.003+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db.arrays non clean 
 shutdown detected
 2014-05-14 18:35:42.003+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 [C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db.arrays] brickCount=0 
 brickSize=90112b mappedMem=90177536b (storeSize=128b)
 2014-05-14 18:35:42.008+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db non clean shutdown 
 detected
 2014-05-14 18:35:42.008+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 [C:\NEO4J-~1.7\data\graph.db\neostore.propertystore.db] brickCount=0 
 brickSize=943697b mappedMem=94371840b (storeSize=0b)
 2014-05-14 18:35:42.010+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 C:\NEO4J-~1.7\data\graph.db\neostore.relationshipstore.db non clean 
 shutdown detected
 2014-05-14 18:35:42.010+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 [C:\NEO4J-~1.7\data\graph.db\neostore.relationshipstore.db] brickCount=0 
 brickSize=1153416b mappedMem=115343360b (storeSize=0b)
 2014-05-14 18:35:42.011+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 C:\NEO4J-~1.7\data\graph.db\neostore.nodestore.db non clean shutdown 
 detected
 2014-05-14 18:35:42.011+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 [C:\NEO4J-~1.7\data\graph.db\neostore.nodestore.db] brickCount=0 
 brickSize=26208b mappedMem=26214400b (storeSize=9b)
 2014-05-14 18:35:42.012+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 C:\NEO4J-~1.7\data\graph.db\neostore non clean shutdown detected
 2014-05-14 18:35:42.013+ INFO  [o.n.k.i.n.s.StoreFactory]: 
 [C:\NEO4J-~1.7\data\graph.db\neostore

Re: [Neo4j] Neo4j as a service?

2014-03-13 Thread Jim Salmons
Kevin, 

You can't start, stop, etc. a Windows service until you install the service 
which is what the install batch file does at lines 72-73. Just read the 
file if you are concerned about what it does. Once the service is 
installed, you can start, stop, restart it at will via the neo4j.bat which 
just hands off to the base.bat and functions.bat for additional 
functionality. For that matter, you can 'talk' directly to the Windows 
Neo4j-Server service directly in an admin command prompt with the 'sc' 
command but the Neo4j.bat is a bit more convenient (as is my Neo4jCP 
utility that I mentioned in a prior post).

Good luck,
--Jim--

On Thursday, March 13, 2014 8:47:58 AM UTC-5, Kevin Burton wrote:

 When I uninstall the version that was installed by the msi and extract the 
 contents of the zip archive and like the instructions I execute 'bin\neo4j 
 start', I get:

 C:\Neo4j\neo4j-community-2.0.1bin\neo4j start
 This command is not supported by the Neo4j utility. Please try 
 Neo4j.bat help
 for more info.
 For installing Neo4j as a Windows Service, see Neo4jInstaller.bat

 When I issue bin\neo4j help I get:

 Proper arguments for this command are: help console

 Now what? How do I start Neo4j with this version? Until I feel that I have 
 some control over the process I don't dare issue Neo4jInstaller.bat. Or, in 
 this case this is my only option?

 Thank you.

 Kevin

 On Wednesday, March 12, 2014 8:19:41 PM UTC-5, Michael Hunger wrote:

 Kevin, it is on neo4j.org/download

 more specifically: http://www.neo4j.org/download/other_versions - 
 http://info.neotechnology.com/download_thanks.html?edition=communityrelease=2.0.1platform=windows

 Cheers,

 Michael

 
 (michael http://twitter.com/mesirii)-[:SUPPORTS]-(*YOU*)-[:USE]-(
 Neo4j http://neo4j.org)
 Learn Online http://neo4j.org/learn/online_course, 
 Offlinehttp://www.neo4j.org/events or 
 Read a Book http://graphdatabases.com (in Deutschhttp://bit.ly/das-buch
 )
 We're trading T-shirts for cool Graph Models http://bit.ly/graphgist






  
 Am 13.03.2014 um 02:11 schrieb Kevin Burton rkevin...@charter.net:

 What is the location of the zip download that would contain this batch 
 file?

 Thank you.

 On Wednesday, March 12, 2014 7:44:06 AM UTC-5, Michael Hunger wrote:

 The installer version is more for a single developer that easily wants 
 to manually control the server.

 There is also a zip download which contains a Neo4jInstaller.bat that 
 can be used to install Neo4j as a system service.

 Cheers,

 Michael

 
 (michael http://twitter.com/mesirii)-[:SUPPORTS]-(*YOU*)-[:USE]-(
 Neo4j http://neo4j.org/)
 Learn Online http://neo4j.org/learn/online_course, 
 Offlinehttp://www.neo4j.org/events or 
 Read a Book http://graphdatabases.com/ (in Deutschhttp://bit.ly/das-buch
 )
 We're trading T-shirts for cool Graph Models http://bit.ly/graphgist







 Am 12.03.2014 um 13:40 schrieb Kevin Burton rkevin...@charter.net:

 I just started using Neo4j and I am on a Windows platform (x64 Windows 
 2008 Server). From all that I can tell I need to start Neo4j Community app 
 and fill in the database location every time I want to use the database. Is 
 there a way to start Neo4j as a service with some default configuration 
 settings (configuration entries that I could edit) so that Neo4j is 
 available every time the machine boots?

 -- 
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.



 -- 
 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+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.




-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[Neo4j] Re: Neo4j as a service?

2014-03-12 Thread Jim Salmons
In addition to what Michael pointed out, you might be interested in my 
Neo4jCP control panel. It's a tiny (compiled Autohotkey) utility to manage 
the Neo4j server like you are looking to do. Mind you, this is a 
non-enterprise basic utility and it sounds like you may have more 
significant needs, but even so, this may be useful:

   http://sohodojo.biz/node/27

This post will tell you about my Neo4jCP control panel. The screencast will 
show you what it has to offer feature-wise. I did this little utility 
during the 1.x generation distributions and before the new Browser. But it 
still works well if you do the zip-based install -- where you use the 
Windows service approach to run your local server -- rather than the 
one-click-ish embedded easy Windows install that you mentioned. 

You'll find full source (what there is of it, Autohotkey ROCKS!) on the 
associated GitHub repo athttp://jim-salmons.github.io/neo4jcp/.

--Jim--
www.SoftalkApple.com http://www.softalkapple.com/


On Wednesday, March 12, 2014 7:40:03 AM UTC-5, Kevin Burton wrote:

 I just started using Neo4j and I am on a Windows platform (x64 Windows 
 2008 Server). From all that I can tell I need to start Neo4j Community app 
 and fill in the database location every time I want to use the database. Is 
 there a way to start Neo4j as a service with some default configuration 
 settings (configuration entries that I could edit) so that Neo4j is 
 available every time the machine boots?


-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Neo4j] Re: Convenient interface to manually build social network data

2014-02-21 Thread Jim Salmons
No problem, we're here to help.

One last point, you will find that you can get a working knowledge of 
Cypher in short order, like hours not days. With just a basic starting 
point you will evolve from these basic skills and incrementally add new 
insights and tactics as you need them. Before you know it that basic skill 
grows to familiarity without painful and time consuming effort up front. 

Good luck with your studies.

--Jim--

In many decades of learning and using all kinds of programming languages 
and query languages, I can confidently say that the Neo folks have managed 
to craft the most powerfully intuitive means to work with the unique power 
of graph database technology.

On Thursday, February 20, 2014 4:21:40 PM UTC-6, Jean-Baptiste Gllpn wrote:

 Hi all,

 thanks for your comments and encouragements.

 Jim -- you seem to be reading a lot into who I am and what I do. I merely 
 deleted the post because it indadvertedly included my full name and I was 
 not able to edit it. My approach to sociology is mostly qualitative and my 
 current focus on Arabic language study, interview research design and 
 country-specific knowledge means that I cannot dedicate time to learning 
 Cypher in-depth at the moment. It will come in due time, once I have 
 gathered sufficient data to do some serious analysis. In the meantime, Jean 
 has been very helpful and I am going to use Linkurious to get started on 
 building my database.

 Thank you all again! I might nag you with more questions once I'm a bit 
 more advanced with my project.

 Best,

 Jean-Baptiste 



 On Thu, Feb 20, 2014 at 4:39 PM, Jim Salmons 
 jim.s...@softalkapple.comjavascript:
  wrote:

 Hi Erik and Jean,

 +1 to you both. Sadly, judging by the deletion of the post that prompted 
 my reply, I think our community is more willing to help Jean-Baptiste than 
 he is willing to learn. There's that old saying about horses and water that 
 seems to ring true here.

 And congrats Erik on your can-do spirit. Good luck with your studies.

 --Jim--


 On Thursday, February 20, 2014 2:18:16 PM UTC-6, Erik Hanson wrote:

 Jean-Baptiste, I recently did an MA project using neo4j (graphing 
 characters and elements of a video game), and I don't have much of a 
 background in programming (I got my BA in rhetoric and poetry). I started 
 my MA project using Neoclipse, but I found that even with a fairly small 
 graph, things got really slow very quickly. It turned out to be much 
 quicker to learn just enough Cypher to enter new nodes and relationships. I 
 encourage you to try it out—just experimenting with things in a 
 GraphGist http://gist.neo4j.org/ may be enough for you to learn the 
 elements of Cypher that you need. I can't claim that my own Cypher stuff 
 was perfect or terribly pretty, but it was straightforward and did just 
 about what you are talking about. 

 If you're willing to give it a shot, I'm willing to try to help walk you 
 through things. 


 On Wednesday, February 19, 2014 7:40:32 AM UTC-6, Jean Villedieu wrote:

 Hi everyone,

 @Jim : +1, a deep understanding of the underlying tech behind data is 
 key.
 @Jean-Baptiste : you should reach out, I'm sure we can help.

 Thank you Michael for mentioning Linkurious ;)

 Jean

 On Sunday, February 16, 2014 10:40:25 PM UTC+1, Jim Salmons wrote:

 Jean-Baptiste,

 I absolutely do not intend to sound negative, but as a PhD student in 
 Sociology you will be in trouble in your career if you cannot distinguish 
 between a graph database query language and development and coding in 
 your mind. 

 Michael gave you good advice about Linkurious, but that is not some 
 Magic Bullet. You won't just crank up an app/tool (whatever you want to 
 call it) and just do what you want in all cases. Sure, the obvious things 
 will be covered. But do you think that your investigation will be limited 
 only to what everybody else does? Probably not if you want to be known as 
 a 
 smart person who can bring new and non-obvious insights into your work.

 A big part of your career will be looking at and manipulating data. As 
 a professional you will often have to provide the glue that gets your 
 data into, out of, and between whatever tools you have available. Whether 
 it is Cypher or some other means, you need to break your mental block 
 that 
 says, I don't do coding. Years from now you will be thanking yourself 
 for 
 doing it sooner than later.

 Look, I'm 63 years-old and don't have to make the decisions you are 
 facing now. But I am also smart enough (make that, have decades of 
 experience to reflect on) to know that if I had it all to do over again 
 and 
 I were in your shoes, I'd be digging into neo4j with a passion and there 
 would be nothing that could keep me from learning and growing my 
 knowledge 
 of Cypher (along with other things of that ilk).

 There is a famous scene in the film, The Graduate, where a 
 graduation party-goer leans over to Dustin Hoffman to give him career 
 advice

[Neo4j] Re: Convenient interface to manually build social network data

2014-02-20 Thread Jim Salmons
Hi Erik and Jean,

+1 to you both. Sadly, judging by the deletion of the post that prompted my 
reply, I think our community is more willing to help Jean-Baptiste than he 
is willing to learn. There's that old saying about horses and water that 
seems to ring true here.

And congrats Erik on your can-do spirit. Good luck with your studies.

--Jim--

On Thursday, February 20, 2014 2:18:16 PM UTC-6, Erik Hanson wrote:

 Jean-Baptiste, I recently did an MA project using neo4j (graphing 
 characters and elements of a video game), and I don't have much of a 
 background in programming (I got my BA in rhetoric and poetry). I started 
 my MA project using Neoclipse, but I found that even with a fairly small 
 graph, things got really slow very quickly. It turned out to be much 
 quicker to learn just enough Cypher to enter new nodes and relationships. I 
 encourage you to try it out—just experimenting with things in a 
 GraphGisthttp://gist.neo4j.org/ may 
 be enough for you to learn the elements of Cypher that you need. I can't 
 claim that my own Cypher stuff was perfect or terribly pretty, but it was 
 straightforward and did just about what you are talking about. 

 If you're willing to give it a shot, I'm willing to try to help walk you 
 through things. 


 On Wednesday, February 19, 2014 7:40:32 AM UTC-6, Jean Villedieu wrote:

 Hi everyone,

 @Jim : +1, a deep understanding of the underlying tech behind data is key.
 @Jean-Baptiste : you should reach out, I'm sure we can help.

 Thank you Michael for mentioning Linkurious ;)

 Jean

 On Sunday, February 16, 2014 10:40:25 PM UTC+1, Jim Salmons wrote:

 Jean-Baptiste,

 I absolutely do not intend to sound negative, but as a PhD student in 
 Sociology you will be in trouble in your career if you cannot distinguish 
 between a graph database query language and development and coding in 
 your mind. 

 Michael gave you good advice about Linkurious, but that is not some 
 Magic Bullet. You won't just crank up an app/tool (whatever you want to 
 call it) and just do what you want in all cases. Sure, the obvious things 
 will be covered. But do you think that your investigation will be limited 
 only to what everybody else does? Probably not if you want to be known as a 
 smart person who can bring new and non-obvious insights into your work.

 A big part of your career will be looking at and manipulating data. As a 
 professional you will often have to provide the glue that gets your data 
 into, out of, and between whatever tools you have available. Whether it is 
 Cypher or some other means, you need to break your mental block that 
 says, I don't do coding. Years from now you will be thanking yourself for 
 doing it sooner than later.

 Look, I'm 63 years-old and don't have to make the decisions you are 
 facing now. But I am also smart enough (make that, have decades of 
 experience to reflect on) to know that if I had it all to do over again and 
 I were in your shoes, I'd be digging into neo4j with a passion and there 
 would be nothing that could keep me from learning and growing my knowledge 
 of Cypher (along with other things of that ilk).

 There is a famous scene in the film, The Graduate, where a graduation 
 party-goer leans over to Dustin Hoffman to give him career advice and 
 whispers, Plastics! That's what I'm trying to do for you, Jean-Baptiste, 
 Cypher! You do that, join this group, ask honest well-prepared questions 
 that will get helpful timely answers, and you will be well on your way to 
 carving a good niche (there's that social network stuff creeping in as 
 #graphsareeverywhere) for you in your career.

 Good luck with your studies. 

 Just something to think about,
 --Jim--

 On Friday, February 14, 2014 4:31:37 PM UTC-6, Jean-Baptiste Gllpn wrote:

 Hello,

 I'm a Sociology PhD student. I recently found out about Neo4j and I'm 
 excited about its possibilities.

 I'd like to use Neo4j to manually build a database of a political elite 
 in a country. I'd build that database as I read about the country, writing 
 down new names as they come up and linking individuals as I read about 
 their particular patterns of interaction.

 To do that, I would need an interface that allows me to visualize and 
 input data rapidly in the network, as well as search between various 
 attributes of nodes. The basic admin dashboard in Neo4j doesn't allow me 
 to 
 do this quickly, as I can only search for node and relationship numbers, 
 but not their attributes.

 Let's say I create a node with the attribute Name as Mr Jones, and 
 he gets the node number 121. Later on I find details about where he worked 
 or studied. I want to add these new attributes to the node, but it's hard 
 for me to find the node since I can't search for Mr Jones -- I need to 
 either know his node number by heart or to visualize the whole network to 
 find him.

 Is there an interface / program that will allow me to interact easily 
 with Neo4j as admin? I tried Neoeclipse

[Neo4j] Re: Convenient interface to manually build social network data

2014-02-16 Thread Jim Salmons
Jean-Baptiste,

I absolutely do not intend to sound negative, but as a PhD student in 
Sociology you will be in trouble in your career if you cannot distinguish 
between a graph database query language and development and coding in 
your mind. 

Michael gave you good advice about Linkurious, but that is not some Magic 
Bullet. You won't just crank up an app/tool (whatever you want to call it) 
and just do what you want in all cases. Sure, the obvious things will be 
covered. But do you think that your investigation will be limited only to 
what everybody else does? Probably not if you want to be known as a smart 
person who can bring new and non-obvious insights into your work.

A big part of your career will be looking at and manipulating data. As a 
professional you will often have to provide the glue that gets your data 
into, out of, and between whatever tools you have available. Whether it is 
Cypher or some other means, you need to break your mental block that 
says, I don't do coding. Years from now you will be thanking yourself for 
doing it sooner than later.

Look, I'm 63 years-old and don't have to make the decisions you are facing 
now. But I am also smart enough (make that, have decades of experience to 
reflect on) to know that if I had it all to do over again and I were in 
your shoes, I'd be digging into neo4j with a passion and there would be 
nothing that could keep me from learning and growing my knowledge of Cypher 
(along with other things of that ilk).

There is a famous scene in the film, The Graduate, where a graduation 
party-goer leans over to Dustin Hoffman to give him career advice and 
whispers, Plastics! That's what I'm trying to do for you, Jean-Baptiste, 
Cypher! You do that, join this group, ask honest well-prepared questions 
that will get helpful timely answers, and you will be well on your way to 
carving a good niche (there's that social network stuff creeping in as 
#graphsareeverywhere) for you in your career.

Good luck with your studies. 

Just something to think about,
--Jim--

On Friday, February 14, 2014 4:31:37 PM UTC-6, Jean-Baptiste Gllpn wrote:

 Hello,

 I'm a Sociology PhD student. I recently found out about Neo4j and I'm 
 excited about its possibilities.

 I'd like to use Neo4j to manually build a database of a political elite in 
 a country. I'd build that database as I read about the country, writing 
 down new names as they come up and linking individuals as I read about 
 their particular patterns of interaction.

 To do that, I would need an interface that allows me to visualize and 
 input data rapidly in the network, as well as search between various 
 attributes of nodes. The basic admin dashboard in Neo4j doesn't allow me to 
 do this quickly, as I can only search for node and relationship numbers, 
 but not their attributes.

 Let's say I create a node with the attribute Name as Mr Jones, and he 
 gets the node number 121. Later on I find details about where he worked or 
 studied. I want to add these new attributes to the node, but it's hard for 
 me to find the node since I can't search for Mr Jones -- I need to either 
 know his node number by heart or to visualize the whole network to find him.

 Is there an interface / program that will allow me to interact easily with 
 Neo4j as admin? I tried Neoeclipse, but for some reason only the 
 relationships are loading, not the nodes, and I can't figure out how to 
 load the nodes or whether Neoeclipse is the right choice at all (it doesn't 
 seem to be updated anymore?).

 Many thanks in advance for your help!

 Jean-Baptiste.


-- 
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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.