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,865 2 View
I have prepared PMMA-toluene solution and now i have to add sio2 particles into it with different concentration, before adding sio2 particles it’s surface need to be modified. So , how can sio2...
02 March 2019 747 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,843 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,456 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 3,124 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,598 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,213 0 View
i want to work on text classification using deep learning. please suggest me best baseline.
04 May 2018 1,975 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,255 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,329 4 View
“Here is a thought experiment. Let's place Rodolpho Llinas's jarred-brain on top of a body (Fig. 1). I bet Llinas would argue that his jarred-brain retains its own consciousness, and the android...
11 August 2024 2,483 1 View
The rate of glucose consumption by the neocortex is reduced by over 80% during anesthesia (Sibson et al. 1998), which disables the synapses (Richards 2002) that are inundated by glial tissue (Engl...
08 August 2024 3,118 0 View
Larger brains, which typically contain more neurons, store and transfer more information (Tehovnik and Chen 2015), but the precise relationship between number of neurons and information has yet to...
05 August 2024 1,238 2 View
I need the python code to forecast what crop production will be in the next decade considering climate and crop production variables as seen in the attached.csv file.
05 August 2024 2,977 3 View
Brain and body mass together are positively correlated with lifespan (Hofman 1993). The duration of neural development is one of the best predictors of brain size, and conception is the best...
05 August 2024 6,247 3 View
Hi everyone, If you have written or come across any papers where Generalised Linear Mixed Models are used to examine intervention (e.g., in mental health) efficacy, could you please share the...
04 August 2024 4,130 4 View
Hello everyone, I am currently working on a research project that aims to integrate machine learning techniques into an open source SIEM tool to automate the creation of security use cases from...
04 August 2024 3,196 2 View
HOW CAN I WRITE A CODE TO USE THE WAVENET TRANSFORM AS A FEATURE EXTRACTION METHOD INSTEAD OF DWT IN MATLAB?
03 August 2024 7,829 0 View
When the entire neocortex is ablated in rodents, although they are still able to swim, all the limbs move continuously and asynchronously (Vanderwolf 2006; Vanderwolf et al. 1978). Normal animals...
03 August 2024 835 3 View
I got comment on my FTIR data figure from a reviewer. The reviewer said "FTIR data in Figure should be repeated. there is no bassline." I made Y off set comparison graph of FTIR on OriginLab. Can...
03 August 2024 6,070 3 View