From 22de1613596c2a429d52a65702e72018d4011b46 Mon Sep 17 00:00:00 2001 From: Munyoki Kilyungi Date: Tue, 18 Jul 2023 17:19:20 +0300 Subject: Update tissue dump to use gn-term/gn-id Signed-off-by: Munyoki Kilyungi --- examples/dump-tissue.scm | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'examples') diff --git a/examples/dump-tissue.scm b/examples/dump-tissue.scm index 4998cff..376129c 100755 --- a/examples/dump-tissue.scm +++ b/examples/dump-tissue.scm @@ -23,12 +23,12 @@ ;; and BIRN_lex_Name are mostly NULL. (tables (Tissue)) (schema-triples - (gn:name rdfs:range rdfs:Literal)) + (gn-term:name rdfs:range rdfs:Literal)) ;; Hopefully the Short_Name field is distinct and can be used as an ;; identifier. (triples (string->identifier "tissue" (field Tissue Short_Name)) - (set rdf:type 'gn:tissue) - (set gn:name (field Tissue Name)))) + (set rdf:type 'gn-id:tissue) + (set gn-term:name (field Tissue Name)))) @@ -37,10 +37,12 @@ (connection %connection-settings) (table-metadata? #f) (prefixes - (("rdf:" "") - ("rdfs:" "") - ("gn:" ""))) + '(("gn-id:" "") + ("gn-term:" "") + ("rdf:" "") + ("rdfs:" ""))) (inputs - (dump-tissue)) + (list dump-tissue)) (outputs - (#:documentation "./docs/dump-tissue.md" #:rdf "./verified-data/dump-tissue.ttl"))) + '(#:documentation "./docs/dump-tissue.md" + #:rdf "./verified-data/dump-tissue.ttl"))) -- cgit v1.2.3