aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMunyoki Kilyungi2023-08-17 18:23:41 +0300
committerMunyoki Kilyungi2023-08-17 18:23:41 +0300
commit2d2e570528380084e4cea5a5fcaff6049295227d (patch)
treed9f3aeaae41c2c5290ebc4d42ec8fced6621d01f /examples
parent2180d25701a2ab56f7fb0a20f6e113c23c6fcb25 (diff)
downloadgn-transform-databases-2d2e570528380084e4cea5a5fcaff6049295227d.tar.gz
Rename gnt:species -> gnt:belongsToSpecies
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/dump-probeset-data.scm2
-rwxr-xr-xexamples/dump-species-metadata.scm12
2 files changed, 8 insertions, 6 deletions
diff --git a/examples/dump-probeset-data.scm b/examples/dump-probeset-data.scm
index 7ab723d..54615bc 100755
--- a/examples/dump-probeset-data.scm
+++ b/examples/dump-probeset-data.scm
@@ -94,6 +94,8 @@
'(("gn:" "<http://genenetwork.org/id/>")
("gnc:" "<http://genenetwork.org/category/>")
("gnt:" "<http://genenetwork.org/id/>")
+ ("skos:" "<http://www.w3.org/2004/02/skos/core#>")
+ ("owl:" "<http://www.w3.org/2002/07/owl#>")
("rdf:" "<http://www.w3.org/1999/02/22-rdf-syntax-ns#>")
("rdfs:" "<http://www.w3.org/2000/01/rdf-schema#>")
("xsd:" "<http://www.w3.org/2001/XMLSchema#>")))
diff --git a/examples/dump-species-metadata.scm b/examples/dump-species-metadata.scm
index 2f229e9..3bbda51 100755
--- a/examples/dump-species-metadata.scm
+++ b/examples/dump-species-metadata.scm
@@ -102,10 +102,10 @@ At this point it is not very clear how Name, Name2, Symbol and Alias are used.
(left-join Species "ON Strain.SpeciesId = Species.SpeciesId")))
(schema-triples
(gnc:strain skos:broader gnc:species)
- (gnt:species rdfs:domain gnc:strain)
- (gnt:species skos:definition "This resource belongs to this species")
- (gnt:species a owl:ObjectProperty)
- (gnt:species skos:definition "This resource belongs to this 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)
@@ -119,7 +119,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:species
+ (set gnt:belongsToSpecies
(string->identifier "" (remap-species-identifiers (field Species Fullname))
#:separator ""
#:proc string-capitalize-first))
@@ -170,7 +170,7 @@ At this point it is not very clear how Name, Name2, Symbol and Alias are used.
(set gnt:family (field InbredSet Family))
(set gnt:mappingMethod (field MappingMethod Name))
(set gnt:code (field InbredSet InbredSetCode))
- (set gnt:species
+ (set gnt:belongsToSpecies
(string->identifier "" (remap-species-identifiers (field Species Fullname))
#:separator ""
#:proc string-capitalize-first))