diff options
author | Munyoki Kilyungi | 2023-07-18 17:19:20 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2023-07-21 14:36:41 +0300 |
commit | 7b8f47c1d45a584b136358f6d5ac91795ad1c443 (patch) | |
tree | b3193d035951a50e9ec29ef3a06be16bf136efd9 /examples/dump-tissue.scm | |
parent | f818831654fb45d31dd324337fce8b7c3485c50d (diff) | |
download | gn-transform-databases-7b8f47c1d45a584b136358f6d5ac91795ad1c443.tar.gz |
Update tissue dump to use gn-term/gn-id
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples/dump-tissue.scm')
-rwxr-xr-x | examples/dump-tissue.scm | 18 |
1 files changed, 10 insertions, 8 deletions
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:" "<http://www.w3.org/1999/02/22-rdf-syntax-ns#>") - ("rdfs:" "<http://www.w3.org/2000/01/rdf-schema#>") - ("gn:" "<http://genenetwork.org/terms/>"))) + '(("gn-id:" "<http://genenetwork.org/terms/>") + ("gn-term:" "<http://genenetwork.org/terms/>") + ("rdf:" "<http://www.w3.org/1999/02/22-rdf-syntax-ns#>") + ("rdfs:" "<http://www.w3.org/2000/01/rdf-schema#>"))) (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"))) |