putmantime / kg_hub_template_tp

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Download-Transform-Merge Template

KG hub template for tools to generate knowledge graphs for projects

Documentation

This template could be used for data ingestion for varied sources.

Components

  • Download: The download.yaml contains all the URLs for the source data.
  • Transform: The transform_utils contains the code relevant to trnsformations of the raw data into nodes and edges (tsv format)
  • Merge: Implementation of the 'merge' function from KGX using merge.yaml as a source file.

Utilities

The code for these are found in the utils folder.

  • ROBOT for transforming ontology.OWL to ontology.JSON

Examples Included

Thes examples have download links and transform codes from other projects.

The merge.yaml shows merging of the various KGs. In this example we have ENVO, CHEBI, NCBITaxon and the Traits KGs merged.

Implementation

Use this template to generate a template in the desired repository and then refactor the string project_name in the project to the desired project name.

About

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Jupyter Notebook 61.7%Language:Python 38.3%