Skip to content

Commit

Permalink
add enums for response target
Browse files Browse the repository at this point in the history
  • Loading branch information
sierra-moxon committed Sep 23, 2024
1 parent ca9a0df commit 26c3315
Show file tree
Hide file tree
Showing 13 changed files with 22,798 additions and 21,685 deletions.
52 changes: 50 additions & 2 deletions biolink-model.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1165,15 +1165,22 @@ slots:
description: >-
a biological response (general, study, cohort, etc.) with a specific set of characteristics to constrain
an association.
is_a: qualifier
is_a: context qualifier
range: ResponseEnum

response target context qualifier:
description: >-
a biological response target (a patient, a cohort, a model system, a cell line, a sample of biological material,
etc.)
is_a: context qualifier
range: ResponseTargetEnum

population context qualifier:
description: >-
a biological population (general, study, cohort, etc.) with a specific
set of characteristics to constrain an association.
is_a: qualifier
range: population of individual organisms
range: population of individual organisms # TODO: harmonize with 'response target context qualifier'

Check warning on line 1183 in biolink-model.yaml

View workflow job for this annotation

GitHub Actions / validate-yaml

1183:47 [comments] too few spaces before comment

Check warning on line 1183 in biolink-model.yaml

View workflow job for this annotation

GitHub Actions / build (3.9)

1183:47 [comments] too few spaces before comment

Check warning on line 1183 in biolink-model.yaml

View workflow job for this annotation

GitHub Actions / build (3.10)

1183:47 [comments] too few spaces before comment

temporal context qualifier:
description: >-
Expand Down Expand Up @@ -9396,6 +9403,30 @@ classes:
- owl:Axiom


disease associated with response to chemical entity association:
description: >-
A statistical association between a disease and a chemical entity where the
chemical entity has a therapeutic or adverse effect on the disease progression, symptoms or outcomes
in a patient, cell line, or any model system.
is_a: association
slots:
- response context qualifier
- response target context qualifier
defining_slots:
- subject
- predicate
- object
- response context qualifier
- response target context qualifier
slot_usage:
subject:
range: disease
object:
range: chemical entity
predicate:
subproperty_of: associated with response to


chemical entity assesses named thing association:
is_a: association
slot_usage:
Expand Down Expand Up @@ -11536,6 +11567,23 @@ enums:
description: >-
A negative response to a treatment or intervention
ResponseTargetEnum:
description: >-
The target of a treatment or intervention
permissible_values:
cohort:
description: >-
A group of individuals that are the target of a treatment or intervention
cell line:
description: >-
A cell line that is the target of a treatment or intervention
individual:
description: >-
An individual that is the target of a treatment or intervention
sample:
description: >-
A biological materialsample that is the target of a treatment or intervention
ApprovalStatusEnum:
description: >-
permissible_values:
Expand Down
44 changes: 44 additions & 0 deletions project/graphql/biolink_model.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1990,6 +1990,50 @@ type Disease
inTaxonLabel: LabelType
}

type DiseaseAssociatedWithResponseToChemicalEntityAssociation
{
id: String!
iri: IriType
name: LabelType
description: NarrativeText
hasAttribute: [Attribute]
deprecated: Boolean
negated: Boolean
qualifier: String
qualifiers: [OntologyClass]
publications: [Publication]
hasEvidence: [EvidenceType]
knowledgeSource: String
primaryKnowledgeSource: String
aggregatorKnowledgeSource: [String]
knowledgeLevel: KnowledgeLevelEnum!
agentType: AgentTypeEnum!
timepoint: TimeType
originalSubject: String
originalPredicate: Uriorcurie
originalObject: String
subjectCategory: OntologyClass
objectCategory: OntologyClass
subjectClosure: [String]
objectClosure: [String]
subjectCategoryClosure: [OntologyClass]
objectCategoryClosure: [OntologyClass]
subjectNamespace: String
objectNamespace: String
subjectLabelClosure: [String]
objectLabelClosure: [String]
retrievalSourceIds: [RetrievalSource]
pValue: Float
adjustedPValue: Float
type: [String]
category: [Uriorcurie]
responseContextQualifier: ResponseEnum
responseTargetContextQualifier: ResponseTargetEnum
subject: Disease!
object: ChemicalEntity!
predicate: PredicateType!
}

type DiseaseOrPhenotypicFeature
{
id: String!
Expand Down
14 changes: 13 additions & 1 deletion project/jsonld/biolink_model.context.jsonld
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"comments": {
"description": "Auto generated by LinkML jsonld context generator",
"generation_date": "2024-09-23T15:28:36",
"generation_date": "2024-09-23T15:50:25",
"source": "biolink_model.yaml"
},
"@context": {
Expand Down Expand Up @@ -2134,6 +2134,15 @@
"@type": "@id",
"@id": "response_increased_by"
},
"response_target_context_qualifier": {
"@context": {
"@vocab": "@null",
"text": "skos:notation",
"description": "skos:prefLabel",
"meaning": "@id"
},
"@id": "response_target_context_qualifier"
},
"retrieval_source_ids": {
"@type": "@id",
"@id": "retrieval_source_ids"
Expand Down Expand Up @@ -2708,6 +2717,9 @@
"Disease": {
"@id": "Disease"
},
"DiseaseAssociatedWithResponseToChemicalEntityAssociation": {
"@id": "DiseaseAssociatedWithResponseToChemicalEntityAssociation"
},
"DiseaseOrPhenotypicFeature": {
"@id": "DiseaseOrPhenotypicFeature"
},
Expand Down
Loading

0 comments on commit 26c3315

Please sign in to comment.