specifications icon indicating copy to clipboard operation
specifications copied to clipboard

units for biosample samplingAge

Open cmdoret opened this issue 2 years ago • 1 comments

Hello and thanks for the great resource ! Currently the samplingAge property of BioSample has range schema:Integer. I assume the value is implicitely meant to be in years, which works for some species.

In many other species (flies, mice), the age is measured using a different unit. I think the unit should also be reflected in the property if needed. Would it be make sense to add schema:QuantitativeValue to the range of samplingAge so that a unit may be specified along with the value ?

cmdoret avatar Sep 09 '22 08:09 cmdoret

This makes sense to me. The pending property suggestedAge illustrates that QuantitativeValues is already being used as an expected value for age-related properties, so it's a reasonable suggestion.

Something like:

"samplingAge": {
  "@type": "schema:QuantitativeValue",
  "unitText": "hour",
  "value": "48"
}

or

"samplingAge": {
  "@type": "schema:QuantitativeValue",
  "unitCode": {"@id": "QUDT:h"},
  "value": "48"
}

gtsueng avatar Nov 08 '22 21:11 gtsueng