about summary refs log tree commit diff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/phenotype.scm9
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#>")