about summary refs log tree commit diff
path: root/examples/dump-probesetfreeze.scm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dump-probesetfreeze.scm')
-rwxr-xr-xexamples/dump-probesetfreeze.scm7
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))