about summary refs log tree commit diff
path: root/examples/dump-species-metadata.scm
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dump-species-metadata.scm')
-rwxr-xr-xexamples/dump-species-metadata.scm10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/dump-species-metadata.scm b/examples/dump-species-metadata.scm
index 20b0b05..b0ac6f8 100755
--- a/examples/dump-species-metadata.scm
+++ b/examples/dump-species-metadata.scm
@@ -28,7 +28,7 @@
     ["Bat (Glossophaga soricina)" "Glossophaga soricina"]
     [str str]))
 
-(define-dump dump-species
+(define-transformer dump-species
   (tables (Species))
   (schema-triples
    (gnc:species a skos:Concept)
@@ -97,7 +97,7 @@ At this point it is not very clear how Name, Name2, Symbol and Alias are used.
 
 !#
 
-(define-dump dump-strain
+(define-transformer dump-strain
   (tables (Strain
            (left-join Species "ON Strain.SpeciesId = Species.SpeciesId")))
   (schema-triples
@@ -129,7 +129,7 @@ At this point it is not very clear how Name, Name2, Symbol and Alias are used.
     (set gnt:alias (sanitize-rdf-string (field ("IF ((Strain.Alias != Strain.Name), Strain.Alias, '')" Alias))))
     (set gnt:symbol (field ("IF ((Strain.Symbol != Strain.Name), Strain.Symbol, '')" Symbol)))))
 
-(define-dump dump-mapping-method
+(define-transformer dump-mapping-method
   (tables (MappingMethod))
   (schema-triples
    (gnc:mappingMethod a skos:Concept)
@@ -140,7 +140,7 @@ At this point it is not very clear how Name, Name2, Symbol and Alias are used.
     (set rdfs:label (field MappingMethod Name))))
 
 
-(define-dump dump-inbred-set
+(define-transformer dump-inbred-set
   (tables (InbredSet
            (left-join Species "ON InbredSet.SpeciesId=Species.Id")
            (left-join MappingMethod
@@ -189,7 +189,7 @@ At this point it is not very clear how Name, Name2, Symbol and Alias are used.
                         molecularTrait))
                 "||")))))
 
-(define-dump dump-avg-method
+(define-transformer dump-avg-method
   ;; The Name and Normalization fields seem to be the same. Dump only
   ;; the Name field.
   (tables (AvgMethod))