diff options
| author | Munyoki Kilyungi | 2026-01-29 11:12:46 +0300 |
|---|---|---|
| committer | Munyoki Kilyungi | 2026-01-29 11:12:46 +0300 |
| commit | 6c562b0a205511c2929491b616582539ed938a76 (patch) | |
| tree | 0a10e03c157587ede4117aa531dae634682f8cc0 /examples | |
| parent | 16489033fd1a80c8a78616493405f4f313bb6f31 (diff) | |
| download | gn-transform-databases-6c562b0a205511c2929491b616582539ed938a76.tar.gz | |
Sanitize rdf string for InbredSet description.
Error: classification.ttl:409 - Turtle string error - illegal escape \x (#x78) Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples')
| -rwxr-xr-x | examples/classification.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/classification.scm b/examples/classification.scm index ee59e8f..0a9631d 100755 --- a/examples/classification.scm +++ b/examples/classification.scm @@ -168,7 +168,7 @@ (set rdfs:label (field InbredSet FullName)) (set skos:prefLabel (field InbredSet Name InbredSetName)) (set gnt:genetic_type (field InbredSet GeneticType)) - (set dct:description (annotate-field (field InbredSet description) + (set dct:description (annotate-field (sanitize-rdf-string (field InbredSet description)) '^^rdf:HTML)) (set gnt:uses_mapping_method (string->identifier "mapping_method" (field MappingMethod Name) #:separator "_")) |
