diff options
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/dataset-metadata.scm | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/examples/dataset-metadata.scm b/examples/dataset-metadata.scm index 4cec27b..0b869b9 100755 --- a/examples/dataset-metadata.scm +++ b/examples/dataset-metadata.scm @@ -69,9 +69,6 @@ skos:description "This is a set of controlled terms that are used to describe a given gene chip/platform") (gnt:hasGeoSeriesId rdfs:domain gnc:platform) - (gnt:belongsToSpecies a owl:ObjectProperty) - (gnt:belongsToSpecies skos:definition "This resource belongs to this given species") - (gnt:belongsToSpecies rdfs:domain gnc:geneChip) (gnt:hasGeoSeriesId rdfs:domain gnc:geneChip) (gnt:hasGOTreeValue a owl:ObjectProperty) (gnt:hasGOTreeValue skos:definition "This resource the following GO tree value") @@ -83,7 +80,7 @@ (set skos:altLabel (field ("IF(GeneChip.GeneChipName != GeneChip.Title, Title, NULL)" Title))) (set gnt:hasGOTreeValue (field GeneChip Go_tree_value)) - (set gnt:belongsToSpecies + (set xkos:classifiedUnder (string->identifier "" (remap-species-identifiers (field Species Fullname)) #:separator "" #:proc string-capitalize-first)) @@ -117,9 +114,6 @@ (gnc:genotypeDataset rdfs:subClassOf gnc:dataset) (gnc:phenotypeDataset rdfs:subClassOf gnc:dataset) (gnc:probesetDataset rdfs:subClassOf gnc:dataset) - (gnt:belongsToSet rdfs:domain gnc:dataset) - (gnt:belongsToSet a owl:ObjectProperty) - (gnt:belongsToSet skos:definition "The InbredSet this resource belongs to") (gnt:hasTissue rdfs:domain gnc:dataset) (gnt:hasTissue a owl:ObjectProperty) (gnt:hasTissue skos:definition "Tissues this resource has") @@ -203,7 +197,7 @@ (set dct:identifier (format #f "GN~a" (field InfoFiles GN_AccesionId))) (set dct:accessRights (string-downcase (field DatasetStatus DatasetStatusName))) - (set gnt:belongsToSet + (set xkos:classifiedUnder (string->identifier "set" (field InbredSet Name) #:separator "" @@ -278,7 +272,7 @@ (set dct:created (annotate-field (field PublishFreeze CreateTime) '^^xsd:date)) - (set gnt:belongsToSet + (set xkos:classifiedUnder (string->identifier "set" (field InbredSet Name) #:separator "" @@ -308,7 +302,7 @@ (set dct:created (annotate-field (field GenoFreeze CreateTime) '^^xsd:date)) - (set gnt:belongsToSet + (set xkos:classifiedUnder (string->identifier "set" (field InbredSet Name) #:separator "" @@ -355,7 +349,7 @@ (string->identifier "tissue" (field Tissue Short_Name))) - (set gnt:belongsToSet + (set xkos:classifiedUnder (string->identifier "set" (field InbredSet Name) #:separator "" @@ -383,6 +377,7 @@ ("foaf:" "<http://xmlns.com/foaf/0.1/>") ("dcat:" "<http://www.w3.org/ns/dcat#>") ("skos:" "<http://www.w3.org/2004/02/skos/core#>") + ("xkos:" "<http://rdf-vocabulary.ddialliance.org/xkos#>") ("geoSeries:" "<http://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=>") ("gnt:" "<http://genenetwork.org/term/>") ("gn:" "<http://genenetwork.org/id/>") |