From 1a43ca59ff0ee57d80484265fcbdf366d1affeb5 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Mon, 28 Aug 2023 12:36:27 +0300 Subject: Re-introduce gnt:shortName Signed-off-by: Munyoki Kilyungi --- examples/classification.scm | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'examples/classification.scm') 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: -- cgit v1.2.3