about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-08-04 13:48:49 +0300
committerMunyoki Kilyungi2023-08-04 13:48:49 +0300
commitcde88d3ca9db4e5a8a4ed395736f763db998049c (patch)
tree851749b585f7a90cbf79c4fd99255d0938a48d11
parent1c6079e6caac64680aae4d70f18c7bba9b0b26af (diff)
downloadgn-transform-databases-cde88d3ca9db4e5a8a4ed395736f763db998049c.tar.gz
Annotate terms related to species
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-xexamples/dump-species-metadata.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/examples/dump-species-metadata.scm b/examples/dump-species-metadata.scm
index 3cebaab..c3b62a6 100755
--- a/examples/dump-species-metadata.scm
+++ b/examples/dump-species-metadata.scm
@@ -32,10 +32,16 @@
   (tables (Species))
   (schema-triples
    (gnc:species rdf:type owl:Class)
+   (gnt:name a owl:ObjectProperty)
    (gnt:name rdfs:domain gnc:species)
+   (gnt:binomialName a owl:ObjectProperty)
    (gnt:binomialName rdfs:domain gnc:species)
+   (gnt:family a owl:ObjectProperty)
    (gnt:family rdfs:domain gnc:species)
-   (gnt:organism rdfs:domain gnc:species))
+   (gnt:organism a owl:ObjectProperty)
+   (gnt:organism rdfs:domain gnc:species)
+   (gnt:shortName a owl:ObjectProperty)
+   (gnt:shortName rdfs:domain gnc:species))
   (triples
       (string->identifier "" (remap-species-identifiers (field Species Fullname))
                           #:separator ""