Re: [Neo4j] cassandra + neo4j graph

2011-06-29 Thread Jim Webber
Hi Aliabbas, Each node gets a URI by default if you're using the REST API. I have no words of wisdom on the utility of OWL/RDF for your case, but if you need to call out to an external ontology, it sounds likely you should embrace the semweb. Jim ___

Re: [Neo4j] cassandra + neo4j graph

2011-06-28 Thread Aliabbas Petiwala
Thanks jim, Wow! a great example to show how to think while designing graph dbs. We also wanted the graph db to act as a representational form of owl database so does each node required to have a uri ? Is it wise to conform our graph db to the owl /rdf standard? We require this so that we can eas

Re: [Neo4j] cassandra + neo4j graph

2011-06-28 Thread Jim Webber
Hey Aliabbas, It's unlikely that our store will be a good place for video - we're optimised around fast relationship traversal rather than big blobs. I'd recommend just hosting their (relative) URIs in Neo4j and exposing the files out on to the Web, hosted on the filesystem or in something like

Re: [Neo4j] cassandra + neo4j graph

2011-06-28 Thread Aliabbas Petiwala
Thanx a lot jim, after a preliminary analysis we have found that user info will be about 2 mb of text max. But how to store the images videos etc . Just as references to a CDN or within the node.? Also where can the long conversatitions between 2+ users be stored ? Can it act as a relationship pro

Re: [Neo4j] cassandra + neo4j graph

2011-06-27 Thread Jim Webber
Hi Aliabbas, It's quite feasible to run multiple graph DBs, that's just manual sharding. In your application you own the mapping to which of the graph DBs you want to interact with, and your app also reifies links between instances. But do try a single instance first (with slave replication for

Re: [Neo4j] cassandra + neo4j graph

2011-06-27 Thread Craig Taverner
Hi, I can comment on the spatial side. The neo4j-spatiallibrary provides some tools for doing spatial analysis on your data. I do not know exactly what you plan to do, but since you mention user and place locations, I guess you are likely to be asking the da

Re: [Neo4j] cassandra + neo4j graph

2011-06-27 Thread Aliabbas Petiwala
thanks for the informative reply , to add more , the social networking website will be geo aware and some spatial info also needs to be stored like the coordinates of the user node or the coordinates of the location\place how can we add more also will neo4j alone + spatial suffice ? can there be m

Re: [Neo4j] cassandra + neo4j graph

2011-06-26 Thread Jim Webber
Hi Aliabbas, It's difficult to make pronouncements about your solution design without knowing about it, but here are some heuristics that can help you to plan whether you go with a native Neo4j solution or mix it up with other stores. All of these are only ideas and you should test first to ens

[Neo4j] cassandra + neo4j graph

2011-06-25 Thread Aliabbas Petiwala
we are about to use neo4j for a social n\w website but we cant decide whether to go for neo4j alone or a combination of neo4j+cassandra so that we can use cassandra to store user profile info and map each node of graph to cassandra keyvalue store. it would be great if only neo4j would suffice for