aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMunyoki Kilyungi2026-01-26 15:06:12 +0300
committerMunyoki Kilyungi2026-01-26 15:06:12 +0300
commitc872880842f8eb621ff5e03ce99db47054c37546 (patch)
tree53a4dbc728dbe44d1a903fd95676efb45876184e /examples
parent81a368c519efc68dd1aaa06581d32c9ad2d149a7 (diff)
downloadgn-transform-databases-c872880842f8eb621ff5e03ce99db47054c37546.tar.gz
Add InbredSet description metadata.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/classification.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/classification.scm b/examples/classification.scm
index a75483c..be03656 100755
--- a/examples/classification.scm
+++ b/examples/classification.scm
@@ -155,12 +155,14 @@
(set rdfs:label (field InbredSet FullName))
(set skos:prefLabel (field InbredSet Name InbredSetName))
(set gnt:genetic_type (field InbredSet GeneticType))
+ (set dct:description (sanitize-rdf-string (field InbredSet description)))
(set gnt:uses_mapping_method
(string->identifier "mapping_method" (field MappingMethod Name) #:separator "_"))
(set gnt:has_set_code (field InbredSet InbredSetCode))
(set gnt:belongs_to_species
(string->identifier "" (remap-species-identifiers (field Species Fullname))))))
+
(let* ((option-spec
@@ -181,6 +183,7 @@
(table-metadata? #f)
(prefixes
'(("dcat:" "<http://www.w3.org/ns/dcat#>")
+ ("dct:" "<http://purl.org/dc/terms/>")
("gn:" "<http://rdf.genenetwork.org/v1/id/>")
("gnc:" "<http://rdf.genenetwork.org/v1/category/>")
("owl:" "<http://www.w3.org/2002/07/owl#>")