aboutsummaryrefslogtreecommitdiff
path: root/examples/dump-species-metadata.scm
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-08-07 20:47:27 +0300
committerMunyoki Kilyungi2023-08-07 20:47:27 +0300
commit7d83bd14a65a14020114eada2bea9fae25b73975 (patch)
treef874bc319ea1ef0068a0b459636f3771a21d3592 /examples/dump-species-metadata.scm
parentc4985a06dab17109c0561f3a0058dc1e8e547dff (diff)
downloadgn-transform-databases-7d83bd14a65a14020114eada2bea9fae25b73975.tar.gz
Replace gnt:name/shortName with skos:label/altLabel
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples/dump-species-metadata.scm')
-rwxr-xr-xexamples/dump-species-metadata.scm6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/dump-species-metadata.scm b/examples/dump-species-metadata.scm
index f991505..3e429f0 100755
--- a/examples/dump-species-metadata.scm
+++ b/examples/dump-species-metadata.scm
@@ -34,8 +34,6 @@
(gnc:species a skos:Concept)
(gnc:species skos:description "This is a set of controlled terms that are used to describe a given species")
(gnc:species skos:broader gnc:family)
- (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)
@@ -50,8 +48,8 @@
#:separator ""
#:proc string-capitalize-first)
(set rdf:type 'gnc:species)
- (set gnt:name (field Species SpeciesName))
- (set gnt:shortName (field Species Name))
+ (set skos:label (field Species SpeciesName))
+ (set skos:altLabel (field Species Name))
(set rdfs:label (field Species MenuName))
(set gnt:binomialName (field Species FullName))
(set gnt:family (field Species Family))