I'm working on creating a knowledge graph of relationships between entities in emails, using neo4j. I now need to convert natural language search queries into cypher queries. I have been unable to find anything concrete with regards to this. How do I proceed?
Asked
Active
Viewed 1,853 times
2
-
This question is much too broad for Stackoverflow. You may want to try the [Theoretical CS](https://cstheory.stackexchange.com/) site. – cybersam Jul 30 '20 at 19:07
1 Answers
4
Great paper on this topic: https://dspace.mit.edu/bitstream/handle/1721.1/119708/1078222310-MIT.pdf?sequence=1
This involves, at the core:
- Named Entity Recognition (custom NER with SpaCy, https://towardsdatascience.com/custom-named-entity-recognition-using-spacy-7140ebbb3718)
- Named Entity Linking (with a Knowledge Base, https://medium.com/analytics-vidhya/entity-linking-a-primary-nlp-task-for-information-extraction-22f9d4b90aa8)
- Relation Extraction (https://medium.com/@andreasherman/different-ways-of-doing-relation-extraction-from-text-7362b4c3169e) (although, the RE method in the aforementioned paper seems more concrete)
I'm not an expert on this at all- just beginning to learn about NLP, graph databases, etc.
So if anyone has additional resources or notes on the ones I shared, please contribute!

MGipson
- 41
- 3
-
1Any suggestions on training data set , example natural language and corresponding cypher query ? – sudil ravindran pk Feb 14 '23 at 10:23