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
How can i get relationship properties in Cypher?
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
  2 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
 
Meiran Axelrod  
View profile  
 More options Sep 23 2012, 10:49 am
From: Meiran Axelrod <meir...@gmail.com>
Date: Sun, 23 Sep 2012 07:49:48 -0700 (PDT)
Local: Sun, Sep 23 2012 10:49 am
Subject: How can i get relationship properties in Cypher?

Hi,
i tried to convert Gremlin query to Cypher query.
The gremlin query is:
g.v("+startNodeId+").out('manages').loop(1){it.loops<4
{true}.as('personId').outE('authors').as('edgeLabel')._().as('edgeProps').i nV().as('resourceId')._().as('resourceProps').table(new
Table()){it.id}{it.label}{it.map().entrySet()}{it.id}{it.map().entrySet()}. cap.transform{it.unique()}

How can i get the edge properties of "authors" relationship in Cypher?

Thanks ahead,
Meiran


 
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 Sep 24 2012, 5:22 am
From: Peter Neubauer <peter.neuba...@neotechnology.com>
Date: Mon, 24 Sep 2012 02:21:50 -0700
Local: Mon, Sep 24 2012 5:21 am
Subject: Re: [Neo4j] How can i get relationship properties in Cypher?
Meiran,
that is in the working, see
https://github.com/neo4j/community/issues/263 for a feature request to
return all properties of a node/relationship in Cypher. Feel free to
contribute to the syntax discussion!

Cheers,

/peter neubauer

Neo4j 1.8.RC1 "Vindeln Vy" -
http://blog.neo4j.org/2012/09/neo4j-18rc1-really-careful-ftw.html

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

Wanna learn something new? Come to @graphconnect.


 
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 »