These python scripts connect to the Unified Medical Language System (UMLS) database and translate the ontologies into RDF/OWL files. This is part of the BioPortal project.
Python Shell
Latest commit afe8e37 Mar 8, 2017 @msalvadores msalvadores committed on GitHub Merge pull request #19 from sifrproject/master
More conf possibilities and fix lang codes
Permalink
Failed to load latest commit information.
output Check for output directory before RDF generation. Supply default. May 28, 2012
.gitignore new ignore settings Aug 28, 2013
.project
.pydevproject Add eclipe project files. Mar 27, 2013
COPYING BSD license included Jul 30, 2013
README update readme to warn about sources with no code. May 5, 2016
checkOutputSyntax.sh Add script to validate turtle output syntax. Mar 29, 2013
conf_sample.py Merge branch 'master' of github.com:ncbo/umls2rdf Mar 7, 2017
move_rdf_to_repo.py utility script to move RDF files to BP repo May 27, 2014
umls.conf
umls2rdf.py Fixed issue #3 Mar 7, 2017

README

This project takes the MYSQL Unified Medical Language System (UMLS) database to convert the ontologies to RDF using OWL and SKOS as main schemas.

To use it:
    (a) Specify your database connection conf.py
    (b) Specify the SAB ontologies to export in umls.conf.

The configuration file umls.conf must contain one ontology per line. The lines are comma separated tuples where the elements are:
    (0) SAB
    (1) BioPortal Virtual ID. This is optional, any value works.
    (2) Output file name.
    (3) Conversion strategy. Accepted values (load_on_codes, load_on_cuis).

Notice that  'CCS COSTAR DSM3R DSM4 DXP ICPC2ICD10ENG MCM MMSL MMX MTHCMSFRF MTHMST MTHSPL MTH NDFRT SNM' have no code and should not be loaded on loads_on_codes

umls2rdf.py has been designed to be an off-line run-once process, it is a memory intensive process and exports all the default ontologies in umls.conf in 3h 30min. The ontologies listed in umls.conf are the UMLS ontologies accessible at bioportal.bioontology.org.