Re: [Neo] Type metadata in properties/nodes

2009-12-09 Thread Tobias Ivarsson
, it definitely seems do-able with Neo. -Original Message- From: user-boun...@lists.neo4j.org [mailto:user-boun...@lists.neo4j.org] On Behalf Of Peter Neubauer Sent: Tuesday, December 08, 2009 3:25 PM To: Neo user discussions Subject: Re: [Neo] Type metadata in properties/nodes

Re: [Neo] Type metadata in properties/nodes

2009-12-09 Thread rick . bullotta
workarounds/alternatives using relationships. Cheers, Rick Original Message Subject: Re: [Neo] Type metadata in properties/nodes From: Tobias Ivarsson tobias.ivars...@neotechnology.com Date: Wed, December 09, 2009 5:39 am To: Neo user discussions user

Re: [Neo] Type metadata in properties/nodes

2009-12-09 Thread Tobias Ivarsson
: [Neo] Type metadata in properties/nodes Hi Rick, there are a number of interesting approaches to this, involving both ways to retain the metadata: 1. RDF and OWL - basically, every node will maintain a relationship to its type node (your shadow node), something like x

[Neo] Type metadata in properties/nodes

2009-12-08 Thread Rick Bullotta
I can see how relationships could be used to map is a duck. typing, but I'm struggling with how to infer type from properties. In particular, while anything could be stuffed into a String, it loses important semantics when you do so. I'm not referring to *storage* as a String, which makes plenty

Re: [Neo] Type metadata in properties/nodes

2009-12-08 Thread Peter Neubauer
Hi Rick, there are a number of interesting approaches to this, involving both ways to retain the metadata: 1. RDF and OWL - basically, every node will maintain a relationship to its type node (your shadow node), something like x?--RDF:TYPE--type_node which contains info on what the type is, what

Re: [Neo] Type metadata in properties/nodes

2009-12-08 Thread Peter Neubauer
Btw, I added this to the FAQ, http://wiki.neo4j.org/content/FAQ#What_ways_of_encoding.2Fholding_metadata_and_type_of_nodes_and_properties_are_there.3F and will put in there any more suggestions, so please come forth, hackers and coders! Cheers, /peter neubauer COO and Sales, Neo Technology

Re: [Neo] Type metadata in properties/nodes

2009-12-08 Thread Rick Bullotta
Sent: Tuesday, December 08, 2009 3:25 PM To: Neo user discussions Subject: Re: [Neo] Type metadata in properties/nodes Hi Rick, there are a number of interesting approaches to this, involving both ways to retain the metadata: 1. RDF and OWL - basically, every node will maintain a relationship to its

Re: [Neo] Type metadata in properties/nodes

2009-12-08 Thread Anders Nawroth
Hi! Instance nodes then maintain a two-way relationship with their associated Type node so that any node can quickly obtain its Type node and so we can easily traverse all instances of a specific type I'm not sure what you mean by two-way relationship, but relationships can always be