aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexamples/strains.scm20
1 files changed, 12 insertions, 8 deletions
diff --git a/examples/strains.scm b/examples/strains.scm
index cb4978f..3e86361 100755
--- a/examples/strains.scm
+++ b/examples/strains.scm
@@ -77,23 +77,27 @@ At this point it is not very clear how Name, Name2, Symbol and Alias are used.
(define-transformer mapping-method
(tables (MappingMethod))
(schema-triples
- (gnc:mapping_method a skos:Concept)
- (gnc:mapping_method skos:definition "Terms that decribe mapping methods used on this resource"))
+ (gnc:mapping_method a skos:ConceptScheme)
+ (gnc:mapping_method skos:prefLabel "Mapping Method Vocabulary")
+ (gnc:mapping_method skos:definition "Controlled vocabulary describing statistical/computational methods used for mapping in GeneNetwork."))
(triples
(string->identifier "mapping_method" (field MappingMethod Name) #:separator "_")
- (set rdf:type 'gnc:mapping_method)
- (set rdfs:label (field MappingMethod Name))))
+ (set a 'skos:Concept)
+ (set skos:inScheme 'gnc:mapping_method)
+ (set skos:prefLabel (field MappingMethod Name))))
(define-transformer avg-method
;; The Name and Normalization fields seem to be the same. Dump only
;; the Name field.
(tables (AvgMethod))
(schema-triples
- (gnc:avg_method a skos:Concept)
- (gnc:avg_method skos:definition "Terms that decribe normalization methods used on this resource"))
+ (gnc:avg_method a skos:ConceptScheme)
+ (gnc:avg_method skos:prefLabel "Normalization and Averaging Method Vocabulary" ;)
+ (gnc:avg_method skos:definition "Controlled vocabulary describing normalization, transformation, and summarization methods applied in GeneNetwork."))
(triples (string->identifier "avg_method" (field AvgMethod Name AvgMethodName) #:separator "_")
- (set rdf:type 'gnc:avg_method)
- (set rdfs:label (field AvgMethod Normalization))))
+ (set a skos:Concept)
+ (set skos:inScheme gnc:avg_method)
+ (set prefLabel (field AvgMethod Normalization))))