Skip to content

dongwookim-ml/kg-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kg-data

This repository contains two knowledge graph datasets: NATION and UMLS.

  • NATION contains relations between countries and consists of 14 entities(countries) and 56 relations.
  • UMLS is a biomedical ontology dataset and consists of 135 entities and 49 relations.

Both dataset consist of three tab-seperated files:

  • entities.txt: List of entities, formatted as entity_id \tab entity_name

  • relations.txt: List of relations, formatted as relation_id \tab relation_name

  • triples.txt: List of known facts, formatted as relation_id \tab entity_id1 \tab entity_id2

    • means entity_id1 has relation_id relation with entity_id2

Both entity-id and relation-id start from 0.

Additionally, UMLS dataset contains one more file: entity_category.txt, which contains a group name of each entity in UMLS data, and formatted as entity_id \tab entity_category.

About

knowledge-graph datasets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published