Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Cypher: get properties of nodes in the path
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tomas Teicher  
View profile  
 More options Apr 29 2012, 2:38 am
From: Tomas Teicher <tomasteic...@gmail.com>
Date: Sat, 28 Apr 2012 23:38:10 -0700 (PDT)
Local: Sun, Apr 29 2012 2:38 am
Subject: Cypher: get properties of nodes in the path

 is it possible to get properties from nodes in the path?

For example:
START a=node(3)
MATCH p = a-->b
RETURN p, b.name
In this example I can get name property of end node. But can I also get
names also from path of not known length? When I have MATCH p =
a-[:KNOWS*]->b return p, name?
thanks for help
Tomas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Peter Neubauer  
View profile  
 More options Apr 29 2012, 3:54 am
From: Peter Neubauer <peter.neuba...@neotechnology.com>
Date: Sun, 29 Apr 2012 09:54:18 +0200
Local: Sun, Apr 29 2012 3:54 am
Subject: Re: [Neo4j] Cypher: get properties of nodes in the path
Hi Tomas,
look at http://docs.neo4j.org/chunked/snapshot/query-function.html#_iterable_...,
especially EXTRACT and FILTER.

Would that work?

Cheers,

/peter neubauer

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

If you can write, you can code - @coderdojomalmo
If you can sketch, you can use a graph database - @neo4j


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Hunger  
View profile  
 More options Apr 29 2012, 4:33 am
From: Michael Hunger <michael.hun...@neotechnology.com>
Date: Sun, 29 Apr 2012 10:33:04 +0200
Local: Sun, Apr 29 2012 4:33 am
Subject: Re: [Neo4j] Cypher: get properties of nodes in the path
Try it online here: http://tinyurl.com/borlnl7

On Sun, Apr 29, 2012 at 9:54 AM, Peter Neubauer


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »