{"id":15905974,"url":"https://github.com/lucacappelletti94/kg-biolink","last_synced_at":"2025-04-02T22:42:58.682Z","repository":{"id":175253317,"uuid":"653484849","full_name":"LucaCappelletti94/kg-biolink","owner":"LucaCappelletti94","description":"A knowledge graph for the BioLink metadata standard","archived":false,"fork":false,"pushed_at":"2023-07-31T08:35:51.000Z","size":33895,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-08T13:13:54.894Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LucaCappelletti94.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-06-14T06:35:58.000Z","updated_at":"2023-06-14T10:53:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f3d2f6d-8a61-4487-aac9-2bc9b3ec90a9","html_url":"https://github.com/LucaCappelletti94/kg-biolink","commit_stats":{"total_commits":7,"total_committers":1,"mean_commits":7.0,"dds":0.0,"last_synced_commit":"b9e1c91392802d353b9964e1f6534b9b749e605a"},"previous_names":["lucacappelletti94/kg-biolink"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fkg-biolink","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fkg-biolink/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fkg-biolink/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaCappelletti94%2Fkg-biolink/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LucaCappelletti94","download_url":"https://codeload.github.com/LucaCappelletti94/kg-biolink/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246905830,"owners_count":20852818,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-06T13:20:26.487Z","updated_at":"2025-04-02T22:42:58.641Z","avatar_url":"https://github.com/LucaCappelletti94.png","language":"Jupyter Notebook","readme":"# kg-biolink\nA knowledge graph for the BioLink metadata standard\n\n## Building the latest version of the KG\nTo build the latest version of the KG, run the following:\n\n```bash\npython pipeline.py\n```\n\n## Loading the graph with GRAPE\nAfter cloning the repository, you can load the graph with GRAPE by running the following:\n\n```python\nfrom grape import Graph\n\nkg = Graph.from_csv(\n    node_path=\"kg_biolink_nodes_3.5.1.tsv\",\n    nodes_column=\"node_name\",\n    node_list_node_types_column=\"node_type\",\n    node_types_separator=\"|\",\n    edge_path=\"kg_biolink_edges_3.5.1.tsv\",\n    sources_column=\"source\",\n    destinations_column=\"destination\",\n    edge_list_edge_types_column=\"edge_type\",\n    name=\"KGBioLink\",\n    directed=True\n)\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucacappelletti94%2Fkg-biolink","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucacappelletti94%2Fkg-biolink","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucacappelletti94%2Fkg-biolink/lists"}