about summary refs log tree commit diff
path: root/examples/classification.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/classification.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/classification.scm')
-rwxr-xr-xexamples/classification.scm11
1 files changed, 5 insertions, 6 deletions
diff --git a/examples/classification.scm b/examples/classification.scm
index be03656..ecc071b 100755
--- a/examples/classification.scm
+++ b/examples/classification.scm
@@ -89,10 +89,10 @@
    (gnt:short_name rdfs:label "has short name")
    (gnt:short_name rdfs:domain gnc:species)
    (gnt:short_name skos:definition "The short name of a given resource")
-   (gnt:belongs_to_species a owl:ObjectProperty)
-   (gnt:belongs_to_species rdf:comment "This resource belongs to this species")
-   (gnt:belongs_to_species rdfs:label "belongs to species")
-   (gnt:belongs_to_species rdfs:range gnc:species))
+   (gnt:has_species a owl:ObjectProperty)
+   (gnt:has_species rdf:comment "This resource belongs to this species")
+   (gnt:has_species rdfs:label "belongs to species")
+   (gnt:has_species rdfs:range gnc:species))
   (triples
       (string->identifier "" (remap-species-identifiers (field Species Fullname)))
     (set rdf:type 'gnc:species)
@@ -113,7 +113,6 @@
    (gnt:has_strain a owl:ObjectProperty)
    (gnt:has_strain rdfs:range gnc:set)
    (gnt:has_strain rdfs:domain gnc:species)
-   (gnt:has_strain owl:inverseOf gnt:belongs_to_species)
    (gnt:has_strain rdfs:label "this resource belongs to this strain.")
    (gnt:has_strain skos:definition "Lists all strains that belong to this resource."))
   (triples (string->identifier "" (remap-species-identifiers (field Species Fullname)))
@@ -159,7 +158,7 @@
     (set gnt:uses_mapping_method
          (string->identifier "mapping_method" (field MappingMethod Name) #:separator "_"))
     (set gnt:has_set_code (field InbredSet InbredSetCode))
-    (set gnt:belongs_to_species
+    (set gnt:has_species
          (string->identifier "" (remap-species-identifiers (field Species Fullname))))))