Class: Export::Dwca::GbifProfile::TypeSpecimen

Inherits:
Object
  • Object
show all
Defined in:
lib/export/dwca/gbif_profile/type_specimen.rb

Constant Summary collapse

NAMESPACES =
{
  :taxonID => 'http://rs.tdwg.org/dwc/terms/taxonID',
  :bibliographicCitation => 'http://purl.org/dc/terms/bibliographicCitation',
  :occurrenceID => 'http://rs.tdwg.org/dwc/terms/occurrenceID',
  :institutionCode => 'http://rs.tdwg.org/dwc/terms/institutionCode',
  :collectionCode => 'http://rs.tdwg.org/dwc/terms/collectionCode',
  :catalogNumber => 'http://rs.tdwg.org/dwc/terms/catalogNumber',
  :typeStatus => 'http://rs.tdwg.org/dwc/terms/typeStatus',
  :typeDesignationType => 'http://rs.gbif.org/terms/1.0/typeDesignationType',
  :typeDesignatedBy => 'http://rs.gbif.org/terms/1.0/typeDesignatedBy',
  :scientificName => 'http://rs.tdwg.org/dwc/terms/scientificName',
  :taxonRank => 'http://rs.tdwg.org/dwc/terms/taxonRank',
  :identificationRemarks => 'http://rs.tdwg.org/dwc/terms/identificationRemarks',
  :locality => 'http://rs.tdwg.org/dwc/terms/locality',
  :sex => 'http://rs.tdwg.org/dwc/terms/sex',
  :recordedBy => 'http://rs.tdwg.org/dwc/terms/recordedBy',
  :source => 'http://purl.org/dc/terms/source',
  :verbatimEventDate => 'http://rs.tdwg.org/dwc/terms/verbatimEventDate',
  :verbatimLabel => 'http://rs.gbif.org/terms/1.0/verbatimLabel',
  :verbatimLongitude => 'http://rs.tdwg.org/dwc/terms/verbatimLongitude',
  :verbatimLatitude => 'http://rs.tdwg.org/dwc/terms/verbatimLatitude'
}.freeze

Instance Attribute Summary collapse

Instance Attribute Details

#bibliographicCitationString

