Thanks a lot i will try running this sample. On Mon, May 2, 2011 at 3:32 PM, Adriano Henrique de Almeida < [email protected]> wrote:
> Hi Anil, > > if you're also interested, there is the IMDB example: > https://github.com/neo4j-examples/imdb. Also I have an example project at > my > github: https://github.com/adrianoalmeida7/neo4j-vraptor-example where I > integrate Neo4j with a webframework other than SpringMVC (in this case, > VRaptor). I also break some of the design guidelines suggested by the docs, > so my models are decoupled from the Neo4J API. > > It lacks some functionality and UI improvement, but the majority of the > graph traversals are there. Hope it can be helpful to you. > > Regards > > Adriano > > 2011/5/2 Anil Tatikonda <[email protected]> > > > This is really very interesting... thanks a lot i will keep trying > > different > > things out > > > > On Mon, May 2, 2011 at 1:15 PM, Michael Hunger < > > [email protected]> wrote: > > > > > Please don't confuse a graph data structure with a "visual" graphical > > > representation, graphical can mean anything. > > > > > > Graphs are nodes and relationships to other nodes which all can have > > > relationships. > > > > > > For you as a Java developer it is perhaps easiest to imagine those as > > > object networks. > > > > > > Otherwise it is as with every other Database, you have a physical > > database > > > and an API, you create your data as you do > > > with any other technology, by inserting things (and in a graph > > additionally > > > by relating things). > > > > > > Perhaps one or more of the presentations about graph databases is > useful > > > for you. > > > > > > http://www.slideshare.net/tag/neo4j > > > > > > > > > http://www.slideshare.net/emileifrem/an-intro-to-neo4j-and-some-use-cases-jfokus-2011 > > > > > > http://www.slideshare.net/peterneubauer/gdm-2011-neo4j-and-real-world-apps > > > > http://www.springsource.com/downloads/getting-started-spring-data-graph > > > > > > Cheers > > > > > > Michael > > > > > > You might also look into the documentation of our Spring Integration > > > Library (Spring Data Graph) - http://bit.ly/sdg-book > > > > > > > > > Am 02.05.2011 um 19:07 schrieb Anil Tatikonda: > > > > > > > Thanks a lot for all the Help. > > > > > > > > Yes I'm a Java Developer i may sound so dumb to you. I was just > trying > > > to > > > > validate my understanding as this is little interesting for me and > its > > > > giving me little different perspective towards the data staying in a > > file > > > > locally... its very different from our day to day style of doing > stuff. > > > > > > > > Anyways thanks for the help. > > > > > > > > On Mon, May 2, 2011 at 12:58 PM, Marko Rodriguez < > [email protected] > > > >wrote: > > > > > > > >> Hey, > > > >> > > > >> Are you a Java developer? Simply start playing around as such: > > > >> > > > >> GraphDatabaseService graph = new EmbeddedGraphDatabase( > "var/graphdb" > > ); > > > >> Node a = graph.createNode(); > > > >> a.setProperty("name", "marko"); > > > >> Node b = graph.createNode() > > > >> b.setProperty("name", "gold plated rocket car"); > > > >> Relationship r = a.createRelationshipTo(b, > > > >> DynamicRelationshipType.withName("purchased")); > > > >> r.setProperty("timeStamp", 1234235234); > > > >> > > > >> // Marko--purchased-->GoldPlatedRocketCar > > > >> > > > >> If you want to dynamically do stuff from a terminal, you can > consider > > > >> learning about graph databases with Gremlin. > > > >> http://gremlin.tinkerpop.com > > > >> > > > >> ./gremlin.sh > > > >> g = new Neo4jGraph('var/graphdb'); > > > >> a = g.addVertex([name:'marko']) > > > >> b = g.addVertex([name:'gold plated rocket car']) > > > >> r = g.addEdge(a, b, 'purchased', [timeStamp:'1234235234']) > > > >> // what did Marko purchase? > > > >> a.outE('purchased').inV.name > > > >> > > > >> http://paste.pocoo.org/show/381641/ > > > >> > > > >> Gremlin comes packaged with a few example graphs--no customer/order > > > >> data--but hopefully you can abstract the concepts over to your > domain. > > > >> > > > >> Hope that helps, > > > >> Marko. > > > >> > > > >> http://markorodriguez.com > > > >> > > > >> On May 2, 2011, at 10:13 AM, Anil Tatikonda wrote: > > > >> > > > >>> Thanks that is a pretty quick reply i appreciate your response that > > > helps > > > >> my > > > >>> understanding. > > > >>> > > > >>> And so now I'm trying the example in the Design Guide section. But > it > > > >> asks > > > >>> me to create the RelationShipTypes by following the instructions in > > > >> Getting > > > >>> started but its not that clear. > > > >>> And moreover where do i initialize this data and do you have any > > sample > > > >> data > > > >>> for those Customer and Orders that i can use. > > > >>> > > > >>> GraphDatabaseService graphDb = new EmbeddedGraphDatabase( > > "var/graphdb" > > > >> ); > > > >>> > > > >>> > > > >>> On Mon, May 2, 2011 at 12:10 PM, Marko Rodriguez < > > [email protected] > > > >>> wrote: > > > >>> > > > >>>> Hello, > > > >>>> > > > >>>> Neo4j is a database + API. Thus, Neo4j will persist your data for > > you > > > >> (in a > > > >>>> directory) and will expose that data logically as a graph for you > > > >> (JavaDoc > > > >>>> API). > > > >>>> > > > >>>> Neo4j is NOT a graph API over an existing database (e.g. MySQL). > > > >>>> > > > >>>> Hope that helps, > > > >>>> Marko. > > > >>>> > > > >>>> http://markorodriguez.com > > > >>>> > > > >>>> On May 2, 2011, at 10:03 AM, Anil Tatikonda wrote: > > > >>>> > > > >>>>> I have read through the Getting Started on Neo4j this morning. > > > >>>>> I understood that this a graphical database representation of our > > > data. > > > >>>>> > > > >>>>> But its very hard to imagine in terms of our Application. So > where > > > does > > > >>>> the > > > >>>>> data stay lets just say we have Customers and Orders like your > > > example > > > >>>> where > > > >>>>> does all that data live??? in a file locally or somewhere in the > > > >> database > > > >>>>> again and Neo4j is just a graphical representation of the same > data > > > >> ???? > > > >>>>> > > > >>>>> Thanks > > > >>>>> Anil Tatikonda > > > >>>>> _______________________________________________ > > > >>>>> Neo4j mailing list > > > >>>>> [email protected] > > > >>>>> https://lists.neo4j.org/mailman/listinfo/user > > > >>>> > > > >>>> _______________________________________________ > > > >>>> Neo4j mailing list > > > >>>> [email protected] > > > >>>> https://lists.neo4j.org/mailman/listinfo/user > > > >>>> > > > >>> _______________________________________________ > > > >>> Neo4j mailing list > > > >>> [email protected] > > > >>> https://lists.neo4j.org/mailman/listinfo/user > > > >> > > > >> _______________________________________________ > > > >> Neo4j mailing list > > > >> [email protected] > > > >> https://lists.neo4j.org/mailman/listinfo/user > > > >> > > > > _______________________________________________ > > > > Neo4j mailing list > > > > [email protected] > > > > https://lists.neo4j.org/mailman/listinfo/user > > > > > > _______________________________________________ > > > Neo4j mailing list > > > [email protected] > > > https://lists.neo4j.org/mailman/listinfo/user > > > > > _______________________________________________ > > Neo4j mailing list > > [email protected] > > https://lists.neo4j.org/mailman/listinfo/user > > > > > > -- > Adriano Almeida > Caelum | Ensino e Inovação > www.caelum.com.br > _______________________________________________ > Neo4j mailing list > [email protected] > https://lists.neo4j.org/mailman/listinfo/user > _______________________________________________ Neo4j mailing list [email protected] https://lists.neo4j.org/mailman/listinfo/user

