Neo4j Tutorial in Sinhala - Neo4j Graph Database

Поділитися
Вставка
  • Опубліковано 6 лис 2024
  • Neo4j is a graph database management system which is becoming extremely popular these days. So, having the knowledge in neo4j will be a huge advantage for you when you are applying for a job or going for freelancing.
    Contact - codewithbanchi@gmail.com
    Happy coding guys :)

КОМЕНТАРІ • 8

  • @CodeWithBanchi
    @CodeWithBanchi  Рік тому +4

    CREATE
    // informations about STUDENTs
    (kasun:STUDENT:MONITOR{name:'kasun gayantha',age:18,grade:12,marks:45}),
    (nimal:STUDENT{name:'nimal udayanga',age:19,grade:13,marks:56}),
    (piyal:STUDENT{name:'piyal rajapaksha',age:17,grade:12,marks:67}),
    (gayan:STUDENT{name:'gayan perera',age:17,grade:13,marks:45}),
    (wimal:STUDENT{name:'wimal udayanga',age:18,grade:13,marks:55}),
    (namal:STUDENT{name:'namal wimanga',age:21,grade:13,marks:97}),
    (wimani:STUDENT{name:'wimani nilushika',age:13,grade:6,marks:45}),
    (nilushi:STUDENT{name:'nilushi priyangika',age:34,grade:13,marks:45}),
    (priyan:STUDENT{name:'priyan athukorala',age:24,grade:12,marks:34}),
    (kamal:STUDENT{name:'kamal priyanka',age:22,grade:12,marks:24}),
    //informations about the teachers
    (gunasekara:TEACHER{name:'gunasekara wimalarathna',subject:'sinhala',grade:13}),
    (nilushika:TEACHER{name:'nilushi kumari',subject:'maths',grade:12}),
    (ranga:TEACHER{name:'ranga disanayake',subject:'arts',grade:12}),
    (sarath:TEACHER{name:'sarath kumara',subject:'science',grade:13}),
    // informations about subjects
    (sinhala:SUBJECT {name:'sinhala litrature'}),
    (maths:SUBJECT{name:'maths'}),
    (arts:SUBJECT{name:'arts'}),
    (science:SUBJECT{name:'science'}),
    // relationships
    (kasun) -[:FRIENDS]-> (nimal),
    (kasun) -[:FRIENDS]-> (piyal),
    (kasun)-[:FRIENDS]->(gayan),
    (kasun)-[:FRIENDS]->(namal),
    (kasun)-[:FRIENDS]->(wimani),
    (kasun)-[:FRIENDS]->(nilushi),
    (priyan)-[:FRIENDS]->(kamal),
    (nilushi)-[:FRIENDS]->(priyan),
    (gayan)-[:FRIENDS]->(nimal),
    (gunasekara) -[:TEACHES]-> (kasun),
    (gunasekara)-[:TEACHES]->(piyal),
    (gunasekara)-[:TEACHES]->(nilushi),
    (ranga)-[:TEACHES]->(wimani),
    (ranga)-[:TEACHES]->(kamal),
    (ranga)-[:TEACHES]->(nimal),
    (nilushika)-[:TEACHES]->(wimal),
    (nilushika)-[:TEACHES]->(namal),
    (nilushika)-[:TEACHES]->(wimani),
    (sarath)-[:TEACHES]->(nilushi),
    (sarath)-[:TEACHES]->(priyan),
    (sarath)-[:TEACHES]->(kamal),
    //relationships with relationship properties
    (kasun)-[:STUDIES{marks:23}]->(sinhala),
    (nimal)-[:STUDIES{marks:44}]->(maths),
    (piyal)-[:STUDIES{marks:67}]->(science),
    (gayan)-[:STUDIES{marks:45}]->(sinhala),
    (wimal)-[:STUDIES{marks:78}]->(science),
    (namal)-[:STUDIES{marks:23}]->(maths),
    (nilushi)-[:STUDIES{marks:45}]->(arts),
    (priyan)-[:STUDIES{marks:78}]->(science),
    (kamal)-[:STUDIES{marks:56}]->(sinhala),
    (kasun)-[:STUDIES{marks:90}]->(maths);

  • @thinanadl4939
    @thinanadl4939 Рік тому

    Hi bro can you create a video about how to integrate neo4j and chatGPT , also about auradb

  • @bhashithaviduranga6207
    @bhashithaviduranga6207 Рік тому

    Godak watinawa.... thank you soo much ❤

  • @mikunikentaro3940
    @mikunikentaro3940 Рік тому

    Thank You for your valuable time. Appreciate

  • @nemalperera
    @nemalperera 6 місяців тому

    Super Bro...

  • @savinduruhunuhewa9753
    @savinduruhunuhewa9753 9 місяців тому

    Ayya meke foreign key. primary key ehema nadda nikan sql wala wage

  • @KavindikaKurundugahamada
    @KavindikaKurundugahamada Місяць тому

    Thank you

  • @mininduthiranjaya9605
    @mininduthiranjaya9605 Рік тому

    Thank you so much!❤️💥👌