cypher Questions
5
Solved
I am trying to run queries from the neo4j browser to reproduce results from my neo4j-javascript-driver client.
What is the syntax for defining query parameters in the neo4j b
I recently attended ...
7
Solved
I've a query that fetches nodes based on a property
MATCH (c { type: 'sometype' })
WITH c LIMIT 100
RETURN c
all I want is to also fetch all the relations between nodes in the resultset, on IRC ...
3
Solved
The neo4j manual gives a good example for listing all property keys using the REST API:
:GET /db/data/propertykeys
Can this be achieved by using cypher only? maybe for one specific node as well?...
4
Solved
I am learning neo4j , i want to know that is there any way that i can create a relationship or a node that will be delete automatically after a certain period of time.
Sterilize asked 13/2, 2015 at 11:50
2
Solved
Is it possible to create a relationship to a relationship in Neo4j?
The use-case goes something like this:
I have a bunch of questions, like "What movie should we see?"
Each question can have ma...
7
Solved
I understand it is possible to use the wildcard (*) symbol to return all references in a Cypher query, such as:
MATCH p:Product WHERE p.price='1950' RETURN *;
==> +---------------------------...
2
Solved
I am trying to get the relationship type of a very simple Cypher query, like the following
MATCH (n)-[r]-(m) RETURN n, r, m;
Unfortunately this return an empty object for r. This is troublesome ...
2
Solved
Hello I was trying to import some data in csv file to neo4j in my ubuntu 12.04.
The csv file is a two column data file with no header its format is like:
12ffew3213,232rwe13
12ffew3213,5yur2ru2r...
6
Solved
I can't find a way to change a relationship type in Cypher. Is this operation possible at all? If not: what's the best way achieve this result?
2
Solved
Has there been any update to the syntax of an IF/ELSE statement in Cypher?
I know about CASE and the FOREACH "hacks" but they are so unsightly to read :)
I was wanting to do something with option...
6
Solved
I'm looking for something similar to the MySQL ( SHOW INDEXES ). I was able to get a list of indexes using py2neo in Python
graphDB = neo4j.GraphDatabaseService()
indexes = graphDB.get_indexes(ne...
4
Solved
The CREATE INDEX <indexName> command is not idempotent and will cause an error if the given index already exists. I'm new to neo4j, and can't find a predicate that avoids this error. I've tri...
4
Solved
Is it possible to run a case-insensitive cypher query on neo4j?
Try that: http://console.neo4j.org/
When I type into this:
start n=node(*)
match n-[]->m
where (m.name="Neo")
return m
it ...
Lermontov asked 18/11, 2012 at 10:23
2
I am trying to connect to Neo4j from Spark using neo4j-spark-connector. I am facing an authentication issue when I try to connect to the Neo4j org.neo4j.driver.v1.exceptions.AuthenticationException...
Italian asked 14/10, 2019 at 13:28
4
Solved
I have a simple Neo4j graph database that I created while trying to model something for a new application. When I run the following query, I get the nodes that I am expecting, but I also get more r...
Byram asked 6/7, 2016 at 13:9
3
Solved
Using Cypher 1.8, there are some functions working on collections and returning a single element:
HEAD( expression ):
START a=node(2)
RETURN a.array, head(a.array)
LAST( expression ):
START a=...
Hustings asked 16/12, 2012 at 18:59
3
Solved
I have two nodes user and files with a relationship :contains, the relationship has a property idwhich is an array, represented as
(:user)-[:contains{id:[12345]}]->(:files)
However I want to po...
3
Solved
I've been trying to figure out a way to adapt the merge_one functionality from py2neo v2 to v3. I read in a Google group that "The merge_one method no longer exists in v3 as you should be able to u...
5
Solved
Is there a way to return just an integer through cypher?
I am working with neo4j and the javascript driver. However when I do a count() I get {low: 10, high: 0}. I would like to force this to retu...
3
Solved
I have a cypher script file and I would like to run it directly.
All answers I could find on SO to the best of my knowledge use the command neo4j-shell which in my version (Neo4j server 3.5.5) see...
Fornax asked 8/5, 2019 at 10:30
2
I came across a scenario i.e, Each and every node is to represent with an image . so i have to store image into neo4j. please healp me out with your views on it.
Marthena asked 21/10, 2014 at 6:50
4
Solved
I'm trying to implement the logic in Cypher where, based on a particular condition (CASE Statement), I would create some nodes and relationships; the code is as below
MATCH (g:Game)-[:PLAYER]->...
1
Solved
Creating a named graph from the main Neo4j Graph is documented. Beside, one also knows how to list, drop, check if a named graph already exists, e.g. CALL gds.graph.exists('my-store-graph') YIELD e...
Giuseppe asked 4/6, 2020 at 0:50
1
Solved
I have the following graph:
Currently I am using this QUERY to add a relationship between two nodes:
MATCH (a:Service),(b:Service)
WHERE a.service_id = 'cs2322' and b.service_id = 'ab3232'
CREA...
2
Solved
I have a graph of members and the items that they've looked at.
This data is going to be used to recommend items based on items that similar members have looked at. I'd like to sort the items base...
© 2022 - 2024 — McMap. All rights reserved.