diff options
author | Munyoki Kilyungi | 2023-07-30 12:27:50 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-07-30 12:29:56 +0300 |
commit | 6f5cca6b5511ce5c80639e477ae10b4e70e2b178 (patch) | |
tree | 4fe411bad317a78ba41f863e07a4a10426210945 /examples/dump-publication.scm | |
parent | 1d81a238403c29bb46fb2352505b05cf3c150787 (diff) | |
download | gn-transform-databases-6f5cca6b5511ce5c80639e477ae10b4e70e2b178.tar.gz |
Add gnc: prefix
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples/dump-publication.scm')
-rwxr-xr-x | examples/dump-publication.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/dump-publication.scm b/examples/dump-publication.scm index 1384261..50e4358 100755 --- a/examples/dump-publication.scm +++ b/examples/dump-publication.scm @@ -39,7 +39,7 @@ (string->identifier "unpublished" (number->string publication-id)) (ontology 'pubmed: pmid))) - (set rdf:type 'gn:publication) + (set rdf:type 'gnc:publication) (set gnt:pubMedId (ontology 'pubmed: (field ("IFNULL(PubMed_ID, '')" pubmedId)))) (set gnt:title (delete-substrings (field Publication Title) @@ -70,6 +70,7 @@ (prefixes '(("gnt:" "<http://genenetwork.org/terms/>") ("gn:" "<http://genenetwork.org/id/>") + ("gnc:" "<http://genenetwork.org/category/>") ("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#>"))) |