diff options
| author | Munyoki Kilyungi | 2023-07-30 12:27:50 +0300 |
|---|---|---|
| committer | Munyoki Kilyungi | 2023-07-31 13:12:27 +0300 |
| commit | 67aa8fc2eb5e7267d1799df1be94fbcec71475c8 (patch) | |
| tree | 17851518752bb8e351176a87c53347b97188380a /examples/dump-publication.scm | |
| parent | c179a0fcf762804dcfe27fb23760ace35f19e016 (diff) | |
| download | gn-transform-databases-67aa8fc2eb5e7267d1799df1be94fbcec71475c8.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#>"))) |
