Re: [Neo4j] some questions

2011-11-21 Thread andrew ton


Thanks Peter

Cheers,



 From: Peter Neubauer peter.neuba...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org 
Sent: Monday, November 21, 2011 4:41 AM
Subject: Re: [Neo4j] some questions
 
Andrew,
I think you could set up the Webadmin over your embedded project like
http://docs.neo4j.org/chunked/snapshot/server-embedded.html maybe as
part of a unit test, and then start modifying the layout using the
coffeescript and template infrastructure under
https://github.com/neo4j/community/tree/master/server/src/main/resources/webadmin-html
and https://github.com/neo4j/community/tree/master/server/src/main/coffeescript

Look at https://github.com/neo4j/community/tree/master/server README
for how to run the coffeescript compilation. I guess Jake might have
more pointers.

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              - NOSQL for the Enterprise.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.



On Fri, Oct 28, 2011 at 5:30 PM, andrew ton andrewt...@yahoo.com wrote:


 Hi Peter,

 I think I go to the direction of implementing a REST endpoint in Java. How 
 about my first question about customizing the Admin page?

 Thanks,
 Andrew


 
 From: Peter Neubauer peter.neuba...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Friday, October 28, 2011 8:05 AM
 Subject: Re: [Neo4j] some questions

 Andrew,
 that sounds like a traversal you need to do to find exactly the nodes
 you need and remove them.

 As Marko mentioned - either script it in Gremlin/Groovy, or implement
 a REST endpoint in Java, giving you full static powaah:
 http://docs.neo4j.org/chunked/snapshot/server-plugins.html

 Does that work?

 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              - NOSQL for the Enterprise.
 http://startupbootcamp.org/    - Öresund - Innovation happens HERE.



 On Fri, Oct 28, 2011 at 3:02 PM, andrew ton andrewt...@yahoo.com wrote:


 Yes, that's what I have been doing :)

 However what if I have 2 graphs under a root node and I just want to remove 
 1 graph and leave the other alone.

 Any suggestions?

 Thanks,


 
 From: Linan Wang tali.w...@gmail.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Friday, October 28, 2011 7:59 AM
 Subject: Re: [Neo4j] some questions

 to clear the full db, stop the server and delete the files in data folder :)

 On Fri, Oct 28, 2011 at 3:57 PM, Marko Rodriguez okramma...@gmail.com 
 wrote:
 Hi,

 2. Assume I have a big graph in the REST server, what is the best way to 
 remove the whole graph? Of course deleting each node and its relationships 
 and its index is not convenient.


 Via Gremlin Plugin, you can call g.clear().

 HTH,
 Marko.

 http://markorodriguez.com
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 Best wishes,

 Linan Wang
 Architect, Programmer, PhD
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4j REST server's log files

2011-11-11 Thread andrew ton


Hi David,

I'm happy to. Do we use skype?

Thanks,
A.



From: David Montag david.mon...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Thursday, November 10, 2011 9:34 PM
Subject: Re: [Neo4j] Neo4j REST server's log files

Hi Andrew,

Would you like to do a screen sharing session with me Friday PST? That way,
I could assess your problem better.

Thanks,
David

On Thu, Nov 10, 2011 at 4:23 PM, andrew ton andrewt...@yahoo.com wrote:



 What I meant the server stops responding to my application's request was
 my application received a NoHttpResponseException. This is the output in
 the Eclipse console:

  -Uploading  /doc/test/ont/Ontology1320789957941.owl to Neo4J...
 Nov 10, 2011 3:46:52 PM org.restlet.ext.httpclient.HttpClientHelper start
 INFO: Starting the Apache HTTP client
 Root node of ontology Ontology1320789957941.owl:
 http://localhost:7474/db/data/index/node/my_index/name/Ontology1320789957941
 Find node:
 http://localhost:7474/db/data/index/node/my_index/name/super_node
 Processing triple -
 http://localhost:7474/db/data/node/1,CONTAINS,http://localhost:7474/db/data/node/147
 Find node:
 http://localhost:7474/db/data/index/node/my_index/name/lowEnergy
 Nov 10, 2011 3:47:22 PM org.restlet.ext.httpclient.internal.HttpMethodCall
 sendRequest
 WARNING: An error occurred during the communication with the remote HTTP
 server.
 org.apache.http.NoHttpResponseException: The target server failed to
 respond
 at
 org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:101)


 If I upload only a few ontologies (no problems) and the log/neo4j.x.x.log
 showed the server processed the lowEnergy node :

 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: REQUEST /db/data/node/1/relationships/out/CONTAINS on
 org.mortbay.jetty.HttpConnection@237dc815
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: session=null
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: servlet=org.neo4j.server.web.NeoServletContainer-1130213695
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE:
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1130213695
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: servlet holder=org.neo4j.server.web.NeoServletContainer-1130213695
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: call filter org.neo4j.server.statistic.StatisticFilter
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: call servlet org.neo4j.server.web.NeoServletContainer-1130213695
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: RESPONSE /db/data/node/1/relationships/out/CONTAINS  200]

 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: REQUEST /db/data/node/1/relationships on
 org.mortbay.jetty.HttpConnection@237dc815
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: session=null
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: servlet=org.neo4j.server.web.NeoServletContainer-1130213695
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE:
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1130213695
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: servlet holder=org.neo4j.server.web.NeoServletContainer-1130213695
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: call filter org.neo4j.server.statistic.StatisticFilter
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: call servlet org.neo4j.server.web.NeoServletContainer-1130213695
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: RESPONSE /db/data/node/1/relationships  201

 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: REQUEST /db/manage/server/monitor/fetch/1320942809 on
 org.mortbay.jetty.HttpConnection@66e90097
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: Got Session ID 9fdtr96dq71c1iqw1b8416rpc from cookie
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: session=null
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: servlet=org.neo4j.server.web.NeoServletContainer-1301864188
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE:
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1301864188
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: servlet holder=org.neo4j.server.web.NeoServletContainer-1301864188
 Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
 FINE: call filter

Re: [Neo4j] Neo4j REST server's log files

2011-11-11 Thread andrew ton


Hi David,

Anytime in the afternoon is fine to me. How about 2:30pm? 

Andrew



From: David Montag david.mon...@neotechnology.com
To: UserList user@lists.neo4j.org
Sent: Friday, November 11, 2011 8:59 AM
Subject: Re: [Neo4j] Neo4j REST server's log files

Yup, Skype is good. Does some time in the afternoon PST work for you?

David

On Fri, Nov 11, 2011 at 3:11 AM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 I'm happy to. Do we use skype?

 Thanks,
 A.


 
 From: David Montag david.mon...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Thursday, November 10, 2011 9:34 PM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Hi Andrew,

 Would you like to do a screen sharing session with me Friday PST? That way,
 I could assess your problem better.

 Thanks,
 David

 On Thu, Nov 10, 2011 at 4:23 PM, andrew ton andrewt...@yahoo.com wrote:

 
 
  What I meant the server stops responding to my application's request was
  my application received a NoHttpResponseException. This is the output in
  the Eclipse console:
 
   -Uploading  /doc/test/ont/Ontology1320789957941.owl to Neo4J...
  Nov 10, 2011 3:46:52 PM org.restlet.ext.httpclient.HttpClientHelper start
  INFO: Starting the Apache HTTP client
  Root node of ontology Ontology1320789957941.owl:
 
 http://localhost:7474/db/data/index/node/my_index/name/Ontology1320789957941
  Find node:
  http://localhost:7474/db/data/index/node/my_index/name/super_node
  Processing triple -
 
 http://localhost:7474/db/data/node/1,CONTAINS,http://localhost:7474/db/data/node/147
  Find node:
  http://localhost:7474/db/data/index/node/my_index/name/lowEnergy
  Nov 10, 2011 3:47:22 PM
 org.restlet.ext.httpclient.internal.HttpMethodCall
  sendRequest
  WARNING: An error occurred during the communication with the remote HTTP
  server.
  org.apache.http.NoHttpResponseException: The target server failed to
  respond
  at
 
 org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:101)
 
 
  If I upload only a few ontologies (no problems) and the log/neo4j.x.x.log
  showed the server processed the lowEnergy node :
 
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: REQUEST /db/data/node/1/relationships/out/CONTAINS on
  org.mortbay.jetty.HttpConnection@237dc815
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE:
 sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: session=null
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: servlet=org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE:
 
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: servlet holder=org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: call filter org.neo4j.server.statistic.StatisticFilter
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: call servlet org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: RESPONSE /db/data/node/1/relationships/out/CONTAINS  200]
 
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: REQUEST /db/data/node/1/relationships on
  org.mortbay.jetty.HttpConnection@237dc815
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE:
 sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: session=null
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: servlet=org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE:
 
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: servlet holder=org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: call filter org.neo4j.server.statistic.StatisticFilter
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: call servlet org.neo4j.server.web.NeoServletContainer-1130213695
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: RESPONSE /db/data/node/1/relationships  201
 
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: REQUEST /db/manage/server/monitor/fetch/1320942809 on
  org.mortbay.jetty.HttpConnection@66e90097
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE: Got Session ID 9fdtr96dq71c1iqw1b8416rpc from cookie
  Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
  FINE:
 sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
  Nov 10, 2011 3:46:52 PM

Re: [Neo4j] Neo4j REST server's log files

2011-11-11 Thread andrew ton


