Class: Dwca::GbifProfile::Reference

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

Instance Attribute Summary collapse

Instance Attribute Details

#bibliographicCitationString

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

A text string referring to an un-parsed bibliographic citation.

Example: “Hartge, P., Genetics of reproductive lifespan. Nature Genetics 41, 637 - 638 (2009)”

Returns:

  • (String)


34
35
36
# File 'lib/export/dwca/gbif_profile/reference.rb', line 34

def bibliographicCitation
  @bibliographicCitation
end

#creatorString

creator (purl.org/dc/terms/creator)

The author or authors of the referenced work

Example: “Patricia Hartge”

Returns:

  • (String)


51
52
53
# File 'lib/export/dwca/gbif_profile/reference.rb', line 51

def creator
  @creator
end

#dateString

date (purl.org/dc/terms/date)

Date of publication, recommended ISO format YYYY or YYYY-MM-DD

Example: “6/1/2009”; “2009”

Returns:

  • (String)


59
60
61
# File 'lib/export/dwca/gbif_profile/reference.rb', line 59

def date
  @date
end

#descriptionString

description (purl.org/dc/terms/description)

Abstracts, remarks, notes

Example: “Five genome-wide association studies of the timing of menarche and menopause have now taken us beyond the range of candidate gene and linkage studies. The list of new genetic associations identified for these two traits should shed light on the mechanisms of ovarian aging, as well as breast cancer and other diseases associated with reproductive lifespan.”

Returns:

  • (String)


81
82
83
# File 'lib/export/dwca/gbif_profile/reference.rb', line 81

def description
  @description
end

#identifierString

identifier (purl.org/dc/terms/identifier)

DOI, ISBN, URI, etc refering to the reference. This can be repeated in multiple rows to include multiple identifiers, e.g. a DOI and a URL pointing to a pdf of the article.

Example: doi:10.1038/ng0609-637; www.nature.com/ng/journal/v41/n6/pdf/ng0609-637.pdf

Returns:

  • (String)


25
26
27
# File 'lib/export/dwca/gbif_profile/reference.rb', line 25

def identifier
  @identifier
end

#languageString

language (purl.org/dc/terms/language)

ISO 639-1 language code indicating the source language of the referent publication

Example: “en”

Returns:

  • (String)


100
101
102
# File 'lib/export/dwca/gbif_profile/reference.rb', line 100

def language
  @language
end

#rightsString

rights (purl.org/dc/terms/rights)

Copyright information relating to the referenced publication

Example: “Copyright © 2009 Wiley-Liss, Inc., A Wiley Company”

Returns:

  • (String)


108
109
110
# File 'lib/export/dwca/gbif_profile/reference.rb', line 108

def rights
  @rights
end

#sourceString

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

If the reference is part of a larger work, this can be cited here. In case of articles this is the journal, for parts of books the book itself

Example: Nature Genetics 41, 635 (2009)

Returns:

  • (String)


68
69
70
# File 'lib/export/dwca/gbif_profile/reference.rb', line 68

def source
  @source
end

#subjectString

subject (purl.org/dc/terms/subject)

Semicolon separated list of keywords. Can include a resource qualifier that specifies the relation of this reference to the taxon, e.g namePublishedIn

Example: genomics; epidemiology

Returns:

  • (String)


91
92
93
# File 'lib/export/dwca/gbif_profile/reference.rb', line 91

def subject
  @subject
end

#taxonIDString

taxonID (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 reference record points. This identifier provides the link between the core data record and the extension record.

Returns:

  • (String)


14
15
16
# File 'lib/export/dwca/gbif_profile/reference.rb', line 14

def taxonID
  @taxonID
end

#taxonRemarksString

taxonRemarks (rs.tdwg.org/dwc/terms/taxonRemarks)

Annotation of taxon-specific information related to the referenced publication.

Example: “transferred H. nigritarsus to Acanolonia”; “Type specimen is a skeleton”

Returns:

  • (String)


118
119
120
# File 'lib/export/dwca/gbif_profile/reference.rb', line 118

def taxonRemarks
  @taxonRemarks
end

#titleString

title (purl.org/dc/terms/title)

Title of book or article

Example: “Genetics of reproductive lifespan”, “Field Guide to Moths of Eastern North America”

Returns:

  • (String)


43
44
45
# File 'lib/export/dwca/gbif_profile/reference.rb', line 43

def title
  @title
end

#typeString

type (purl.org/dc/terms/type)

Used to assign a bibliographic reference to list of taxonomic or nomenclatural categories. Best practice is to use a controlled vocabulary. See an example below in data type.

Vocabulary: rs.gbif.org/vocabulary/gbif/reference_type.xml

Example: “Original publication of new combination (comb nov.)”

Returns:

  • (String)


130
131
132
# File 'lib/export/dwca/gbif_profile/reference.rb', line 130

def type
  @type
end