cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Please help me!

I executed this query which creates relationship Person and Merchant transaction status.
Query - https://prnt.sc/sfbn2a

But in the output Person name is not coming inside the nodes.? It should show name but its blank.
Output- https://prnt.sc/sfbnzf

Sample dataset - https://github.com/neo4j-examples/graphgists/blob/master/fraud/Credit_Card_Fraud_Detection.adoc#intr...

Thank you

2 REPLIES 2

intouch_vivek
Graph Steward

Hi @rdp4099,

Kindly create like below
Create(p1:Persona{name:'Paul'}) -[:HAS_Bought_AT{amount:'986', time:'4/17/2014', status:'Undisputed'}]->(P1:Product{name:'Just_Brew_it'})

And with best practice try to create node first and then relationship.
like
Create(p1:Persona{name:'Paul'}) Create (P1:Product{name:'Just_Brew_it'}) Create (p1) -[:HAS_Bought_AT{amount:'986', time:'4/17/2014', status:'Undisputed'}]->(P1)

oleg_neo4j
Graph Buddy

Hi,
Can you check a couple things? Were your nodes still defined when you ran the query, for example (Paul)? Also, are you not seeing the Person node names in the Neo4j Browser? Have you checked to see if it's available in Caption option of the node in the Browswer?