about summary refs log tree commit diff
path: root/examples/dump-genotype.scm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dump-genotype.scm')
-rwxr-xr-xexamples/dump-genotype.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/dump-genotype.scm b/examples/dump-genotype.scm
index 4ac836d..ed23e80 100755
--- a/examples/dump-genotype.scm
+++ b/examples/dump-genotype.scm
@@ -37,7 +37,7 @@
         'pre "_" 'post)
        #:separator ""
        #:proc string-capitalize-first)
-    (set rdf:type 'gnc:genotype)
+    (set rdf:type 'gnc:genotypeDataset)
     (set rdfs:label (field GenoFreeze Name))
     (set skos:prefLabel (field GenoFreeze FullName))
     (set skos:altLabel (field GenoFreeze ShortName))
@@ -54,6 +54,10 @@
            (left-join InbredSet "ON InbredSet.InbredSetId = GenoFreeze.InbredSetId")
            (left-join InfoFiles "ON InfoFiles.InfoPageName = GenoFreeze.Name")))
   (schema-triples
+   (gnc:genotype a skos:Concept)
+   (gnc:genotype
+    skos:description
+    "This is a set of controlled terms that are used to describe a given genotype")
    (gnt:chr a owl:ObjectProperty)
    (gnt:chr skos:description "This resource is located on a given chromosome")
    (gnt:chr rdfs:domain gnc:genotype)