Great, see you.

Andrew



From: David Montag david.mon...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Friday, November 11, 2011 10:00 AM
Subject: Re: [Neo4j] Neo4j REST server's log files

That works. See ya then. I'm ddmontag on Skype.

David

On Fri, Nov 11, 2011 at 9:55 AM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 Anytime in the afternoon is fine to me. How about 2:30pm?

 Andrew


 
 From: David Montag david.mon...@neotechnology.com
 To: UserList user@lists.neo4j.org
 Sent: Friday, November 11, 2011 8:59 AM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Yup, Skype is good. Does some time in the afternoon PST work for you?

 David

 On Fri, Nov 11, 2011 at 3:11 AM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi David,
 
  I'm happy to. Do we use skype?
 
  Thanks,
  A.
 
 
  
  From: David Montag david.mon...@neotechnology.com
  To: Neo4j user discussions user@lists.neo4j.org
  Sent: Thursday, November 10, 2011 9:34 PM
  Subject: Re: [Neo4j] Neo4j REST server's log files
 
  Hi Andrew,
 
  Would you like to do a screen sharing session with me Friday PST? That
 way,
  I could assess your problem better.
 
  Thanks,
  David
 
  On Thu, Nov 10, 2011 at 4:23 PM, andrew ton andrewt...@yahoo.com
 wrote:
 
  
  
   What I meant the server stops responding to my application's request
 was
   my application received a NoHttpResponseException. This is the output
 in
   the Eclipse console:
  
    -Uploading  /doc/test/ont/Ontology1320789957941.owl to Neo4J...
   Nov 10, 2011 3:46:52 PM org.restlet.ext.httpclient.HttpClientHelper
 start
   INFO: Starting the Apache HTTP client
   Root node of ontology Ontology1320789957941.owl:
  
 
 http://localhost:7474/db/data/index/node/my_index/name/Ontology1320789957941
   Find node:
   http://localhost:7474/db/data/index/node/my_index/name/super_node
   Processing triple -
  
 
 http://localhost:7474/db/data/node/1,CONTAINS,http://localhost:7474/db/data/node/147
   Find node:
   http://localhost:7474/db/data/index/node/my_index/name/lowEnergy
   Nov 10, 2011 3:47:22 PM
  org.restlet.ext.httpclient.internal.HttpMethodCall
   sendRequest
   WARNING: An error occurred during the communication with the remote
 HTTP
   server.
   org.apache.http.NoHttpResponseException: The target server failed to
   respond
   at
  
 
 org.apache.http.impl.conn.DefaultResponseParser.parseHead(DefaultResponseParser.java:101)
  
  
   If I upload only a few ontologies (no problems) and the
 log/neo4j.x.x.log
   showed the server processed the lowEnergy node :
  
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: REQUEST /db/data/node/1/relationships/out/CONTAINS on
   org.mortbay.jetty.HttpConnection@237dc815
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE:
  sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: session=null
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: servlet=org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE:
  
 
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: servlet
 holder=org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: call filter org.neo4j.server.statistic.StatisticFilter
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: call servlet org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: RESPONSE /db/data/node/1/relationships/out/CONTAINS  200]
  
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: REQUEST /db/data/node/1/relationships on
   org.mortbay.jetty.HttpConnection@237dc815
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE:
  sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: session=null
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: servlet=org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE:
  
 
 chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: servlet
 holder=org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: call filter org.neo4j.server.statistic.StatisticFilter
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE: call servlet org.neo4j.server.web.NeoServletContainer-1130213695
   Nov 10, 2011 3:46:52 PM org.mortbay.log.Slf4jLog debug
   FINE

Re: [Neo4j] Neo4j REST server's log files

2011-11-10 Thread andrew ton


Hi David,

Thank you for getting back to me!  
Finally I can make it work by changing the log level from INFO (by default) to 
FINEST in the logging.property.

I have a question for you though. Currently my project have a problem with 
uploading data to the store. I created only 1 index for the whole application 
and the node name as the key. Several nodes in different ontologies have the 
same names.  So when an ontology is uploaded to the store and has a node that 
its name has been already in the index (by previous ontologies) this node is 
not created in the graph of this ontology. My app can upload a number of 
ontologies and graphs are created successfully for each ontology in the store. 
However when the process uploads the 9th ontology the store does not respond 
and it seems busy with some internal process like looking up the node in the 
index or something else. I'm stuck and don't know the cause of the problem. Do 
you have any clue or suggestions?

Appreciate your help!

Regards,



From: David Montag david.mon...@neotechnology.com
To: Peter Neubauer peter.neuba...@neotechnology.com
Cc: Neo4j user discussions user@lists.neo4j.org
Sent: Wednesday, November 9, 2011 10:07 PM
Subject: Re: [Neo4j] Neo4j REST server's log files

Hi Andrew,

Let's connect during the day tomorrow for a higher-bandwidth discussion. Do
you have Skype?

Thanks,
David

