German-BioImaging / dtplatform

Infrastructure for the Delta Tissue Data Resource Catalog Platform
0 stars 2 forks source link

How to model "cummulative dose"? #15

Open andrawaag opened 2 years ago

andrawaag commented 2 years ago

GBM-1 has a column with the field header "cummulative dose preV1 steroid use in mg". I have modelled it as follows:

    # cummulative dose preV1 steroid use in mg
    cummulativedose = BNode()
    g.add((pathology, OBO.RO_0002334, cummulativedose))
    g.add((cummulativedose, RDF.type, OBO.SIO_001019)) # Dose
    g.add((cummulativedose, RDF.range, OBO.CHEBI_35341)) # steroids
    timeOfMeasurement = BNode()
    g.add((cummulativedose, OBO.IAO_0000581, timeOfMeasurement))
    g.add((timeOfMeasurement, RDFS.label, Literal("preV1")))
    g.add((specimenHandling, SIO.SIO_000221, OBO.UO_0000022)) # unit miligrammes 

I was not able to find a URI to represent "cumulative" and currently only captures the semantics of "dose"