about summary refs log tree commit diff
path: root/examples/genelist.scm
diff options
context:
space:
mode:
authorMunyoki Kilyungi2026-01-26 15:10:27 +0300
committerMunyoki Kilyungi2026-01-26 15:15:24 +0300
commite46380b11c444012fde18e69fd677aa5ccd65de2 (patch)
treeba2271e4471b5a8a8d3a155484b7072e2b848e72 /examples/genelist.scm
parentc872880842f8eb621ff5e03ce99db47054c37546 (diff)
downloadgn-transform-databases-e46380b11c444012fde18e69fd677aa5ccd65de2.tar.gz
Replace gnt:belongs_to_species -> gnt:has_species.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples/genelist.scm')
-rwxr-xr-xexamples/genelist.scm6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/genelist.scm b/examples/genelist.scm
index 60ae4cd..5048bf2 100755
--- a/examples/genelist.scm
+++ b/examples/genelist.scm
@@ -21,7 +21,7 @@
    (gnc:gene_symbol a rdfs:Class)
    (gnc:gene_symbol rdfs:label "A gene symbol")
    (gnt:gene rdfs:domain gnc:gene_symbol)
-   (gnt:belongs_to_species rdfs:domain gnc:gene_symbol)
+   (gnt:has_species rdfs:domain gnc:gene_symbol)
    (gnc:gene a rdfs:Class)
    (gnc:gene rdfs:label "Gene")
    (gnt:has_gene_id a owl:ObjectProperty)
@@ -229,7 +229,7 @@
                     '^^xsd:double))
     (set gnt:strand (string-trim-both (field GeneList Strand)))
     (set
-     gnt:belongs_to_species (string->identifier "" (remap-species-identifiers (field Species Fullname))))
+     gnt:has_species (string->identifier "" (remap-species-identifiers (field Species Fullname))))
     (set
      gnt:transcript
      (ontology 'transcript:
@@ -253,7 +253,7 @@
              gene-uid)
          #:separator "_"))
     (set rdf:type 'gnc:gene)
-    (set gnt:belongs_to_species 'gn:Rattus_norvegicus)
+    (set gnt:has_species 'gn:Rattus_norvegicus)
     (set gnt:gene_symbol (string-trim-both (field GeneList_rn33 geneSymbol)))
     (set gnt:chromosome (field GeneList_rn33 chromosome))
     (set gnt:tx_start (annotate-field