aboutsummaryrefslogtreecommitdiff
path: root/examples/dump-dataset-metadata.scm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dump-dataset-metadata.scm')
-rwxr-xr-xexamples/dump-dataset-metadata.scm7
1 files changed, 4 insertions, 3 deletions
diff --git a/examples/dump-dataset-metadata.scm b/examples/dump-dataset-metadata.scm
index 3d2e1f9..e099bac 100755
--- a/examples/dump-dataset-metadata.scm
+++ b/examples/dump-dataset-metadata.scm
@@ -73,8 +73,9 @@
"WHERE GN_AccesionId IS NOT NULL")
(schema-triples
(gnc:dataset rdf:type gdmt:Dataset)
- (gnc:genotype rdfs:subClassOf gnc:dataset)
- (gnc:phenotype rdfs:subClassOf gnc:dataset)
+ (gnc:genotypeDataset rdfs:subClassOf gnc:dataset)
+ (gnc:phenotypeDataset rdfs:subClassOf gnc:dataset)
+ (gnc:probesetDataset rdfs:subClassOf gnc:dataset)
(gnt:belongsToInbredSet rdfs:domain gnc:dataset)
(gnt:belongsToInbredSet a owl:ObjectProperty)
(gnt:belongsToInbredSet skos:definition "The InbredSet this resource belongs to")
@@ -124,7 +125,7 @@
#:separator ""
#:proc string-capitalize-first)
(set rdf:type (string->symbol
- (field ("IF(GenoFreeze.Id IS NOT NULL, 'gnc:genotype', IF(PublishFreeze.Id IS NOT NULL, 'gnc:phenotype', 'gnc:dataset'))"
+ (field ("IF(GenoFreeze.Id IS NOT NULL, 'gnc:genotypeDataset', IF(PublishFreeze.Id IS NOT NULL, 'gnc:phenotypeDataset', IF(ProbeSetFreeze.Name IS NOT NULL, 'gnc:probesetDataset', 'gnc:dataset')))"
rdfType))))
(set rdfs:label (regexp-substitute/global
#f "^[Nn]one$"