https://github.com/lucacappelletti94/kg-biolink
A knowledge graph for the BioLink metadata standard
https://github.com/lucacappelletti94/kg-biolink
Last synced: 11 months ago
JSON representation
A knowledge graph for the BioLink metadata standard
- Host: GitHub
- URL: https://github.com/lucacappelletti94/kg-biolink
- Owner: LucaCappelletti94
- License: mit
- Created: 2023-06-14T06:35:58.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-31T08:35:51.000Z (over 2 years ago)
- Last Synced: 2025-02-08T13:13:54.894Z (about 1 year ago)
- Language: Jupyter Notebook
- Size: 32.3 MB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kg-biolink
A knowledge graph for the BioLink metadata standard
## Building the latest version of the KG
To build the latest version of the KG, run the following:
```bash
python pipeline.py
```
## Loading the graph with GRAPE
After cloning the repository, you can load the graph with GRAPE by running the following:
```python
from grape import Graph
kg = Graph.from_csv(
node_path="kg_biolink_nodes_3.5.1.tsv",
nodes_column="node_name",
node_list_node_types_column="node_type",
node_types_separator="|",
edge_path="kg_biolink_edges_3.5.1.tsv",
sources_column="source",
destinations_column="destination",
edge_list_edge_types_column="edge_type",
name="KGBioLink",
directed=True
)
```