Skip to content

ddlinh/gena-db

Repository files navigation

Gena User Guide

How to access to Gena Knowledge Graph on UI?

  1. Access to AuraDB Connection and click Accept on Terms & Condition. image

  2. Click the Connection dropdown, and choose the Connect option. image

  3. Enter: (Wait 60 seconds before connecting using these details)

  • NEO4J_URI=neo4j+s://e5c905b4.databases.neo4j.io
  • NEO4J_USERNAME=neo4j
  • NEO4J_PASSWORD=jpAl3O0n2X4Znvco3LtqM9fGoNamvGJH4PpdxPEJvlM

image

  1. Make your first query with CQL.
    • For example: "MATCH (n1:NUTRITION)-[r]->(n2:MENTAL_HEALTH) RETURN n1, r, n2 LIMIT 10") image

This query aims to extract the 10 directed relations from Nutrition to Mental Health. You can easily custom the query to get the desired information as instructed in CQL.

You can change the visualize mode by turning on the experimental visualization to get a more clear UI about the Nodes and Edges, as illustrated below. image

How to access to Gena Knowledge Graph from Application?

How to construct a GENA Database in AuraDB?

Let's move to the folder ./gena_data, there are 2 files which are:

  • gena_data_final.zip: a zip file contains gena_data_final.csv, which includes all nodes and edges of GENA DB. Apart from building knowledge graph, you can use this file for any specific purpose.
  • GENA_KN.ipynb: a jupyter notebook which includes codes to connect AuraDB via an identification (uri, username and password), as well as to create nodes and edges from gena_data_final.csv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published