about summary refs log tree commit diff
path: root/examples/classification.scm
diff options
context:
space:
mode:
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))))))