bibliographicCitation (http://purl.org/dc/terms/bibliographicCitation)

A text string citating the described specimen. Often found in taxonomic treatments and frequently based on institution code and catalog number.

Example: Iraq: Mosul: Jabal Khantur prope Sharanish N. Zakho, in fissures rupium calc., 1200 m, Rech. 12083 (W!).

Returns:

  • (String)


48
49
50
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 48

def bibliographicCitation
  @bibliographicCitation
end

#catalogNumberString

catalogNumber (http://rs.tdwg.org/dwc/terms/catalogNumber)

An identifier (preferably unique) for the record within the data set or collection.

Examples: "2008.1334", "145732a", "145732"

Returns:

  • (String)


85
86
87
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 85

def catalogNumber
  @catalogNumber
end

#collectionCodeString

collectionCode (http://rs.tdwg.org/dwc/terms/collectionCode)

The name, acronym, coden, or initialism identifying the collection or data set from which the record was derived.

Examples: "Mammals", "Hildebrandt", "eBird"

Returns:

  • (String)


76
77
78
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 76

def collectionCode
  @collectionCode
end

#identificationRemarksString

identificationRemarks (http://rs.tdwg.org/dwc/terms/identificationRemarks)

Information regarding the basis of the identification or designation (in the case of type species and type genera)

Example: by monotypy

Returns:

  • (String)


143
144
145
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 143

def identificationRemarks
  @identificationRemarks
end

#institutionCodeString

institutionCode (http://rs.tdwg.org/dwc/terms/institutionCode)

The name (or acronym) in use by the institution having custody of the object(s) or information referred to in the record.

Examples: "MVZ", "FMNH", "AKN-CLO", "University of California Museum of Paleontology (UCMP)"

Returns:

  • (String)


67
68
69
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 67

def institutionCode
  @institutionCode
end

#localityObject

locality (http://rs.tdwg.org/dwc/terms/locality)

The location where the specimen was collected. In case of type specimens the type locality.

Example: Iraq: Mosul: Jabal Khantur prope Sharanish N. Zakho, in fissures rupium calc., 1200 m



152
153
154
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 152

def locality
  @locality
end

#occurrenceIDString

occurrenceID (http://rs.tdwg.org/dwc/terms/occurrenceID)

An identifier for the specimen, preferably a resolvable globally unique identifier.

Example: http://sweetgum.nybg.org/vh/specimen.php?irn=793312

Returns:

  • (String)


57
58
59
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 57

def occurrenceID
  @occurrenceID
end

#recordedByString

recordedBy (http://rs.tdwg.org/dwc/terms/recordedBy)

The primary collector or observer, especially one who applies a personal identifier (recordNumber), should be listed first.

Example: KH Rechinger

Returns:

  • (String)


171
172
173
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 171

def recordedBy
  @recordedBy
end

#scientificNameString

scientificName (http://rs.tdwg.org/dwc/terms/scientificName)

The scientific name as which this specimen has been identified in the collection/source. Not necessarily the same as the scientific name in the core file.

Example: "Ctenomys sociabilis" "Roptrocerus typographi (Györfi, 1952)"

Returns:

  • (String)


126
127
128
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 126

def scientificName
  @scientificName
end

#sexString

sex (http://rs.tdwg.org/dwc/terms/sex)

The sex of the specimen being referenced.

Vocabulary: http://rs.gbif.org/vocabulary/gbif/life_stage.xml

Example: male

Returns:

  • (String)


162
163
164
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 162

def sex
  @sex
end

#sourceString

source (http://purl.org/dc/terms/source)

Source reference for this type record. Can be proper publication citation, a webpage URL, etc.

Returns:

  • (String)


178
179
180
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 178

def source
  @source
end

#taxonIDString

taxonID (http://rs.tdwg.org/dwc/terms/taxonID)

The first field in the data file should be the taxonID representing the taxon in the core data file to which this specimen record points. This identifier provides the link between the core data record and the extension record.

Returns:

  • (String)


37
38
39
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 37

def taxonID
  @taxonID
end

#taxonRankString

taxonRank (http://rs.tdwg.org/dwc/terms/taxonRank)

The rank of the taxon bearing the scientific name

Example: "subspecies", "varietas", "forma", "species", "genus"

Returns:

  • (String)


134
135
136
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 134

def taxonRank
  @taxonRank
end

#typeDesignatedByString

typeDesignatedBy (http://rs.gbif.org/terms/1.0/typeDesignatedBy)

The citation of the publication where the type designation is found

Examples: Vachal, J. (1897) Éclaircissements sur de genre Scrapter et description d'une espéce nouvelle de Dufourea. Bulletin de la Société Entomologique de France, 1897, 61–64.

Returns:

  • (String)


116
117
118
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 116

def typeDesignatedBy
  @typeDesignatedBy
end

#typeDesignationTypeString

typeDesignationType (http://rs.gbif.org/terms/1.0/typeDesignationType)

The reason why this specimen or name is designated as a type.

Vocabulary: http://rs.gbif.org/vocabulary/gbif/type_designation_type.xml

Examples: monotypy, original designation, tautonomy

Returns:

  • (String)


106
107
108
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 106

def typeDesignationType
  @typeDesignationType
end

#typeStatusString

typeStatus (http://rs.tdwg.org/dwc/terms/typeStatus)

The type status of the specimen. Preferrably taken from a vocabulary like http://rs.gbif.org/vocabulary/gbif/type_status.xml

Vocabulary: http://rs.gbif.org/vocabulary/gbif/type_status.xml

Example: "holotype" "syntype" "lectotype"

Returns:

  • (String)


96
97
98
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 96

def typeStatus
  @typeStatus
end

#verbatimEventDateString

verbatimEventDate (http://rs.tdwg.org/dwc/terms/verbatimEventDate)

The date when the specimen was collected

Example: "spring 1910", "Marzo 2002", "1999-03-XX", "17IV1934"

Returns:

  • (String)


186
187
188
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 186

def verbatimEventDate
  @verbatimEventDate
end

#verbatimLabelString

verbatimLabel (http://rs.gbif.org/terms/1.0/verbatimLabel)

The full, verbatim text from the specimen label

Returns:

  • (String)


192
193
194
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 192

def verbatimLabel
  @verbatimLabel
end

#verbatimLatitudeString

verbatimLatitude (http://rs.tdwg.org/dwc/terms/verbatimLatitude)

The geographic latitude

Example: "41 05 54.03 S"

Returns:

  • (String)


208
209
210
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 208

def verbatimLatitude
  @verbatimLatitude
end

#verbatimLongitudeString

verbatimLongitude (http://rs.tdwg.org/dwc/terms/verbatimLongitude)

The geographic longitude

Example: "121d 10' 34"" W"

Returns:

  • (String)


200
201
202
# File 'lib/export/dwca/gbif_profile/type_specimen.rb', line 200

def verbatimLongitude
  @verbatimLongitude
end