I had a data set of questions and answers. Now i am interested to create nodes and relationships to the question&answer data set.
how i should proceed.
the query should write in cypher in neo4j.
In the simple case, if any single question will have one single answer; you'll have a bipartite graph i think.
- You will have two classes of nodes : questions and answers and relationships
It is so simple to do it using cypher, I suppose the questions and answers have IDs which will make easy searching nodes by their IDs.
The following is a simple example of using cypher to insert questions and answers :
CREATE (Q:Question { Q_ID: '00001', Q_text: 'bla bla bla.' })
CREATE (Q:Question { Q_ID: '00002', Q_text: 'bla bla bla.' })
CREATE (A:Answer { A_ID: '00001', A_text: 'bla bla bla.' })
CREATE (A:Answer { A_ID: '00002', A_text: 'bla bla bla.' })
***** to insert a relationship you will use this :
MATCH (q1:Question),(a1:Answer)
WHERE q1.Q_ID= '00001' AND a1.A_ID = '00001'
CREATE (a1)-[r:answers_to]->(q1)
RETURN type(r)
I hope that the syntax is clear to you.
Good luck.
Dear Prashanth Kolaneru,
Look the link, maybe helpful.
https://medium.com/octavian-ai/clevr-graph-a-dataset-for-graph-based-reasoning-5e4e64f28ffb
https://pdfs.semanticscholar.org/f511/7084ca43e888fb3e17ab0f0e684cced0f8fd.pdf
Regards, Shafagat
In addition, to a simple graph model, You can perform some Natural Language Processing (NLP) tasks for some semantic analysis. Have a look at the following link
https://medium.com/neo4j/using-nlp-in-neo4j-ac40bc92196f
I had Trained data of various images of truck tyres using the CNN model to classify whether the image is a good tyre or Bad tyre. When I am giving non-tyre image to my model, the model is...
01 February 2020 9,776 2 View
02 March 2019 659 4 View
I had done semantic similarity to identify duplicate questions in data set using LSTM networks in python jupyter notebook. Now i want to do this task on neo4j to build knowledge graphs.
31 December 2018 3,747 4 View
I am doing thesis on baby cry detection, i build the model with CNN and KNN, i got train accuracy of CNN is 99% and Test accuarcy is 98% and KNN train accuarcy is 98% and Test accuracy 98%. please...
31 December 2018 4,361 4 View
I am doing thesis on baby cry prediction. i had dataset of baby cries and non- baby cries of two classes. i want use Mfcc feature extraction technique to identify important components of audio...
11 December 2018 2,993 4 View
i build baby cry detection system using deep learning algorithm. i had used hardware raspberry and sound sensor as mic. when baby starts cry then the system should detect the cry. its working...
08 September 2018 7,490 4 View
i had load a data set in neo4j using cypher query. when i load the data i found some null in between the words. how to clean the null values. my aim is to find word count frequency. LOAD CSV...
08 September 2018 6,021 0 View
i want to work on text classification using deep learning. please suggest me best baseline.
04 May 2018 1,838 5 View
so far i started with downloaded audio cry data and convert to list of arrays. after i need to do feature extraction. please suggest me some feature extraction techniques to mark important...
02 March 2018 6,161 8 View
i want to read a given data set of audio and convert to feature vector to build a machine learning model. using python syntax the audio data set in ogg format
02 March 2018 7,191 4 View
What Characteristics makes CNN work better?
03 March 2021 1,458 4 View
i would to know some of the research gaps in the artificial intelligence field in most african countries.
03 March 2021 6,145 3 View
Results of single-case research designs (i.e., n-of-1 trials) are often evaluated by visually inspecting the time-series graph and computing quantitative indices. A question our research team is...
03 March 2021 687 1 View
I have selected brain tumor images ...but now found that already lots of research done n this topic.
03 March 2021 5,774 3 View
I have conducted and published a systematic review and meta-analysis research with the topic related to public health and health pomotion (protocol was registed in PROSPERO). Now we want to...
03 March 2021 8,920 3 View
dear community, my model is based feature extraction from non stationary signals using discrete Wavelet Transform and then using statistical features then machine learning classifiers in order to...
03 March 2021 6,994 5 View
Hi everyone, I'm studying Marketing and I would like to write my PhD thesis on the topic of pricing. Any specific ideas?
02 March 2021 9,706 5 View
We are analysing scientific reports at University in great detail, so I wanted to find a scientific report about how to write a scientific report. Including detail such as what information to put...
02 March 2021 7,602 4 View
I feel that the practice in teacher education in my country is below the expected performance level due to very poor management system. Hope I will learn something from your experiences.
02 March 2021 1,516 4 View
We have one plant, the local people using this for controlling blood sugar, the toxicity and antidiabetic activity of the plant is not reported yet, please guide from whag should be the process ?...
02 March 2021 2,300 1 View