Skip to content

Commit

Permalink
This updates the biomedical schema to make a new parent class "Associ…
Browse files Browse the repository at this point in the history
…ation" (subClassOf: schema:Thing), of which all association type nodes are a subclass. At this time this includes the classes: ChemicalCompoundAssociation, DiseaseAssociation, and GeneticAssociation. All node types in BMDC that are association nodes are subclasses of one or more of these three association subtypes. The superclass ensures that all of these Association nodes are identifiable.

PiperOrigin-RevId: 698153887
  • Loading branch information
spiekos authored and copybara-github committed Nov 19, 2024
1 parent 485d5f7 commit 3c965aa
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
8 changes: 7 additions & 1 deletion biomedical_schema/chemical_compound.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ typeOf: schema:Class
subClassOf: dcs:Protein
description: "An antibody is a kind of protective protein which is produced by the immune system when substances from the outer source invade the living organisms. The process of producing the antibodies is called immune response."

Node: dcid:Association
name: "Association"
typeOf: schema:Class
subClassOf: schema:Thing
description: "An observed association between two entities."

Node: dcid:BiomedicalEntity
name: "BiomedicalEntity"
typeOf: schema:Class
Expand All @@ -34,7 +40,7 @@ descriptionUrl: "https://www.ebi.ac.uk/chembl/"
Node: dcid:ChemicalCompoundAssociation
name: "ChemicalCompoundAssociation"
typeOf: schema:Class
subClassOf: dcs:ChemicalCompound
subClassOf: dcs:Association,dcs:ChemicalCompound
description: "Observed association between a chemical compound and another entity type."

Node: dcid:ChemicalCompoundChemicalCompoundAssociation
Expand Down
6 changes: 3 additions & 3 deletions biomedical_schema/disease.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ descriptionUrl: "https://disease-ontology.org/"
Node: dcid:DiseaseAssociation
name: "DiseaseAssociation"
typeOf: schema:Class
subClassOf: dcs:Disease
subClassOf: dcs:Association,dcs:Disease
description: "The association between a disease and a second type of entity."

Node: dcid:DiseaseDiseaseAssociation
Expand All @@ -20,13 +20,13 @@ description: "The association between two diseases."
Node: dcid:DiseaseGeneAssociation
name: "DiseaseGeneAssociation"
typeOf: schema:Class
subClassOf: dcs:DiseaseAssociation
subClassOf: dcs:DiseaseAssociation,dcs:GeneticAssociation
description: "The association of a disease with a gene."

Node: dcid:DiseaseGeneticVariantAssociation
name: "DiseaseGeneticVariantAssociation"
typeOf: schema:Class
subClassOf: dcs:DiseaseAssociation
subClassOf: dcs:DiseaseAssociation,dcs:GeneticAssociation
description: "The association between a disease and a genetic variant."

Node: dcid:MeSHConcept
Expand Down
2 changes: 1 addition & 1 deletion biomedical_schema/genome_annotation.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ description: "The association between a gene and a genetic variant. This associa
Node: dcid:GeneticAssociation
name: "GeneticAssociation"
typeOf: schema:Class
subClassOf: dcs:GenomeAnnotation
subClassOf: dcs:Association,dcs:GenomeAnnotation
description: "Association between a genome annotation and another entity type."

Node: dcid:GeneticVariant
Expand Down

0 comments on commit 3c965aa

Please sign in to comment.