aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2026-02-18 11:05:23 +0300
committerMunyoki Kilyungi2026-02-18 11:05:23 +0300
commitf5aaa90631276b66295fd82336b75a5bc3c2cc93 (patch)
tree55ec3153eecf36e21044d80be85ec777de869511
parent2091c1c812912755d9cd67723f1ba45a6666de5d (diff)
downloadgn-transform-databases-f5aaa90631276b66295fd82336b75a5bc3c2cc93.tar.gz
Add fan-out to probeset data points.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-xexamples/probesets-experiment-metadata.scm9
1 files changed, 8 insertions, 1 deletions
diff --git a/examples/probesets-experiment-metadata.scm b/examples/probesets-experiment-metadata.scm
index b15f7e9..b87af10 100755
--- a/examples/probesets-experiment-metadata.scm
+++ b/examples/probesets-experiment-metadata.scm
@@ -23,6 +23,11 @@
(uri-encode
(format #f "~a_~a" (field ProbeSetFreeze Name ProbeSetFreezeName) (field ProbeSet Name ProbeSetName))) #:separator "_")
(set rdf:type 'gnc:molecular_trait_metadata)
+ (set dcat:distribution
+ (string->symbol
+ (format #f "gnd:~a.json"
+ (field ("CONCAT(ProbeSetFreeze.Name, '_', ProbeSet.Name)"
+ PublishFreeze)))) )
(set gnt:has_probeset (string->identifier "probeset" (field ProbeSet Name ProbeSetName)))
(set dcat:isPartOf (string->identifier "dataset" (field ProbeSetFreeze Name ProbeSetFreezeName)
#:separator "_"))
@@ -69,9 +74,11 @@
"count"))
(rows-per-chunk 1000000)
(prefixes
- '(("gn:" "<http://rdf.genenetwork.org/v1/id/>")
+ '(("dcat:" "<http://www.w3.org/ns/dcat#>")
+ ("gn:" "<http://rdf.genenetwork.org/v1/id/>")
("gnc:" "<http://rdf.genenetwork.org/v1/category/>")
("gnt:" "<http://rdf.genenetwork.org/v1/term/>")
+ ("gnd:" "<https://cd.genenetwork.org/api3/lmdb/v1/data/traits/>")
("rdf:" "<http://www.w3.org/1999/02/22-rdf-syntax-ns#>")
("kegg:" "<http://bio2rdf.org/ns/kegg#>")
("pubchem:" "<https://pubchem.ncbi.nlm.nih.gov/>")