I think if you read up about our query language Cypher you should be able
to see that it is pretty simple to map your concepts to
- nodes with labels (:Person, :Product, :Recipe in your case) and
properties (name, etc)
- and relationships with type and direction :IS_FRIEND_OF, LOVES, HATES,
HAS_ALLERGY_TO, CONTAINS

see:
http://neo4j.com/docs/stable/cypherdoc-create-nodes-and-relationships.html
and: http://neo4j.com/developer/cypher/ and http://neo4j.com/developer/java
also the second part of our online course also talks about
updating/creating graphs http://neo4j.com/online-course
and the refcard: http://neo4j.com/docs/stable/cypher-refcard/

On Wed, Nov 19, 2014 at 11:55 PM, Pooja More <[email protected]>
wrote:

> Hello Everyone, I am new to Neo4j.
> I have generated some data through my java program. I want to fetch this
> generated data into Neo4j graphs. I am getting the data in text format as
> below,
>
> this/Product_Name={Product_Name$0}
> this/Product_Name<:CONTAINS={Product_Name$0->contents$0}
> this/Product_Name<:Prod_Name={Product_Name$0->Prod_Name$1}
> this/Prod_Name={Prod_Name$0, Prod_Name$1}
> this/contents={contents$0}
> this/contents<:content_Name={contents$0->Product_Name$0}
> this/Recipe_Name={Recipe_Name$0}
> this/Recipe_Type={Recipe_Type$0}
> this/Recipe_Type<:starter={Recipe_Type$0->type$0}
> this/Recipe_Type<:entree={Recipe_Type$0->type$1}
> this/Recipe_Type<:dessert={Recipe_Type$0->type$2}
> this/type={type$0, type$1, type$2}
> this/Recipe_Formula={Recipe_Formula$0}
> this/Recipe={}
> this/Recipe<:R_Name={}
> this/Recipe<:R_Type={}
> this/Recipe<:R_Formula={}
> this/Recipe<:HAS_INGREDIENT={}
> this/Person_Name={Person_Name$0}
> this/Person={}
> this/Person<:P_Name={}
> this/Person<:IS_FRIEND_OF={}
> this/Person<:LOVES={}
> this/Person<:HATES={}
> this/Person<:HAS_ALLERGY_TO={}
> which visually looks like, CodeView.bmp file which I have attached with
> this question.
> If you have any idea, about how I can get this working then it will be a
> great help.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to