diff options
author | Munyoki Kilyungi | 2023-08-15 18:26:34 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2023-08-15 19:32:48 +0300 |
commit | e1f390b7fab33d33fa3d813a74ae8b7d935c929b (patch) | |
tree | 8b5b072d1ba92ae8fb136562c58f4a7b43095e19 /examples/dump-probesetfreeze.scm | |
parent | cfd8100788158f0c421a43b4c2d8281a3992b1e3 (diff) | |
download | gn-transform-databases-e1f390b7fab33d33fa3d813a74ae8b7d935c929b.tar.gz |
Introduce phenotype/genotype/probeset Dataset as a category
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples/dump-probesetfreeze.scm')
-rwxr-xr-x | examples/dump-probesetfreeze.scm | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/dump-probesetfreeze.scm b/examples/dump-probesetfreeze.scm index 86e614d..f528139 100755 --- a/examples/dump-probesetfreeze.scm +++ b/examples/dump-probesetfreeze.scm @@ -69,7 +69,6 @@ (left-join Tissue "ON ProbeFreeze.TissueId = Tissue.TissueId")) "WHERE ProbeSetFreeze.public > 0 AND InfoFiles.InfoPageName IS NULL GROUP BY ProbeFreeze.Id") (schema-triples - (gnc:probeset rdfs:subClassOf gnc:dataset) (gnt:usesNormalization rdfs:domain gnc:probeset) (gnt:usesDataScale rdfs:domain gnc:probeset) (gnt:usesDataScale a owl:ObjectProperty) @@ -83,16 +82,16 @@ 'pre "_" 'post) #:separator "" #:proc string-capitalize-first) - (set rdf:type 'gnc:probeset) + (set rdf:type 'gnc:probesetDataset) (set gnt:usesNormalization (string->identifier "avgmethod" ;; If AvgMethodName is NULL, assume N/A. (if (string-blank? (field AvgMethod Name AvgMethodName)) "N/A" (field AvgMethod Name AvgMethodName)))) (set dct:title (field ProbeSetFreeze FullName)) - (set rdfs:label (field ProbeSetFreeze Name)) + (set rdfs:label (field ProbeSetFreeze ShortName)) + (set skos:prefLabel (field ProbeSetFreeze Name)) (set skos:altLabel (field ProbeSetFreeze Name2)) - (set skos:prefLabel (field ProbeSetFreeze ShortName)) (set dct:created (annotate-field (field ProbeSetFreeze CreateTime) '^^xsd:datetime)) |