aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-08-28 12:36:27 +0300
committerMunyoki Kilyungi2023-08-28 12:38:36 +0300
commit1a43ca59ff0ee57d80484265fcbdf366d1affeb5 (patch)
treeb356660266fa064d1b3b304cb2d1fe5ea745868c
parent5814894585fd71c2447a02028f58ceb72aa010f8 (diff)
downloadgn-transform-databases-1a43ca59ff0ee57d80484265fcbdf366d1affeb5.tar.gz
Re-introduce gnt:shortName
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-xexamples/classification.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/examples/classification.scm b/examples/classification.scm
index 64aeef3..f38f9a7 100755
--- a/examples/classification.scm
+++ b/examples/classification.scm
@@ -69,7 +69,10 @@
(schema-triples
(gnt:family a owl:ObjectProperty)
(gnt:family rdfs:domain gnc:Species)
- (gnt:family skos:definition "This resource belongs to this family"))
+ (gnt:family skos:definition "This resource belongs to this family")
+ (gnt:shortName a owl:ObjectProperty)
+ (gnt:shortName rdfs:domain gnc:Species)
+ (gnt:shortName skos:definition "The short name of a given resource"))
(triples
(string->identifier "" (remap-species-identifiers (field Species Fullname))
#:separator ""
@@ -78,7 +81,7 @@
(set rdfs:label (field Species FullName))
(set skos:prefLabel (field Species MenuName))
(set skos:altLabel (field Species SpeciesName))
- (set skos:altLabel (field Species Name))
+ (set gnt:shortName (field Species Name))
(set gnt:family (field Species Family))
(set skos:notation (ontology
'taxon: