diff options
author | Munyoki Kilyungi | 2023-08-28 12:38:12 +0300 |
---|---|---|
committer | Munyoki Kilyungi | 2023-08-28 12:38:36 +0300 |
commit | 5b0649665370888e1f60f6eb19849183a116599a (patch) | |
tree | d4dbe19e1460a8a9c7d89f96069d100a0905fa6c /examples | |
parent | 1a43ca59ff0ee57d80484265fcbdf366d1affeb5 (diff) | |
download | gn-transform-databases-5b0649665370888e1f60f6eb19849183a116599a.tar.gz |
Replace gnt:belongsToSpecies with xkos:classifiedUnder
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/strains.scm | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/examples/strains.scm b/examples/strains.scm index 89f2e27..e7a0032 100755 --- a/examples/strains.scm +++ b/examples/strains.scm @@ -67,11 +67,6 @@ At this point it is not very clear how Name, Name2, Symbol and Alias are used. (tables (Strain (left-join Species "ON Strain.SpeciesId = Species.SpeciesId"))) (schema-triples - (gnc:strain skos:broader gnc:species) - (gnt:belongsToSpecies rdfs:domain gnc:strain) - (gnt:belongsToSpecies skos:definition "This resource belongs to this species") - (gnt:belongsToSpecies a owl:ObjectProperty) - (gnt:belongsToSpecies skos:definition "This resource belongs to this species") (gnt:alias rdfs:domain gnc:strain) (gnt:alias a owl:ObjectProperty) (gnt:symbol rdfs:domain gnc:strain) @@ -85,7 +80,7 @@ At this point it is not very clear how Name, Name2, Symbol and Alias are used. #:separator "" #:proc string-capitalize-first) (set rdf:type 'gnc:strain) - (set gnt:belongsToSpecies + (set xkos:classifiedUnder (string->identifier "" (remap-species-identifiers (field Species Fullname)) #:separator "" #:proc string-capitalize-first)) @@ -139,6 +134,7 @@ At this point it is not very clear how Name, Name2, Symbol and Alias are used. ("owl:" "<http://www.w3.org/2002/07/owl#>") ("gnt:" "<http://genenetwork.org/term/>") ("skos:" "<http://www.w3.org/2004/02/skos/core#>") + ("xkos:" "<http://rdf-vocabulary.ddialliance.org/xkos#>") ("rdf:" "<http://www.w3.org/1999/02/22-rdf-syntax-ns#>") ("rdfs:" "<http://www.w3.org/2000/01/rdf-schema#>") ("taxon:" "<http://purl.uniprot.org/taxonomy/>"))) |