On Wed, Nov 9, 2011 at 1:23 PM, Peter Neubauer 
peter.neuba...@neotechnology.com wrote:

 Andrew,
 this sounds like the RRD database in the server got broken. Could you
 delete data/rrd and start up again? Also, David is in your timezone
 and maybe can connect with you directly to look into this?

 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              - NOSQL for the Enterprise.
 http://startupbootcamp.org/    - Öresund - Innovation happens HERE.



 On Wed, Nov 9, 2011 at 10:07 PM, andrew ton andrewt...@yahoo.com wrote:
 
 
  Hi Peter,
 
  I don't understand much your question. However, in my Restlet
 application I have a logging service using Java log to record all processes
 in my app. My problem is that I upload 20 ontologies and after serveral
 ontologies the Neo4J stops responding my REST request. It seems busy with
 some index lookup process. Consequently my app throws
 a NoHttpResponseException: The target server failed to respond.
  I'd like to see what causes the problem inside Neo4J. Unfortunately both
 messages.log and neo4j.x.x.log do not show run time processes.
  BTW, when I start up the server the neo4j.x.x.log shows
 
  INFO: Server started on [http://localhost:7474/]
  Nov 9, 2011 10:22:22 AM org.neo4j.server.logging.Logger log
  WARNING:
  java.lang.IllegalArgumentException: Bad sample time: 1320862942. Last
 update time was 1320862942, at least one second step is required
  at org.rrd4j.core.RrdDb.store(RrdDb.java:553)
  at org.rrd4j.core.Sample.update(Sample.java:197)
  at
 org.neo4j.server.rrd.RrdSamplerImpl.updateSample(RrdSamplerImpl.java:62)
  at org.neo4j.server.rrd.RrdFactory$1.updateSample(RrdFactory.java:109)
  at org.neo4j.server.rrd.RrdJob.run(RrdJob.java:43)
  at org.neo4j.server.rrd.ScheduledJob$1.run(ScheduledJob.java:41)
  at java.util.TimerThread.mainLoop(Timer.java:512)
  at java.util.TimerThread.run(Timer.java:462)
 
  
 
  Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.PackagesResourceConfig
 init
  INFO: Scanning for root resource and provider classes in the packages:
    org.neo4j.server.webadmin.rest
  Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
  INFO: Root resource classes found:
    class org.neo4j.server.webadmin.rest.MonitorService
    class org.neo4j.server.webadmin.rest.RootService
    class org.neo4j.server.webadmin.rest.JmxService
    class org.neo4j.server.webadmin.rest.ConsoleService
  Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig
 init
  INFO: No provider classes found.
  Nov 9, 2011 12:43:44 PM
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
  INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011
 11:17 AM'
  Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.PackagesResourceConfig
 init
  INFO: Scanning for root resource and provider classes in the packages:
    org.neo4j.server.rest.web
  Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
  INFO: Root resource classes found:
    class org.neo4j.server.rest.web.ResourcesService
    class org.neo4j.server.rest.web.BatchOperationService
    class org.neo4j.server.rest.web.RestfulGraphDatabase
    class org.neo4j.server.rest.web.DatabaseMetadataService
    class org.neo4j.server.rest.web.ExtensionService
  Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
  INFO: Provider

Re: [Neo4j] Neo4j REST server's log files

2011-11-10 Thread andrew ton


Hi David,

Please read my answers inline below.



From: David Montag david.mon...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Thursday, November 10, 2011 11:39 AM
Subject: Re: [Neo4j] Neo4j REST server's log files

Hi Andrew,

Good to hear that you got the logging sorted out.

Regarding the actual issues, it sounds like you're describing two different
things. One is that you index ontology nodes in one global index and
therefore run into conflicts. The other is that the upload appears to stall
for some reason.

Regarding the global index, did you intend to design the system that way,
or do you really want a separate index for each ontology? It sounds like
that would be reasonable.
Since the application requirements have changed I think it is better to create 
an index for
each ontology. 

As for the stalled upload, a thread dump during the slow processing would
be most helpful. On a Linux system, you can capture that by doing kill -3
pid on the Java process. It should then go to console.log.
I'll try it. Thanks!

Thanks,
David

On Thu, Nov 10, 2011 at 8:21 AM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 Thank you for getting back to me!
 Finally I can make it work by changing the log level from INFO (by
 default) to FINEST in the logging.property.

 I have a question for you though. Currently my project have a problem with
 uploading data to the store. I created only 1 index for the whole
 application and the node name as the key. Several nodes in different
 ontologies have the same names.  So when an ontology is uploaded to the
 store and has a node that its name has been already in the index (by
 previous ontologies) this node is not created in the graph of this
 ontology. My app can upload a number of ontologies and graphs are created
 successfully for each ontology in the store. However when the process
 uploads the 9th ontology the store does not respond and it seems busy with
 some internal process like looking up the node in the index or something
 else. I'm stuck and don't know the cause of the problem. Do you have any
 clue or suggestions?

 Appreciate your help!

 Regards,


 
 From: David Montag david.mon...@neotechnology.com
 To: Peter Neubauer peter.neuba...@neotechnology.com
 Cc: Neo4j user discussions user@lists.neo4j.org
 Sent: Wednesday, November 9, 2011 10:07 PM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Hi Andrew,

 Let's connect during the day tomorrow for a higher-bandwidth discussion. Do
 you have Skype?

 Thanks,
 David

 On Wed, Nov 9, 2011 at 1:23 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:

  Andrew,
  this sounds like the RRD database in the server got broken. Could you
  delete data/rrd and start up again? Also, David is in your timezone
  and maybe can connect with you directly to look into this?
 
  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              - NOSQL for the Enterprise.
  http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
 
 
 
  On Wed, Nov 9, 2011 at 10:07 PM, andrew ton andrewt...@yahoo.com
 wrote:
  
  
   Hi Peter,
  
   I don't understand much your question. However, in my Restlet
  application I have a logging service using Java log to record all
 processes
  in my app. My problem is that I upload 20 ontologies and after serveral
  ontologies the Neo4J stops responding my REST request. It seems busy with
  some index lookup process. Consequently my app throws
  a NoHttpResponseException: The target server failed to respond.
   I'd like to see what causes the problem inside Neo4J. Unfortunately
 both
  messages.log and neo4j.x.x.log do not show run time processes.
   BTW, when I start up the server the neo4j.x.x.log shows
  
   INFO: Server started on [http://localhost:7474/]
   Nov 9, 2011 10:22:22 AM org.neo4j.server.logging.Logger log
   WARNING:
   java.lang.IllegalArgumentException: Bad sample time: 1320862942. Last
  update time was 1320862942, at least one second step is required
   at org.rrd4j.core.RrdDb.store(RrdDb.java:553)
   at org.rrd4j.core.Sample.update(Sample.java:197)
   at
  org.neo4j.server.rrd.RrdSamplerImpl.updateSample(RrdSamplerImpl.java:62)
   at org.neo4j.server.rrd.RrdFactory$1.updateSample(RrdFactory.java:109)
   at org.neo4j.server.rrd.RrdJob.run(RrdJob.java:43)
   at org.neo4j.server.rrd.ScheduledJob$1.run(ScheduledJob.java:41)
   at java.util.TimerThread.mainLoop(Timer.java:512)
   at java.util.TimerThread.run(Timer.java:462)
  
   
  
   Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.PackagesResourceConfig
  init
   INFO: Scanning for root resource and provider classes in the packages:
     org.neo4j.server.webadmin.rest
   Nov 9, 2011 12:43:44 PM

Re: [Neo4j] Neo4j REST server's log files

2011-11-10 Thread andrew ton


Hi David,

I increased the memory settings in neo4j-wrapper.conf as below
# Initial Java Heap Size (in MB)
wrapper.java.initmemory=30

# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=1024

However the same problem is still happening. I attach the thread dump to this 
mail. I appreciate it if you tell me what's wrong based on the thread dump.

Thank you!



From: David Montag david.mon...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Thursday, November 10, 2011 11:39 AM
Subject: Re: [Neo4j] Neo4j REST server's log files

Hi Andrew,

Good to hear that you got the logging sorted out.

Regarding the actual issues, it sounds like you're describing two different
things. One is that you index ontology nodes in one global index and
therefore run into conflicts. The other is that the upload appears to stall
for some reason.

Regarding the global index, did you intend to design the system that way,
or do you really want a separate index for each ontology? It sounds like
that would be reasonable.

As for the stalled upload, a thread dump during the slow processing would
be most helpful. On a Linux system, you can capture that by doing kill -3
pid on the Java process. It should then go to console.log.

Thanks,
David

On Thu, Nov 10, 2011 at 8:21 AM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 Thank you for getting back to me!
 Finally I can make it work by changing the log level from INFO (by
 default) to FINEST in the logging.property.

 I have a question for you though. Currently my project have a problem with
 uploading data to the store. I created only 1 index for the whole
 application and the node name as the key. Several nodes in different
 ontologies have the same names.  So when an ontology is uploaded to the
 store and has a node that its name has been already in the index (by
 previous ontologies) this node is not created in the graph of this
 ontology. My app can upload a number of ontologies and graphs are created
 successfully for each ontology in the store. However when the process
 uploads the 9th ontology the store does not respond and it seems busy with
 some internal process like looking up the node in the index or something
 else. I'm stuck and don't know the cause of the problem. Do you have any
 clue or suggestions?

 Appreciate your help!

 Regards,


 
 From: David Montag david.mon...@neotechnology.com
 To: Peter Neubauer peter.neuba...@neotechnology.com
 Cc: Neo4j user discussions user@lists.neo4j.org
 Sent: Wednesday, November 9, 2011 10:07 PM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Hi Andrew,

 Let's connect during the day tomorrow for a higher-bandwidth discussion. Do
 you have Skype?

 Thanks,
 David

 On Wed, Nov 9, 2011 at 1:23 PM, Peter Neubauer 
 peter.neuba...@neotechnology.com wrote:

  Andrew,
  this sounds like the RRD database in the server got broken. Could you
  delete data/rrd and start up again? Also, David is in your timezone
  and maybe can connect with you directly to look into this?
 
  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              - NOSQL for the Enterprise.
  http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
 
 
 
  On Wed, Nov 9, 2011 at 10:07 PM, andrew ton andrewt...@yahoo.com
 wrote:
  
  
   Hi Peter,
  
   I don't understand much your question. However, in my Restlet
  application I have a logging service using Java log to record all
 processes
  in my app. My problem is that I upload 20 ontologies and after serveral
  ontologies the Neo4J stops responding my REST request. It seems busy with
  some index lookup process. Consequently my app throws
  a NoHttpResponseException: The target server failed to respond.
   I'd like to see what causes the problem inside Neo4J. Unfortunately
 both
  messages.log and neo4j.x.x.log do not show run time processes.
   BTW, when I start up the server the neo4j.x.x.log shows
  
   INFO: Server started on [http://localhost:7474/]
   Nov 9, 2011 10:22:22 AM org.neo4j.server.logging.Logger log
   WARNING:
   java.lang.IllegalArgumentException: Bad sample time: 1320862942. Last
  update time was 1320862942, at least one second step is required
   at org.rrd4j.core.RrdDb.store(RrdDb.java:553)
   at org.rrd4j.core.Sample.update(Sample.java:197)
   at
  org.neo4j.server.rrd.RrdSamplerImpl.updateSample(RrdSamplerImpl.java:62)
   at org.neo4j.server.rrd.RrdFactory$1.updateSample(RrdFactory.java:109)
   at org.neo4j.server.rrd.RrdJob.run(RrdJob.java:43)
   at org.neo4j.server.rrd.ScheduledJob$1.run(ScheduledJob.java:41)
   at java.util.TimerThread.mainLoop(Timer.java:512)
   at java.util.TimerThread.run(Timer.java:462)
  
   
  
   Nov 9, 2011 12:43:44 PM

Re: [Neo4j] Neo4j REST server's log files

2011-11-10 Thread andrew ton


Hi David,

The total size of files stored into the db when the problem happened was only 
800KB. My RAM is 4G. 
I ran the kill command when the problem happened because it just stopped and I 
did not notice slowness.

I will increase the heap to 512MB and test again.

Thanks,
Andrew



From: David Montag david.mon...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Thursday, November 10, 2011 3:00 PM
Subject: Re: [Neo4j] Neo4j REST server's log files

Hi Andrew,

I don't see anything running in that thread dump. No threads are processing
requests. Are you sure it's taking a long time, or is it maybe finished?
Try capturing the thread dump exactly when you experience slowness. I'd
also suggest bumping the initial heap to at least 512MB or something like
that. How much RAM do you have? How much data are you inserting?

Thanks,
David

On Thu, Nov 10, 2011 at 2:56 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 I increased the memory settings in neo4j-wrapper.conf as below
 # Initial Java Heap Size (in MB)
 wrapper.java.initmemory=30

 # Maximum Java Heap Size (in MB)
 wrapper.java.maxmemory=1024

 However the same problem is still happening. I attach the thread dump to
 this mail. I appreciate it if you tell me what's wrong based on the thread
 dump.

 Thank you!


 
 From: David Montag david.mon...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Thursday, November 10, 2011 11:39 AM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Hi Andrew,

 Good to hear that you got the logging sorted out.

 Regarding the actual issues, it sounds like you're describing two different
 things. One is that you index ontology nodes in one global index and
 therefore run into conflicts. The other is that the upload appears to stall
 for some reason.

 Regarding the global index, did you intend to design the system that way,
 or do you really want a separate index for each ontology? It sounds like
 that would be reasonable.

 As for the stalled upload, a thread dump during the slow processing would
 be most helpful. On a Linux system, you can capture that by doing kill -3
 pid on the Java process. It should then go to console.log.

 Thanks,
 David

 On Thu, Nov 10, 2011 at 8:21 AM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi David,
 
  Thank you for getting back to me!
  Finally I can make it work by changing the log level from INFO (by
  default) to FINEST in the logging.property.
 
  I have a question for you though. Currently my project have a problem
 with
  uploading data to the store. I created only 1 index for the whole
  application and the node name as the key. Several nodes in different
  ontologies have the same names.  So when an ontology is uploaded to the
  store and has a node that its name has been already in the index (by
  previous ontologies) this node is not created in the graph of this
  ontology. My app can upload a number of ontologies and graphs are created
  successfully for each ontology in the store. However when the process
  uploads the 9th ontology the store does not respond and it seems busy
 with
  some internal process like looking up the node in the index or something
  else. I'm stuck and don't know the cause of the problem. Do you have any
  clue or suggestions?
 
  Appreciate your help!
 
  Regards,
 
 
  
  From: David Montag david.mon...@neotechnology.com
  To: Peter Neubauer peter.neuba...@neotechnology.com
  Cc: Neo4j user discussions user@lists.neo4j.org
  Sent: Wednesday, November 9, 2011 10:07 PM
  Subject: Re: [Neo4j] Neo4j REST server's log files
 
  Hi Andrew,
 
  Let's connect during the day tomorrow for a higher-bandwidth discussion.
 Do
  you have Skype?
 
  Thanks,
  David
 
  On Wed, Nov 9, 2011 at 1:23 PM, Peter Neubauer 
  peter.neuba...@neotechnology.com wrote:
 
   Andrew,
   this sounds like the RRD database in the server got broken. Could you
   delete data/rrd and start up again? Also, David is in your timezone
   and maybe can connect with you directly to look into this?
  
   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              - NOSQL for the Enterprise.
   http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
  
  
  
   On Wed, Nov 9, 2011 at 10:07 PM, andrew ton andrewt...@yahoo.com
  wrote:
   
   
Hi Peter,
   
I don't understand much your question. However, in my Restlet
   application I have a logging service using Java log to record all
  processes
   in my app. My problem is that I upload 20 ontologies and after serveral
   ontologies the Neo4J stops responding my REST request. It seems busy
 with
   some index lookup process. Consequently my app throws

Re: [Neo4j] Neo4j REST server's log files

2011-11-10 Thread andrew ton
/fetch/1320942588 on 
org.mortbay.jetty.HttpConnection@66e90097
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: Got Session ID 9fdtr96dq71c1iqw1b8416rpc from cookie
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: sessionManager=org.mortbay.jetty.servlet.HashSessionManager@375e293a
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: session=null
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: servlet=org.neo4j.server.web.NeoServletContainer-1301864188
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: 
chain=org.neo4j.server.statistic.StatisticFilter-org.neo4j.server.web.NeoServletContainer-1301864188
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: servlet holder=org.neo4j.server.web.NeoServletContainer-1301864188
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: call filter org.neo4j.server.statistic.StatisticFilter
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: call servlet org.neo4j.server.web.NeoServletContainer-1301864188
Nov 10, 2011 3:46:53 PM org.mortbay.log.Slf4jLog debug
FINE: RESPONSE /db/manage/server/monitor/fetch/1320942588  200

and the server displays a request for next node in my ontology.

But when I upload many ontology then when the problem happened the server keeps 
displaying blocks of  request for fetch like FINE: REQUEST 
/db/manage/server/monitor/fetch/ on 
org.mortbay.jetty.HttpConnection@66e90097

Sorry for this long mail. I have no clue what causes the problem.

Thank you very much,

Regards



From: David Montag david.mon...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Thursday, November 10, 2011 3:31 PM
Subject: Re: [Neo4j] Neo4j REST server's log files

Can you describe how you see that it stops? Because the thread dump isn't
showing anything of significance running.

David

On Thu, Nov 10, 2011 at 3:28 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi David,

 The total size of files stored into the db when the problem happened was
 only 800KB. My RAM is 4G.
 I ran the kill command when the problem happened because it just stopped
 and I did not notice slowness.

 I will increase the heap to 512MB and test again.

 Thanks,
 Andrew


 
 From: David Montag david.mon...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Thursday, November 10, 2011 3:00 PM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Hi Andrew,

 I don't see anything running in that thread dump. No threads are processing
 requests. Are you sure it's taking a long time, or is it maybe finished?
 Try capturing the thread dump exactly when you experience slowness. I'd
 also suggest bumping the initial heap to at least 512MB or something like
 that. How much RAM do you have? How much data are you inserting?

 Thanks,
 David

 On Thu, Nov 10, 2011 at 2:56 PM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi David,
 
  I increased the memory settings in neo4j-wrapper.conf as below
  # Initial Java Heap Size (in MB)
  wrapper.java.initmemory=30
 
  # Maximum Java Heap Size (in MB)
  wrapper.java.maxmemory=1024
 
  However the same problem is still happening. I attach the thread dump to
  this mail. I appreciate it if you tell me what's wrong based on the
 thread
  dump.
 
  Thank you!
 
 
  
  From: David Montag david.mon...@neotechnology.com
  To: Neo4j user discussions user@lists.neo4j.org
  Sent: Thursday, November 10, 2011 11:39 AM
  Subject: Re: [Neo4j] Neo4j REST server's log files
 
  Hi Andrew,
 
  Good to hear that you got the logging sorted out.
 
  Regarding the actual issues, it sounds like you're describing two
 different
  things. One is that you index ontology nodes in one global index and
  therefore run into conflicts. The other is that the upload appears to
 stall
  for some reason.
 
  Regarding the global index, did you intend to design the system that way,
  or do you really want a separate index for each ontology? It sounds like
  that would be reasonable.
 
  As for the stalled upload, a thread dump during the slow processing would
  be most helpful. On a Linux system, you can capture that by doing kill -3
  pid on the Java process. It should then go to console.log.
 
  Thanks,
  David
 
  On Thu, Nov 10, 2011 at 8:21 AM, andrew ton andrewt...@yahoo.com
 wrote:
 
  
  
   Hi David,
  
   Thank you for getting back to me!
   Finally I can make it work by changing the log level from INFO (by
   default) to FINEST in the logging.property.
  
   I have a question for you though. Currently my project have a problem
  with
   uploading data to the store. I created only 1 index for the whole
   application and the node name as the key. Several nodes in different
   ontologies have the same names.  So when an ontology is uploaded to the
   store and has a node that its name has been already in the index (by
   previous ontologies) this node

[Neo4j] Neo4j REST server's log files

2011-11-09 Thread andrew ton


Hi,

What log files of the Neo4J REST server can I use to check what's going on in 
the server? The log/console.log and neo4j.x.x.log do not show transactions in 
the run time. I also looked into graph.db/tm_tx_log.x but I did not learn 
anything from there. Can somebody give me some pointers? 

Thanks,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4j REST server's log files

2011-11-09 Thread andrew ton
Thanks Peter!

BR,



From: Peter Neubauer peter.neuba...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Wednesday, November 9, 2011 8:46 AM
Subject: Re: [Neo4j] Neo4j REST server's log files

Andrew,
The database logs are in data/graphdb / messages.log
On Nov 9, 2011 5:39 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi,

 What log files of the Neo4J REST server can I use to check what's going on
 in the server? The log/console.log and neo4j.x.x.log do not show
 transactions in the run time. I also looked into graph.db/tm_tx_log.x but I
 did not learn anything from there. Can somebody give me some pointers?

 Thanks,
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4j REST server's log files

2011-11-09 Thread andrew ton


Hi Peter,

I tried the messages.log but it only showed processes up to the time when the 
server is up

2011-11-09 08:59:19.669-0800: --- CONFIGURATION END ---
2011-11-09 08:59:19.733-0800: Extension org.neo4j.kernel.KernelExtension[kernel 
jmx] loaded ok
2011-11-09 08:59:19.857-0800: Extension org.neo4j.kernel.KernelExtension[shell] 
loaded ok
2011-11-09 08:59:19.858-0800: Extension org.neo4j.kernel.KernelExtension[kernel 
udc] loaded ok

The manual shows that the logging is configured in conf/logging.properties 
(java.util.logging.FileHandler.pattern=data/log/neo4j.%u.%g.log). I'm using the 
default settings but the log file was not updated in the run time. 
My purpose is that I want to see what is wrong when I failed to store an 
ontology into Neo4J.
Please help me out!

Thanks and regards,




From: Peter Neubauer peter.neuba...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Wednesday, November 9, 2011 8:46 AM
Subject: Re: [Neo4j] Neo4j REST server's log files

Andrew,
The database logs are in data/graphdb / messages.log
On Nov 9, 2011 5:39 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi,

 What log files of the Neo4J REST server can I use to check what's going on
 in the server? The log/console.log and neo4j.x.x.log do not show
 transactions in the run time. I also looked into graph.db/tm_tx_log.x but I
 did not learn anything from there. Can somebody give me some pointers?

 Thanks,
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4j REST server's log files

2011-11-09 Thread andrew ton


Hi Peter,

I don't understand much your question. However, in my Restlet application I 
have a logging service using Java log to record all processes in my app. My 
problem is that I upload 20 ontologies and after serveral ontologies the Neo4J 
stops responding my REST request. It seems busy with some index lookup process. 
Consequently my app throws a NoHttpResponseException: The target server failed 
to respond.
I'd like to see what causes the problem inside Neo4J. Unfortunately both 
messages.log and neo4j.x.x.log do not show run time processes.
BTW, when I start up the server the neo4j.x.x.log shows 

INFO: Server started on [http://localhost:7474/]
Nov 9, 2011 10:22:22 AM org.neo4j.server.logging.Logger log
WARNING: 
java.lang.IllegalArgumentException: Bad sample time: 1320862942. Last update 
time was 1320862942, at least one second step is required
at org.rrd4j.core.RrdDb.store(RrdDb.java:553)
at org.rrd4j.core.Sample.update(Sample.java:197)
at org.neo4j.server.rrd.RrdSamplerImpl.updateSample(RrdSamplerImpl.java:62)
at org.neo4j.server.rrd.RrdFactory$1.updateSample(RrdFactory.java:109)
at org.neo4j.server.rrd.RrdJob.run(RrdJob.java:43)
at org.neo4j.server.rrd.ScheduledJob$1.run(ScheduledJob.java:41)
at java.util.TimerThread.mainLoop(Timer.java:512)
at java.util.TimerThread.run(Timer.java:462)



Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
  org.neo4j.server.webadmin.rest
Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig 
logClasses
INFO: Root resource classes found:
  class org.neo4j.server.webadmin.rest.MonitorService
  class org.neo4j.server.webadmin.rest.RootService
  class org.neo4j.server.webadmin.rest.JmxService
  class org.neo4j.server.webadmin.rest.ConsoleService
Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig init
INFO: No provider classes found.
Nov 9, 2011 12:43:44 PM 
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
  org.neo4j.server.rest.web
Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig 
logClasses
INFO: Root resource classes found:
  class org.neo4j.server.rest.web.ResourcesService
  class org.neo4j.server.rest.web.BatchOperationService
  class org.neo4j.server.rest.web.RestfulGraphDatabase
  class org.neo4j.server.rest.web.DatabaseMetadataService
  class org.neo4j.server.rest.web.ExtensionService
Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig 
logClasses
INFO: Provider classes found:
  class org.neo4j.server.rest.web.DatabaseBlockedExceptionMapper
Nov 9, 2011 12:43:45 PM 
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'
Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.PackagesResourceConfig init
INFO: Scanning for root resource and provider classes in the packages:
  org.neo4j.server.rest.discovery
Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig 
logClasses
INFO: Root resource classes found:
  class org.neo4j.server.rest.discovery.DiscoveryService
Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig init
INFO: No provider classes found.
Nov 9, 2011 12:43:45 PM 
com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17 AM'

Sorry for this long mail.

Thanks,



From: Peter Neubauer peter.neuba...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Wednesday, November 9, 2011 10:29 AM
Subject: Re: [Neo4j] Neo4j REST server's log files

Andrew,
Go you have the generating code somewhere you check and reproduce?
On Nov 9, 2011 6:26 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi Peter,

 I tried the messages.log but it only showed processes up to the time when
 the server is up

 2011-11-09 08:59:19.669-0800: --- CONFIGURATION END ---
 2011-11-09 08:59:19.733-0800: Extension
 org.neo4j.kernel.KernelExtension[kernel jmx] loaded ok
 2011-11-09 08:59:19.857-0800: Extension
 org.neo4j.kernel.KernelExtension[shell] loaded ok
 2011-11-09 08:59:19.858-0800: Extension
 org.neo4j.kernel.KernelExtension[kernel udc] loaded ok

 The manual shows that the logging is configured in conf/logging.properties
 (java.util.logging.FileHandler.pattern=data/log/neo4j.%u.%g.log). I'm using
 the default settings but the log file was not updated in the run time.
 My purpose is that I want to see what is wrong when I failed to store an
 ontology into Neo4J.
 Please help me out!

 Thanks and regards,



 
 From: Peter Neubauer peter.neuba...@neotechnology.com
 To: Neo4j

Re: [Neo4j] Neo4j REST server's log files

2011-11-09 Thread andrew ton


Hi,

I also looked into console.log and what I saw was

11/9/11 12:43:43 PM org.neo4j.server.NeoServerWithEmbeddedWebServer INFO: 
Starting Neo Server on port [7474] with [80] threads available
11/9/11 12:43:43 PM org.neo4j.server.database.Database INFO: Using database at 
/Programming/Projects/Resources/Semantic/NoSQL 
DataBases/Neo4J/package/neo4j-community-1.5-SNAPSHOT/data/graph.db
11/9/11 12:43:44 PM org.neo4j.server.modules.DiscoveryModule INFO: Mounted 
discovery module at [/]
11/9/11 12:43:44 PM org.neo4j.server.plugins.PluginManager INFO: Loaded server 
plugin CypherPlugin
11/9/11 12:43:44 PM org.neo4j.server.plugins.PluginManager INFO: Loaded server 
plugin GremlinPlugin
11/9/11 12:43:44 PM org.neo4j.server.modules.RESTApiModule INFO: Mounted REST 
API at [/db/data/]
11/9/11 12:43:44 PM org.neo4j.server.modules.ManagementApiModule INFO: Mounted 
management API at [/db/manage/]
11/9/11 12:43:44 PM org.neo4j.server.modules.WebAdminModule INFO: Mounted 
webadmin at [/webadmin]
11/9/11 12:43:44 PM org.neo4j.server.web.Jetty6WebServer INFO: Mounting static 
content at [/webadmin] from [webadmin-html]
11/9/11 12:43:45 PM org.neo4j.server.statistic.StatisticStartupListener INFO: 
adding statistic-filter to /webadmin
11/9/11 12:43:45 PM org.neo4j.server.statistic.StatisticStartupListener INFO: 
adding statistic-filter to /db/manage
11/9/11 12:43:45 PM org.neo4j.server.statistic.StatisticStartupListener INFO: 
adding statistic-filter to /db/data
11/9/11 12:43:45 PM org.neo4j.server.statistic.StatisticStartupListener INFO: 
adding statistic-filter to /
11/9/11 12:43:45 PM org.neo4j.server.NeoServerWithEmbeddedWebServer INFO: 
Server started on [http://localhost:7474/]


This log did not show updates in the run time either.

Thanks,




From: Mattias Persson matt...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Wednesday, November 9, 2011 12:38 PM
Subject: Re: [Neo4j] Neo4j REST server's log files

You want to look at data/log/console.log and data/log/neo4j.0.log (I think
it's called).

Peter, messages.log isn't for users, it's mainly for forensics/debugging
where a neo4j dev can get info by looking at.

Neo4j is rather light on the logging in general.

Den onsdagen den 9:e november 2011 skrev Peter Neubauer
peter.neuba...@neotechnology.com:
 Andrew,
 Go you have the generating code somewhere you check and reproduce?
 On Nov 9, 2011 6:26 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi Peter,

 I tried the messages.log but it only showed processes up to the time when
 the server is up

 2011-11-09 08:59:19.669-0800: --- CONFIGURATION END ---
 2011-11-09 08:59:19.733-0800: Extension
 org.neo4j.kernel.KernelExtension[kernel jmx] loaded ok
 2011-11-09 08:59:19.857-0800: Extension
 org.neo4j.kernel.KernelExtension[shell] loaded ok
 2011-11-09 08:59:19.858-0800: Extension
 org.neo4j.kernel.KernelExtension[kernel udc] loaded ok

 The manual shows that the logging is configured in
conf/logging.properties
 (java.util.logging.FileHandler.pattern=data/log/neo4j.%u.%g.log). I'm
using
 the default settings but the log file was not updated in the run time.
 My purpose is that I want to see what is wrong when I failed to store an
 ontology into Neo4J.
 Please help me out!

 Thanks and regards,



 
 From: Peter Neubauer peter.neuba...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Wednesday, November 9, 2011 8:46 AM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Andrew,
 The database logs are in data/graphdb / messages.log
 On Nov 9, 2011 5:39 PM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi,
 
  What log files of the Neo4J REST server can I use to check what's going
 on
  in the server? The log/console.log and neo4j.x.x.log do not show
  transactions in the run time. I also looked into graph.db/tm_tx_log.x
 but I
  did not learn anything from there. Can somebody give me some pointers?
 
  Thanks,
  ___
  Neo4j mailing list
  User@lists.neo4j.org
  https://lists.neo4j.org/mailman/listinfo/user
 
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user


-- 
Mattias Persson, [matt...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4j REST server's log files

2011-11-09 Thread andrew ton


I'm using 1.5-SNAPSHOT

Andrew



From: Peter Neubauer peter.neuba...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Wednesday, November 9, 2011 1:11 PM
Subject: Re: [Neo4j] Neo4j REST server's log files

Andrew,
What neo4j version are you using?
On Nov 9, 2011 10:07 PM, andrew ton andrewt...@yahoo.com wrote:



 Hi Peter,

 I don't understand much your question. However, in my Restlet application
 I have a logging service using Java log to record all processes in my app.
 My problem is that I upload 20 ontologies and after serveral ontologies the
 Neo4J stops responding my REST request. It seems busy with some index
 lookup process. Consequently my app throws a NoHttpResponseException: The
 target server failed to respond.
 I'd like to see what causes the problem inside Neo4J. Unfortunately both
 messages.log and neo4j.x.x.log do not show run time processes.
 BTW, when I start up the server the neo4j.x.x.log shows

 INFO: Server started on [http://localhost:7474/]
 Nov 9, 2011 10:22:22 AM org.neo4j.server.logging.Logger log
 WARNING:
 java.lang.IllegalArgumentException: Bad sample time: 1320862942. Last
 update time was 1320862942, at least one second step is required
 at org.rrd4j.core.RrdDb.store(RrdDb.java:553)
 at org.rrd4j.core.Sample.update(Sample.java:197)
 at org.neo4j.server.rrd.RrdSamplerImpl.updateSample(RrdSamplerImpl.java:62)
 at org.neo4j.server.rrd.RrdFactory$1.updateSample(RrdFactory.java:109)
 at org.neo4j.server.rrd.RrdJob.run(RrdJob.java:43)
 at org.neo4j.server.rrd.ScheduledJob$1.run(ScheduledJob.java:41)
 at java.util.TimerThread.mainLoop(Timer.java:512)
 at java.util.TimerThread.run(Timer.java:462)

 

 Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.PackagesResourceConfig init
 INFO: Scanning for root resource and provider classes in the packages:
   org.neo4j.server.webadmin.rest
 Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
 INFO: Root resource classes found:
   class org.neo4j.server.webadmin.rest.MonitorService
   class org.neo4j.server.webadmin.rest.RootService
   class org.neo4j.server.webadmin.rest.JmxService
   class org.neo4j.server.webadmin.rest.ConsoleService
 Nov 9, 2011 12:43:44 PM com.sun.jersey.api.core.ScanningResourceConfig init
 INFO: No provider classes found.
 Nov 9, 2011 12:43:44 PM
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
 INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17
 AM'
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.PackagesResourceConfig init
 INFO: Scanning for root resource and provider classes in the packages:
   org.neo4j.server.rest.web
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
 INFO: Root resource classes found:
   class org.neo4j.server.rest.web.ResourcesService
   class org.neo4j.server.rest.web.BatchOperationService
   class org.neo4j.server.rest.web.RestfulGraphDatabase
   class org.neo4j.server.rest.web.DatabaseMetadataService
   class org.neo4j.server.rest.web.ExtensionService
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
 INFO: Provider classes found:
   class org.neo4j.server.rest.web.DatabaseBlockedExceptionMapper
 Nov 9, 2011 12:43:45 PM
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
 INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17
 AM'
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.PackagesResourceConfig init
 INFO: Scanning for root resource and provider classes in the packages:
   org.neo4j.server.rest.discovery
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig
 logClasses
 INFO: Root resource classes found:
   class org.neo4j.server.rest.discovery.DiscoveryService
 Nov 9, 2011 12:43:45 PM com.sun.jersey.api.core.ScanningResourceConfig init
 INFO: No provider classes found.
 Nov 9, 2011 12:43:45 PM
 com.sun.jersey.server.impl.application.WebApplicationImpl _initiate
 INFO: Initiating Jersey application, version 'Jersey: 1.9 09/02/2011 11:17
 AM'

 Sorry for this long mail.

 Thanks,


 
 From: Peter Neubauer peter.neuba...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Wednesday, November 9, 2011 10:29 AM
 Subject: Re: [Neo4j] Neo4j REST server's log files

 Andrew,
 Go you have the generating code somewhere you check and reproduce?
 On Nov 9, 2011 6:26 PM, andrew ton andrewt...@yahoo.com wrote:

 
 
  Hi Peter,
 
  I tried the messages.log but it only showed processes up to the time when
  the server is up
 
  2011-11-09 08:59:19.669-0800: --- CONFIGURATION END ---
  2011-11-09 08:59:19.733-0800: Extension
  org.neo4j.kernel.KernelExtension[kernel jmx] loaded ok
  2011-11-09 08:59:19.857-0800: Extension
  org.neo4j.kernel.KernelExtension[shell] loaded ok
  2011-11-09 08:59:19.858-0800: Extension
  org.neo4j.kernel.KernelExtension[kernel udc] loaded ok
 
  The manual shows

[Neo4j] Ontology in Neo4J REST db

2011-11-08 Thread andrew ton


Hi,

My question  partly relates to the Neo4J REST db but I think this is the good 
place to ask because it has experts of semantic ontologies.

I'm using OWLAPI to parse my OWL ontology. API gives me triples and I store 
their Subject, predicate (relationship), and Object into Neo4J db. All 
individuals in the ontology are stores with their properties 
successfully. Everything is OK except the Class in the ontology.  The 
subClassOf properties of a class are not stored in the db. Let's take wine.owl 
as an example. The class Wine is defined like:
 owl:Class rdf:ID=Wine
    rdfs:subClassOf rdf:resource=food;PotableLiquid /
    rdfs:subClassOf
      owl:Restriction
        owl:onProperty rdf:resource=#hasMaker /
owl:cardinality rdf:datatype=xsd;nonNegativeInteger1/owl:cardinality
      /owl:Restriction
    /rdfs:subClassOf
    rdfs:subClassOf
      owl:Restriction
        owl:onProperty rdf:resource=#hasMaker /
owl:allValuesFrom rdf:resource=#Winery /
      /owl:Restriction
    /rdfs:subClassOf
    rdfs:subClassOf
      owl:Restriction
        owl:onProperty rdf:resource=#madeFromGrape /
 owl:minCardinality 
rdf:datatype=xsd;nonNegativeInteger1/owl:minCardinality
      /owl:Restriction
    /rdfs:subClassOf

/owl:Class

The Class Wine is stored as a node in the graph however all information about 
subClassOf (hasMaker, madeFromGrape...) are not stored.
I know that my code using OWLAPI does not handled this information properly so 
that they can be stored along with the class Wine. 

Anybody knows how to use OWLAPI or any API that can parse and handle these 
information of a class definition and store them into the Neo4J db?

I also wonder if individuals in the graph are enough for any processes that 
inquiry the ontology data like Cypher queries. If they are I don't have to 
worry about the issue above.

Thanks,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Neo4J REST console

2011-11-04 Thread andrew ton
Hi,

I'm using Neo4j REST 1.5 -SNAPSHOT. In the console I always get ==string 
matching regex `(?i)\Qrel\E' expected but `(' found even I use the basic query 
in the Cypher Cheetsheet like START a = (1) RETURN a ?

Can I use index lookup for a node in the Rest request? For ex: my query is
  {query: start school=node:nodes(name=\MySchool\) match 
(school)-[:locatedIn]-(location), (school)-[:foundedBy]-(founder) return 
school, location, founder}


Thanks,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Neo4J REST console

2011-11-04 Thread andrew ton


I figured out the problem in the console. I have to write start a = node(1) 
return a to make it work



From: andrew ton andrewt...@yahoo.com
To: Neo4j_user user@lists.neo4j.org
Sent: Friday, November 4, 2011 9:16 AM
Subject: [Neo4j] Neo4J REST console

Hi,

I'm using Neo4j REST 1.5 -SNAPSHOT. In the console I always get ==string 
matching regex `(?i)\Qrel\E' expected but `(' found even I use the basic query 
in the Cypher Cheetsheet like START a = (1) RETURN a ?

Can I use index lookup for a node in the Rest request? For ex: my query is
  {query: start school=node:nodes(name=\MySchool\) match 
(school)-[:locatedIn]-(location), (school)-[:foundedBy]-(founder) return 
school, location, founder}


Thanks,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Cypher questions

2011-11-02 Thread andrew ton


Hello,

I have some questions regarding Cypher.

1. I have an ontology that defines classes and individuals. I store this 
ontology into Neo4J REST db. Is there any ways to find all individuals that 
have some given class? 
In SPARQL, it can be done like ...WHERE { ?u a :User.}... to find all 
instances that have a type of User.

2. Similar to the question#1, if I understand correctly in Cypher I always have 
to start with a known node either by its ID or name. If so how to find any 
nodes that have some given relationship?
For example, I want to find any nodes that have the the relationship type 
go_to_school.

(x)-[:go_to_school]-(n) where (n.name= NotreDame) return x

Thank you,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] some questions

2011-10-28 Thread andrew ton


Hello,

I have 2 questions:

1. Is there any way to customize the Admin page of the Neo4J Rest server? For 
instance, I'd like to add a title of the project on the page.

2. Assume I have a big graph in the REST server, what is the best way to remove 
the whole graph? Of course deleting each node and its relationships and its 
index is not convenient.

Thanks,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] some questions

2011-10-28 Thread andrew ton


Yes, that's what I have been doing :)

However what if I have 2 graphs under a root node and I just want to remove 1 
graph and leave the other alone.

Any suggestions?

Thanks,



From: Linan Wang tali.w...@gmail.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Friday, October 28, 2011 7:59 AM
Subject: Re: [Neo4j] some questions

to clear the full db, stop the server and delete the files in data folder :)

On Fri, Oct 28, 2011 at 3:57 PM, Marko Rodriguez okramma...@gmail.com wrote:
 Hi,

 2. Assume I have a big graph in the REST server, what is the best way to 
 remove the whole graph? Of course deleting each node and its relationships 
 and its index is not convenient.


 Via Gremlin Plugin, you can call g.clear().

 HTH,
 Marko.

 http://markorodriguez.com
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




-- 
Best wishes,

Linan Wang
Architect, Programmer, PhD
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] some questions

2011-10-28 Thread andrew ton


Hi Peter,

I think I go to the direction of implementing a REST endpoint in Java. How 
about my first question about customizing the Admin page? 

Thanks,
Andrew



From: Peter Neubauer peter.neuba...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Friday, October 28, 2011 8:05 AM
Subject: Re: [Neo4j] some questions

Andrew,
that sounds like a traversal you need to do to find exactly the nodes
you need and remove them.

As Marko mentioned - either script it in Gremlin/Groovy, or implement
a REST endpoint in Java, giving you full static powaah:
http://docs.neo4j.org/chunked/snapshot/server-plugins.html

Does that work?

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              - NOSQL for the Enterprise.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.



On Fri, Oct 28, 2011 at 3:02 PM, andrew ton andrewt...@yahoo.com wrote:


 Yes, that's what I have been doing :)

 However what if I have 2 graphs under a root node and I just want to remove 1 
 graph and leave the other alone.

 Any suggestions?

 Thanks,


 
 From: Linan Wang tali.w...@gmail.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Friday, October 28, 2011 7:59 AM
 Subject: Re: [Neo4j] some questions

 to clear the full db, stop the server and delete the files in data folder :)

 On Fri, Oct 28, 2011 at 3:57 PM, Marko Rodriguez okramma...@gmail.com wrote:
 Hi,

 2. Assume I have a big graph in the REST server, what is the best way to 
 remove the whole graph? Of course deleting each node and its relationships 
 and its index is not convenient.


 Via Gremlin Plugin, you can call g.clear().

 HTH,
 Marko.

 http://markorodriguez.com
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




 --
 Best wishes,

 Linan Wang
 Architect, Programmer, PhD
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Delete a graph in Neo4J REST server

2011-10-21 Thread andrew ton


Hi Jake,

Thank you for the explanation and information!

Regards,


From: Jacob Hansson jacob.hans...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Friday, October 21, 2011 1:46 AM
Subject: Re: [Neo4j] Delete a graph in Neo4J REST server

On Fri, Oct 21, 2011 at 2:14 AM, andrew ton andrewt...@yahoo.com wrote:



 Hello,

 Is there a API or a way to delete a graph in the Neo4J REST server? For
 example, I can send a REST request to delete the root of the graph then all
 nodes under that root are also removed.

 Thanks,


Hi Andrew,

deleting the root node will only remove the root node, the rest of the graph
will remain intact.

The server on it's own can't delete the full database in one go, but you can
use this server plugin to add that functionality:

https://github.com/jexp/neo4j-clean-remote-db-addon

/jake


 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user




-- 
Jacob Hansson
Phone: +46 (0) 763503395
Twitter: @jakewins
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Delete a graph in Neo4J REST server

2011-10-20 Thread andrew ton


Hello,

Is there a API or a way to delete a graph in the Neo4J REST server? For 
example, I can send a REST request to delete the root of the graph then all 
nodes under that root are also removed.

Thanks,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Set property on node in Neo4j REST server

2011-10-16 Thread andrew ton


Hi Jim,

Thank you for your information!

Andrew



From: Jim Webber j...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Sunday, October 16, 2011 12:46 PM
Subject: Re: [Neo4j] Set property on node in Neo4j REST server

Hi Andrew,

Michael Hunger wrote a plugin for the Neo4j REST server that implements this. 
You can get it from his github space:

https://github.com/jexp/neo4j-clean-remote-db-addon

Jim
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Set property on node in Neo4j REST server

2011-10-15 Thread andrew ton


Hi Peter,

I did use API described by that chapter, however I still have problems. My 
nodes have some properties name and type. Now I want to add new properties to 
my nodes.

1. Set property: the section 16.5.1 describes that the 
url http://localhost:7474/db/data/node/5/properties/foo and the body to be put 
is bar. I assume foo is the property name and bar the property value. But 
how is the string bar sent in the PUT request while the service accepts a 
JSON object (Content-type = application/json)?
I have tried to put a string or a json object like {value:testing}. I got 
Bad request error as I anticipated. 

2. Update properties: I have tried as 16.5.2 instructs and the result are:
a. If I PUT a JSON object that has all existing properties with new values then 
all properties of the node are updated with new values.
b. If I PUT a JSON object that has only one property with a new value then all 
properties of the node are gone except the property in the PUT with the new 
value.

Would you please explain how I can update a property and how I add new 
properties to a node but existing properties are still intact. Thank you very 
much!

Cheers,



From: Peter Neubauer peter.neuba...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Friday, October 14, 2011 11:40 PM
Subject: Re: [Neo4j] Set property on node in Neo4j REST server

Andrew,
You can either update just one property or set and override all of them, see
http://docs.neo4j.org/chunked/snapshot/rest-api-node-properties.html

Does that help?

/peter



On Friday, October 14, 2011, andrew ton andrewt...@yahoo.com wrote:


 Hello,

 According to the Neo4j REST API to set a property on a node I send a PUT
request to the node's property URL e.g.
http://localhost:7474/db/data/node/5/properties/{propertyname}.
 This api accepts a JSON object. How do I send a json object that has
property name and value? The sample in the document shows the body of PUT is
just a string while the property name is in the URL.

 Is it correct that the API should be
http://localhost:7474/db/data/node/5/properties and the body has an
JSONObject  e.g. {propertyName:propertyValue} ?
 If so then what is the difference between setting property and updating
property ?

 Thanks,
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user


-- 

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 performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Set property on node in Neo4j REST server

2011-10-14 Thread andrew ton


Hello,

According to the Neo4j REST API to set a property on a node I send a PUT 
request to the node's property URL 
e.g. http://localhost:7474/db/data/node/5/properties/{propertyname}.
This api accepts a JSON object. How do I send a json object that has property 
name and value? The sample in the document shows the body of PUT is just a 
string while the property name is in the URL.

Is it correct that the API should 
be http://localhost:7474/db/data/node/5/properties and the body has an 
JSONObject  e.g. {propertyName:propertyValue} ?
If so then what is the difference between setting property and updating 
property ?

Thanks,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Node index in Neo4j REST server

2011-10-12 Thread andrew ton


Thank you , Jim.

Cheers,



From: Jim Webber j...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Wednesday, October 12, 2011 1:24 AM
Subject: Re: [Neo4j] Node index in Neo4j REST server

Hi Andrew,

 I have a question about indexing in Neo4j REST server. For some reason I may 
 need to create multiple node indexes in REST server.
 Is there any limit number of indexing I am allowed to create?

No, there's no logical limit on the number of indexes you can create.

Jim
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Different instances in Neo4j REST db

2011-10-09 Thread andrew ton


Hi Jim,

I can create different graphs in different folders using the embedded database. 
I'd like to know whether the same thing is possibly done with the REST server.

Thanks,



From: Jim Webber j...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Sunday, October 9, 2011 2:30 AM
Subject: Re: [Neo4j] Different instances in Neo4j REST db

Hi Andrew,

The Neo4j server has a single instance of EmbeddedGraphDatabase inside. You can 
create different logical databases by having disjoint graphs only.

HTH.

Jim
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Different instances in Neo4j REST db

2011-10-09 Thread andrew ton


Hi Jim,

Thank you for the clear information!

Cheers,



From: Jim Webber j...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Sunday, October 9, 2011 7:23 AM
Subject: Re: [Neo4j] Different instances in Neo4j REST db

Hi Andrew,

It's not possible with a single REST server, though multiple REST servers will 
live happily on the same host providing you give each of them different 
configuration (e.g. port number, data store location etc).

Jim
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Different instances in Neo4j REST db

2011-10-08 Thread andrew ton
Hello,

Does Neo4J REST db allow us to create multiple different graphs, e.g. one graph 
is for a set of data A and another for a set of data B?
My question is about the similar feature in the relational db where we can 
create multiple db instances.
If Neo4J does how can I do it?

Thanks,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] template tool

2011-10-07 Thread andrew ton


Hello,

I have a quick question regarding string template. When we create a node index 
the server returns a template
 http://localhost:7474/db/data/index/node/favorites/{key}/{value}

Does Neo4J have any API similar to StringTemplate that can replace placeholders 
in the template with the real
values?

Thanks,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] template tool

2011-10-07 Thread andrew ton


Thank you Jim!

Cheers,



From: Jim Webber j...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Friday, October 7, 2011 10:09 AM
Subject: Re: [Neo4j] template tool

Hi Andrew,

 I have a quick question regarding string template. When we create a node 
 index the server returns a template
  http://localhost:7474/db/data/index/node/favorites/{key}/{value}
 
 Does Neo4J have any API similar to StringTemplate that can replace 
 placeholders in the template with the real
 values?

Short answer: no.

The reason we used these URI templates is that we can't enumerate (in the 
general case) the contents of an index, so we have to invite clients to compute 
them (hence the URI template). 

So the thinking goes, since it's you (as the client) that creates the index 
entries, knowing the {key} and {value} expansions are easy for you to perform.

Jim
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Add node to index

2011-10-04 Thread andrew ton


Hi,

In the document (15.7.6) the example of adding a node to index by a POST method 
to http://localhost:7474/db/data/index/node/favorites/key/the%20value. The 
service accept JSON. However the example shows the request posts the body as a 
string http://localhost:7474/db/data/node/0; but not a json object. I tried to 
Post a string of a node to add it to the index and got an error (as I 
expected). Can somebody shed some light?
If we post a json object then what is the key?

Thanks,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Add node to index

2011-10-04 Thread andrew ton


Hi Jim,

Thank you! I'm using 1.5.M01 version. Just out of curiosity, how did you add a 
node into the index in the 1.5.M01 version?

I'm downloading the SNAPSHOT and will try again.

Cheers,
Andrew
 


From: Jim Webber j...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Tuesday, October 4, 2011 12:55 AM
Subject: Re: [Neo4j] Add node to index

Hi Andrew,

In the latest snapshots the API has changed, see:

http://docs.neo4j.org/chunked/snapshot/rest-api-indexes.html

So either ensure you're using 1.5M01 if you want the old behaviour, or a 
snapshot if you want the new behaviour.

Jim

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Add node to index

2011-10-04 Thread andrew ton


Hi Peter,

I'm using Neo4J 1.5.M01 and I use the neo4j manual in this package. So I guess 
the manual is for that version.

Cheers,
Andrew



From: Peter Neubauer peter.neuba...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Tuesday, October 4, 2011 12:54 AM
Subject: Re: [Neo4j] Add node to index

Andrew,
do you have the URL to the documentation you are looking at? Is it the
same version as the database version you are using?

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 performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Tue, Oct 4, 2011 at 9:07 AM, andrew ton andrewt...@yahoo.com wrote:


 Hi,

 In the document (15.7.6) the example of adding a node to index by a POST 
 method to http://localhost:7474/db/data/index/node/favorites/key/the%20value. 
 The service accept JSON. However the example shows the request posts the body 
 as a string http://localhost:7474/db/data/node/0; but not a json object. I 
 tried to Post a string of a node to add it to the index and got an error (as 
 I expected). Can somebody shed some light?
 If we post a json object then what is the key?

 Thanks,
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Add node to index

2011-10-04 Thread andrew ton


Hi Peter,

I downloaded the SNAPSHOT version and looked into the manual. It is different 
from the one in the 1.5.M01 version and it looks very nice as well as useful.
I modified my code to Post the Json object to the index and the node was 
successfully added. Thanks!

Regards,






From: Peter Neubauer peter.neuba...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Tuesday, October 4, 2011 7:53 AM
Subject: Re: [Neo4j] Add node to index

Andrew,
just downloaded and looked at it. The manual is generated from
integration tests, so this code has been running against a server. In
the SNAPSHOT version, you have full JSON syntax, see

http://docs.neo4j.org/chunked/snapshot/rest-api-indexes.html#rest-api-add-node-to-index

I am not sure, but isn't

sdfsdfsdf

Valid JSON?

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 performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Tue, Oct 4, 2011 at 4:23 PM, andrew ton andrewt...@yahoo.com wrote:


 Hi Peter,

 I'm using Neo4J 1.5.M01 and I use the neo4j manual in this package. So I 
 guess the manual is for that version.

 Cheers,
 Andrew


 
 From: Peter Neubauer peter.neuba...@neotechnology.com
 To: Neo4j user discussions user@lists.neo4j.org
 Sent: Tuesday, October 4, 2011 12:54 AM
 Subject: Re: [Neo4j] Add node to index

 Andrew,
 do you have the URL to the documentation you are looking at? Is it the
 same version as the database version you are using?

 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 performance graph database.
 http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
 http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



 On Tue, Oct 4, 2011 at 9:07 AM, andrew ton andrewt...@yahoo.com wrote:


 Hi,

 In the document (15.7.6) the example of adding a node to index by a POST 
 method 
 to http://localhost:7474/db/data/index/node/favorites/key/the%20value. The 
 service accept JSON. However the example shows the request posts the body as 
 a string http://localhost:7474/db/data/node/0; but not a json object. I 
 tried to Post a string of a node to add it to the index and got an error (as 
 I expected). Can somebody shed some light?
 If we post a json object then what is the key?

 Thanks,
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] Sample of SPARQL on Neo4J embedded database

2011-09-30 Thread andrew ton


Hi Peter,

Thank you for your quick reply!
Since I'm very new to Neo4J I may have some naive questions. You meant to 
execute SPARQL on both Neo4J embedded and REST server I have to use 3rd party 
API? I thought that Neo4J provided some native API so that I can execute SPARQL 
on the embedded database. I appreciate it if you clarify my puzzle. Thank you!

Regarding the Neo4J REST server I'm looking forward to seeing your plugin.


Cheers,
Andrew




From: Peter Neubauer peter.neuba...@neotechnology.com
To: Neo4j user discussions user@lists.neo4j.org
Sent: Thursday, September 29, 2011 10:40 PM
Subject: Re: [Neo4j] Sample of SPARQL on Neo4J embedded database

Andrew,
look at https://github.com/tinkerpop/blueprints/wiki/Sail-Ouplementation
for an example with the Tinkerpop Sail implementation over Neo4j. Just
switch the first statement

Sail sail = new GraphSail(new TinkerGraph());

against

Sail sail = new GraphSail(new Neo4jGraph(mystore));


I am workign on a SPARQL plugin for hte server which will document
this and also expose a SPARQL query endpoint in the server for both
statement insert and queries.

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 performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Fri, Sep 30, 2011 at 6:41 AM, andrew ton andrewt...@yahoo.com wrote:
 Hello,

 Is there any samples of executing SPARQL on Neo4j embedded db? I found a 
 thread in the Neo4j Forums posted by Mattias Person-2
 https://svn.neo4j.org/components/rdf-sparql/trunk/src/test/java/org/neo4j/rdf/sparql/Om2SampleQueriesTest.java


 However this link is not working any longer.

 Thanks,
 ___
 Neo4j mailing list
 User@lists.neo4j.org
 https://lists.neo4j.org/mailman/listinfo/user

___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] (no subject)

