NLP searching to generate reports?

Apologies for what will be a relatively open ended question but I am stuck on where to begin to read, test and start playing around with creating a NLP search that eventually leads to a visual graph from data in a graph database. Example: https://g...
more »

2017-09-09 03:09 (0) Answers

I can't connect my Android App with neo4j database

I'm programming an app in Android but I canĀ“t connect it to a local neo4j database. In the gradle I've put this dependencies: compile 'org.neo4j.driver:neo4j-java-driver:1.4.1' compile 'org.neo4j:neo4j-jdbc:3.1.0' The connection code is the fo...
more »

2017-07-20 21:07 (1) Answers

Cypher left outer join sql analog

I'm trying to match all nodes with specific label that has no relationship or have specific relationship. something like this two queries combined: MATCH (f:Field) OPTIONAL MATCH (f)--(t:Type) WHERE id(t) = {id} RETURN f + MATCH (f:Field) WHERE n...
more »

2017-06-23 12:06 (2) Answers

Warmup Neo4j database after spring initialization

I use a Neo4J database with nearly 500k nodes. When I startup my Spring application and do the first query, it takes about 4-5 seconds. This happens just for the first query, so I thought I could do a warmup after spring is initialized to make all su...
more »

2017-06-03 20:06 (1) Answers

Neo4j - Java heap space. Wrong query or settings?

i have a problem with neo4j. I don't know if problem is my query or something else. Intro I have to build an application that store bus/train routes. This is my schema: Nodes: Organizaton: company that have routes/bus etc.. Route: A bus route ...
more »

2017-04-02 14:04 (3) Answers

Neo4j - Get node containing a list of children

I have a Document - [:Contains] -> Keyword relationship. I would like to obtain all the documents having a specified list of keywords. So far I managed to do this: Match (d:document)-[:CONTAINS]->(k1:keyword {keyword:"key1"}) WITH d,k1 MATCH (d)-...
more »

2017-01-18 01:01 (2) Answers

Search in hierarchical tree on neo4j

I have a database organized in several hierarchical trees. Nodes are organized by number.Nodes that begin with the same number are interconnected by relationships. For example: (5)-[connect]-(50)-[connect]-(507)... etc. I want to search, for example...
more »

2017-01-09 14:01 (1) Answers

Neo4j limit a property value to only x changes

Is there a way on Neo4J to say for a query like this MATCH (p1:BusStop {idStop: "1293"}), (p2:BusStop {idStop: "1052"}), path = shortestpath((p1)-[:PATH*]-(p2)) RETURN path That i want it to keep for all the path the same property value. Some...
more »

2016-11-09 14:11 (1) Answers

Insert array of objects as property into neo4j

I am trying to insert array of objects as property to node. I tried MERGE (ss:Label1 {sId: 12345}) ON MATCH SET = 14770746012, ss.setC = 1, = [{id: 24, status: 0}] ON CREATE SET = 14770746012, ss.setC = 1, = [{id: 24, statu...
more »

2016-10-25 12:10 (3) Answers

Neo4j - Spring get String list from labels

How can i retrieve in Spring a List from this query MATCH (n) WITH DISTINCT LABELS (n) as labels RETURN labels Which doesn't create a node, but return just some strings referred to all different labels in my neo4j database? ...
more »

2016-10-04 21:10 (1) Answers

Store data into neo4j from eclipse

I have a gml file that I read it with java in eclipse and I want to know how to store the result of the code below in neo4j: TinkerGraph graph = new TinkerGraph(); GMLReader gml= new GMLReader(graph); gml.inputGraph("/home/salma/Desktop/cel...
more »

2016-08-01 15:08 (1) Answers

Combining a Graph Database and an RDBMS

Is it bad design / difficult to implement two or more databases for an application? For instance, let's say I have User objects which I would like to store into a relational database. These 'User' objects have relationships with one another and have...
more »

2016-07-28 23:07 (1) Answers

How to build neo4j-jdbc driver from official repo?

I wanted to use the neo4j-jdbc ( to connect to my Neo4j 3.0 server. I'd like to build the driver myself so that I can add it to another project as a jar file. I'm struggling to understand the readme on the ...
more »

2016-07-26 18:07 (1) Answers

Neo4j read_only doesn't work

So... I know there's quite a few articles and stuff to read about how to set Neo4j in read-only mode. Problem is, it doesn't seem to work for me. I've got an existing database in Neo4j 3.0.3 (I'm not the one who put it together though, so I'm really...
more »

2016-07-06 14:07 (1) Answers

Neo4j: search in children too

I have a simple parent/child graph in neo4j. I would like search the parents (and its children) with a property value in parent node or in child node. A parent can have (or not) a list of children I tried this query MATCH (p:Parent) WHERE p.last...
more »

2016-06-27 10:06 (1) Answers

Neo4j single instance of connection

I'am working at application in ASP.NET MVC 5 which is supported by Neo4j graph database. I'am using Neo4jClient and Neo4j.AspNet.Identity. To connect with database there is a class called GraphClient. Below is the way to instatiate connection: var c...
more »

2015-12-06 14:12 (1) Answers