about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-07-19 16:56:27 +0300
committerBonfaceKilz2023-07-30 12:29:56 +0300
commitbfeeefcd6b6383a5df317441f7e885a4631e5458 (patch)
treeb1deb4c53110295f7428b3b678f5f7d2db4cba0e
parent381acf546900c74a907bc56e236de4fece953869 (diff)
downloadgn-transform-databases-bfeeefcd6b6383a5df317441f7e885a4631e5458.tar.gz
Replace "publication:" with "pubmed:"
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rwxr-xr-xexamples/dump-publication.scm3
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/dump-publication.scm b/examples/dump-publication.scm
index fc2e6d0..f79696e 100755
--- a/examples/dump-publication.scm
+++ b/examples/dump-publication.scm
@@ -38,7 +38,7 @@
         (if (string-null? pmid)
             (string->identifier "unpublished"
                                 (number->string publication-id))
-            (ontology 'publication: pmid)))
+            (ontology 'pubmed: pmid)))
     (set rdf:type 'gn:publication)
     (set gn-term:pubMedId
          (ontology 'pubmed: (field ("IFNULL(PubMed_ID, '')" pubmedId))))
@@ -70,7 +70,6 @@
  (prefixes
   '(("gn-term:" "<http://genenetwork.org/terms/>")
     ("gn:" "<http://genenetwork.org/id/>")
-    ("publication:" "<http://genenetwork.org/publication/>")
     ("pubmed:" "<http://rdf.ncbi.nlm.nih.gov/pubmed/>")
     ("rdfs:" "<http://www.w3.org/2000/01/rdf-schema#>")
     ("rdf:" "<http://www.w3.org/1999/02/22-rdf-syntax-ns#>")))