From f3ede362e1d7d00022a6f9f74d7ca304014f07fe Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Mon, 28 Aug 2023 16:00:16 +0300 Subject: Set string->identifier to defaut to "" sep and string-capitalize Signed-off-by: Munyoki Kilyungi --- examples/classification.scm | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) (limited to 'examples/classification.scm') diff --git a/examples/classification.scm b/examples/classification.scm index 5d6840b..3843c49 100755 --- a/examples/classification.scm +++ b/examples/classification.scm @@ -47,9 +47,7 @@ (gnc:Species xkos:depth "3") (gnc:Species xkos:specializes gnc:Set)) (triples "gnc:Species" - (set skos:member (string->identifier "" (remap-species-identifiers (field Species Fullname)) - #:separator "" - #:proc string-capitalize-first)))) + (set skos:member (string->identifier "" (remap-species-identifiers (field Species Fullname)))))) (define-transformer classification-scheme-set (tables (InbredSet)) @@ -61,9 +59,7 @@ (triples "gnc:Set" (set skos:member (string->identifier - "set" (field InbredSet Name) - #:separator "" - #:proc string-capitalize-first)))) + "set" (field InbredSet Name))))) (define-transformer species (tables (Species)) @@ -75,9 +71,7 @@ (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 "" - #:proc string-capitalize-first) + (string->identifier "" (remap-species-identifiers (field Species Fullname))) (set skos:inScheme 'gnc:ResourceClassificationScheme) (set rdfs:label (remap-species-identifiers (field Species Fullname))) (set skos:prefLabel (field Species MenuName)) @@ -103,9 +97,7 @@ (gnt:mappingMethod a owl:ObjectProperty) (gnt:mappingMethod rdfs:domain gnc:set)) (triples (string->identifier - "set" (field InbredSet Name) - #:separator "" - #:proc string-capitalize-first) + "set" (field InbredSet Name)) (set skos:inScheme 'gnc:ResourceClassificationScheme) (set rdfs:label (field InbredSet FullName)) (set skos:prefLabel (field InbredSet Name)) -- cgit v1.2.3