Cardinality of properties in Subgraph

31 views
Skip to first unread message

Baek Hyun-wook

unread,
Jan 15, 2016, 6:32:27 PM1/15/16
to Aurelius
Hi, 

I am working on Titan 1.0.0,
and I found the cardinality of properties are not preserved in the subgraph
generated by Gremlin 'Subgraph Step' (i.e. subgraph('sub').cap('sub')).

To be specific, in my case, I have several property keys with 'LIST' cardinality (e.g. propertyKey: created)
so that there can be multiple properties for those keys.
e.g.
gremlin> v.properties()
=>vp[created->true]
=>vp[created->false]
=>vp[created->true]

(properties also have nested properties so they are not just simple duplication of the same information)
 
However, when I generated subgraph from this graph,
only one of the properties using the same key is copied to the corresponding vertex in the subgraph.

Is there any way to preserve the Property Cardinality in the subgraph?

Stephen Mallette

unread,
Jan 19, 2016, 6:47:10 AM1/19/16
to Aurelius
That looks like a problem in TinkerPop - created an issue:




--
You received this message because you are subscribed to the Google Groups "Aurelius" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aureliusgraph...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aureliusgraphs/2cdca593-a771-40a6-ad9c-4e85762ca441%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages