aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/strains.scm8
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/>")))