about summary refs log tree commit diff
path: root/examples/dump-species-metadata.scm
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-08-21 14:31:52 +0300
committerMunyoki Kilyungi2023-08-21 14:31:52 +0300
commite25db8edf8615f59d0682841fde8d43367ebfa53 (patch)
tree1050b589e84f77c007470296367e44dbf4106dfb /examples/dump-species-metadata.scm
parent3b9f1f53722e4866309d1555639c347c7bbacc97 (diff)
downloadgn-transform-databases-e25db8edf8615f59d0682841fde8d43367ebfa53.tar.gz
Rename inbredSet -> set
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples/dump-species-metadata.scm')
-rwxr-xr-xexamples/dump-species-metadata.scm16
1 files changed, 8 insertions, 8 deletions
diff --git a/examples/dump-species-metadata.scm b/examples/dump-species-metadata.scm
index ca51ed2..a1c942e 100755
--- a/examples/dump-species-metadata.scm
+++ b/examples/dump-species-metadata.scm
@@ -146,25 +146,25 @@ At this point it is not very clear how Name, Name2, Symbol and Alias are used.
            (left-join MappingMethod
                       "ON InbredSet.MappingMethodId=MappingMethod.Id")))
   (schema-triples
-   (gnc:inbredSet skos:broader gnc:species)
-   (gnc:inbredSet skos:definition "A set of terms used to describe an inbred set")
+   (gnc:set skos:broader gnc:species)
+   (gnc:set skos:definition "A set of terms used to describe an set, which can be inbredSet, outbredSet etc etc.")
    (gnt:geneticType a owl:ObjectProperty)
-   (gnt:geneticType rdfs:domain gnc:inbredSet)
+   (gnt:geneticType rdfs:domain gnc:set)
    (gnt:code a owl:ObjectProperty)
-   (gnt:code rdfs:domain gnc:inbredSet)
+   (gnt:code rdfs:domain gnc:set)
    ;; Already defined as an owl prop in dump-species
-   (gnt:family rdfs:domain gnc:inbredSet)
+   (gnt:family rdfs:domain gnc:set)
    (gnt:phenotype a owl:ObjectProperty)
-   (gnt:phenotype rdfs:domain gnc:inbredSet)
+   (gnt:phenotype rdfs:domain gnc:set)
    (gnt:genotype a owl:ObjectProperty)
    (gnt:genotype rdfs:domain gnt:inbredSet)
    (gnt:mappingMethod a owl:ObjectProperty)
-   (gnt:mappingMethod rdfs:domain gnc:inbredSet))
+   (gnt:mappingMethod rdfs:domain gnc:set))
   (triples (string->identifier
             "inbredSet" (field InbredSet Name)
             #:separator ""
             #:proc string-capitalize-first)
-    (set rdf:type 'gnc:inbredSet)
+    (set rdf:type 'gnc:set)
     (set rdfs:label (field InbredSet FullName))
     (set skos:altLabel (field InbredSet Name))
     (set gnt:geneticType (field InbredSet GeneticType))