2011-09-29 Thread andrew ton


Hello,

Is there any samples of executing SPARQL on Neo4j embedded db? I found a thread 
in the Neo4j Forums posted by Mattias Person-2
https://svn.neo4j.org/components/rdf-sparql/trunk/src/test/java/org/neo4j/rdf/sparql/Om2SampleQueriesTest.java


However this link is not working any longer.

Thanks,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Sample of SPARQL on Neo4J embedded database

2011-09-29 Thread andrew ton
Hello,

Is there any samples of executing SPARQL on Neo4j embedded db? I found a thread 
in the Neo4j Forums posted by Mattias Person-2
https://svn.neo4j.org/components/rdf-sparql/trunk/src/test/java/org/neo4j/rdf/sparql/Om2SampleQueriesTest.java


However this link is not working any longer.

Thanks,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] See the graph in the Neo4J embedded db

2011-09-28 Thread andrew ton


Hello, 
I have stored triples into the Neo4J embedded db, now I want to see the 
graph or data in the db. How can I do it? 

Thanks,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Neo4J Rest server support SPARQL??

2011-09-28 Thread andrew ton


Hi,
After adding nodes and relationships into Neo4J REST server using REST API. How 
do I read data from the database using SPARQL? Does the database support SPARQL?

Regards,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Execute SPARQL on Neo4J REST database?

