Skip to content

NCATSTranslator/Translator_component_toolkit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Translator component toolkit (TCT)

What is TCT?

Translator Component Toolkit is a python library that allowing users to explore and use KGs in the Translator ecosystems.

Key features for TCT

Allowing users to select APIs, predicates according to the user's intention.
Parallel and fast quering of the selected APIs.
Providing reproducible results by setting contraints.
Allowing testing whether a user defined API follows a TRAPI standard or not.
Faciliting to explore knowledge graphs from both Translator ecosystem and user defined APIs.
Connecting large language models to convert user's questions into TRAPI queries.

How to use TCT

Install Requirments

Follow the requirements to be able to run all the notebooks.
pip install -r requirements.txt

Please follow the example notebooks (three utilities) below to explore the Translator APIs.

Connection finder

Example notebook for ConnectionFinder

Path finder

Example notebook for PathFinder

Network finder

Example notebook for NetworkFinder

Translate users' questions into TRAPI queries

Example notebook for translating users' questions into TRAPI queries can be found here.

Connecting to a user's API

API should be developed following the standard from TRAPI.
An example notebook for add a user's API can be find here.
Warning: It does not work if no user' API is established

Contributing

TCT is a tool that helps to explore knowledge graphs developed in the Biomedical Data Translator Consortium. Consortium members and external contributors are encouraged to submit issues and pull requests.

Contact info

Guangrong Qin, guangrong.qin@isbscience.org

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 92.9%
  • Python 7.1%