Octavian-ai / english2cypher

A model to transform english into Cypher queries, based off the CLEVR-graph dataset
The Unlicense
76 stars 20 forks source link

Uploading custom graph #8

Open pandeysudhanshu opened 5 years ago

pandeysudhanshu commented 5 years ago

I want to upload my own graph and test the model for the same. I cannot really find a way to do so. Could you please help?

davidhughhenrymack commented 5 years ago

Sure - how far have you got? At what point are you getting stuck?

On March 5, 2019 at 10:35:54 PM, pandeysudhanshu (notifications@github.com) wrote:

I want to upload my own graph and test the model for the same. I cannot really find a way to do so. Could you please help?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Octavian-ai/english2cypher/issues/8, or mute the thread https://github.com/notifications/unsubscribe-auth/AOUFIsVl99ZFdPLsnVGisCptFjiASscdks5vT2HJgaJpZM4bgKSG .

pandeysudhanshu commented 5 years ago

Thanks for you reply! I have obtained Triples for unstructred data in the format of (Subject, Object, Predicate) which I am feeding to Neo4J to get a KG. I wanted to query the graph using the model you have built, but I havent been successful at doing it, since I cannot test the model for my graph. It would be really helpful if you could tell me how to query my graph using this model.

davidhughhenrymack commented 5 years ago

Sure-

  1. Generate pairs of english language - cypher queries that are relevant to your data
  2. Train e2c on those pairs and ensure it gets a good accuracy
  3. Make sure e2c has the connection details for your graph
  4. use e2c predict mode to take people’s english questions and query the graph

On March 6, 2019 at 7:03:01 AM, pandeysudhanshu (notifications@github.com) wrote:

Thanks for you reply! I have obtained Triples for unstructred data in the format of (Subject, Object, Predicate) which I am feeding to Neo4J to get a KG. I wanted to query the graph using the model you have built, but I havent been successful at doing it, since I cannot test the model for my graph. It would be really helpful if you could tell me how to query my graph using this model.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Octavian-ai/english2cypher/issues/8#issuecomment-470137962, or mute the thread https://github.com/notifications/unsubscribe-auth/AOUFIsS2z28ao1PkhX0Q9a0cbULfwLBSks5vT9ikgaJpZM4bgKSG .