Folders and files Name Name Last commit message
Last commit date
parent directory
View all files
find ../schema/biomedical_schema/ -name *.mcf -exec ./bmdc2sdo.py {} ;
- fix issue with multiple types in a rangeIncludes/subClassOf/domainIncludes.
- add enumerations exporter (and statvars?)
python mcf2turtle.py ~/working/datcom/schema/biomedical_schema/biological_taxonomy.mcf
find ~/working/datcom/schema/biomedical_schema/ -name *.mcf -exec ./mcf2turtle.py {} ;
find ~/working/datcom/schema/biomedical_schema/ -name *.mcf -exec ./mcf2turtle.py {} > ./{}.ttl ;
Schema.org Utility to import definitions from a Data Commons collection of MCF files.
Pass it a .mcf file, it should emit Schema.org configuration Turtle to STDOUT.
This allows us to spin up an instance of the Schema.org site codebase on AppSpot or elsewhere,
allowing draft proposals to be explored in their entirety.
via python mcf2turtle.py ~/working/datcom/schema/biomedical_schema/biological_taxonomy.mcf > tmp/biological_taxonomy.ttl
GeneticVariant_alt_id_database_properties.mcf
pharmGKB_id_properties.mcf
GeneticVariant_GenVarSource_enums.mcf
chemical_compound_enum.mcf
genome_annotation_enum.mcf
virus_taxonomic_ranking_enum.mcf
interaction_type_enum.mcf
Sample MCF property definition:
Node: dcid:medicalSubjectHeadingSupplementaryRecordID
name: "medicalSubjectHeadingSupplementaryRecordID"
rangeIncludes: dcs:MeSHSupplementaryRecord, schema:Text
domainIncludes: dcs:ChemicalCompound, dcs:MeSHSupplementaryRecord
description: "A unique ID for a Medical Subject Heading supplementary record."
You can’t perform that action at this time.