2011-09-28 Thread andrew ton
Hi,
After adding nodes and relationships into Neo4J REST server using REST API. How 
do I read data from the database using SPARQL? Does the database support SPARQL?

Regards,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] Neo4J support Android platform??

2011-09-28 Thread andrew ton


Hello,

I'm playing around with Neo4J (both embedded and REST server). I have a 
question that can we use Neo4J on mobile platforms, e.g. Android? 

Regards,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


Re: [Neo4j] See the graph in the Neo4J embedded db

2011-09-28 Thread andrew ton


Hi noppanit,

Thank you for your quick reply! I have 
checked http://wiki.neo4j.org/content/Neoclipse#Configuration about Neoclipse. 
Where can I find Neoclipse? The donwload page just show neo4j packages. I am 
using neo4j-community-1.5.M01 as REST server. In eclipse I use neo4j API to 
store data into embedded database.

I really appreciate your help if you can give me clear information. Thank you!

Regards,



From: noppanit noppani...@gmail.com
To: user@lists.neo4j.org
Sent: Wednesday, September 28, 2011 1:33 PM
Subject: Re: [Neo4j] See the graph in the Neo4J embedded db

You could use neoclipse to see it. 

Sent from my BlackBerry® wireless device

-Original Message-
From: tt6 [via Neo4j Community Discussions] 
ml-node+s438527n3377257...@n3.nabble.com
Date: Wed, 28 Sep 2011 13:23:29 
To: noppanitnoppani...@gmail.com
Subject: [Neo4j] See the graph in the Neo4J embedded db





Hello, 
I have stored triples into the Neo4J embedded db, now I want to see the 
graph or data in the db. How can I do it? 

Thanks,
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


___
If you reply to this email, your message will be added to the discussion below:
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-See-the-graph-in-the-Neo4J-embedded-db-tp3377257p3377257.html
To start a new topic under Neo4j Community Discussions, email 
ml-node+s438527n438527...@n3.nabble.com
To unsubscribe from Neo4j Community Discussions, visit 
http://neo4j-community-discussions.438527.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=438527code=bm9wcGFuaXQuY0BnbWFpbC5jb218NDM4NTI3fDExOTIzNzAyNjk=


--
View this message in context: 
http://neo4j-community-discussions.438527.n3.nabble.com/Neo4j-See-the-graph-in-the-Neo4J-embedded-db-tp3377257p3377301.html
Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user