diff options
| author | Munyoki Kilyungi | 2026-02-04 14:15:01 +0300 |
|---|---|---|
| committer | Munyoki Kilyungi | 2026-02-04 14:15:01 +0300 |
| commit | 4b22b033851a91c644ea8a919ab02aca229a9818 (patch) | |
| tree | 27f268a02bb54d9b13dba3c9bbb875fb7fe49f08 /examples/phenotype.scm | |
| parent | 357efeb3f5a63ca31361144f8cf8cc0543f33df2 (diff) | |
| download | gn-transform-databases-4b22b033851a91c644ea8a919ab02aca229a9818.tar.gz | |
Add link to lmdb data.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples/phenotype.scm')
| -rwxr-xr-x | examples/phenotype.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/examples/phenotype.scm b/examples/phenotype.scm index c8d0548..72d3ed3 100755 --- a/examples/phenotype.scm +++ b/examples/phenotype.scm @@ -129,6 +129,11 @@ (set owl:equivalentClass (field ("CONCAT(IFNULL(InbredSet.InbredSetCode, PublishXRef.InbredSetId), '_', PublishXRef.Id)" Phenotype))) + (set dcat:distribution + (string->symbol + (format #f "gnd:~a" + (field ("CONCAT(PublishFreeze.Name, '_', PublishXRef.Id)" + Phenotype)))) ) (set dct:references (let ((pmid (field ("IF(Publication.PubMed_ID IS NULL, '', CONVERT(Publication.PubMed_Id, INT))" @@ -177,10 +182,12 @@ (connection %connection-settings) (table-metadata? #f) (prefixes - '(("dct:" "<http://purl.org/dc/terms/>") + '(("dcat:" "<http://www.w3.org/ns/dcat#>") + ("dct:" "<http://purl.org/dc/terms/>") ("gn:" "<http://rdf.genenetwork.org/v1/id/>") ("owl:" "<http://www.w3.org/2002/07/owl#>") ("gnc:" "<http://rdf.genenetwork.org/v1/category/>") + ("gnd:" "<https://cd.genenetwork.org/lmdb/v1/data/traits/>") ("gnt:" "<http://rdf.genenetwork.org/v1/term/>") ("sdmx-measure:" "<http://purl.org/linked-data/sdmx/2009/measure#>") ("skos:" "<http://www.w3.org/2004/02/skos/core#>") |
