diff options
-rwxr-xr-x | examples/classification.scm | 7 |
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: |