Skip to content

Commit

Permalink
Added terms to form
Browse files Browse the repository at this point in the history
Additional terms for folklore and sheet music. Do not merge until
rights holder and ethnographic terms are added to model.
  • Loading branch information
kestlund authored and Tom Johnson committed Jun 2, 2014
1 parent 090da39 commit 392c0e3
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 5 deletions.
5 changes: 4 additions & 1 deletion app/models/datastream/oregon_rdf.rb
Expand Up @@ -155,7 +155,7 @@ def self.resource_class
property :locationCopyShelfLocator, :predicate => RDF::URI('http://www.loc.gov/standards/mods/modsrdf/v1#locationCopyShelfLocator') do |index|
index.as :displayable
end
property :locationCopyShelfLocator, :predicate => RDF::URI('http://www.loc.gov/standards/mods/modsrdf/v1#note') do |index|
property :note, :predicate => RDF::URI('http://www.loc.gov/standards/mods/modsrdf/v1#note') do |index|
index.as :displayable
end

Expand Down Expand Up @@ -198,6 +198,9 @@ def self.resource_class
property :cover, :predicate => OregonDigital::Vocabularies::OREGONDIGITAL.cover do |index|
index.as :searchable, :displayable
end
property :accessionNumber, :predicate => OregonDigital::Vocabularies::OREGONDIGITAL.accessionNumber do |index|
index.as :searchable, :displayable
end
property :exhibit, :predicate => OregonDigital::Vocabularies::OREGONDIGITAL.exhibit do |index|
index.as :searchable, :facetable, :displayable
end
Expand Down
24 changes: 20 additions & 4 deletions config/initializers/ingest_form_map.rb
Expand Up @@ -20,13 +20,20 @@
title: {
title: "descMetadata.title",
alternative: "descMetadata.alternative",
captionTitle: "descMetadata.captionTitle",
firstLine: "descMetadata.firstLine",
firstLineChorus: "descMetadata.firstLineChorus",
},

creator: {
creator: "descMetadata.creator",
contributor: "descMetadata.contributor",
photographer: "descMetadata.photographer",
illustrator: "descMetadata.illustrator",
composer: "descMetadata.composer",
lyricist: "descMetadata.lyricist",
arranger: "descMetadata.arranger",
printMaker: "descMetadata.printMaker",
},

description: {
Expand All @@ -36,42 +43,50 @@
culturalContext: "descMetadata.culturalContext",
inscription: "descMetadata.inscription",
cover: "descMetadata.cover",
instrumentation: "descMetadata.instrumentation",
note: "descMetadata.note",
},

subject: {
lcsubject: "descMetadata.lcsubject",
subject: "descMetadata.subject",
# ethnographicTerm: "descMetadata.ethnographicTerm",
},

geographic: {
location: "descMetadata.location",
},

date: {
created: "descMetadata.created",
modified: "descMetadata.modified",
date: "descMetadata.date",
dateSubmitted: "descMetadata.submissionDate",
dateDigitized: "descMetadata.dateDigitized",
issued: "descMetadata.issued",
earliestDate: "descMetadata.earliestDate",
latestDate: "descMetadata.latestDate",
created: "descMetadata.created",
modified: "descMetadata.modified",
},

identifier: {
identifier: "descMetadata.identifier",
locationCopyShelfLocator: "descMetadata.locationCopyShelfLocator",
accessionNumber: "descMetadata.accessionNumber",
},

right: {
rights: "descMetadata.rights",
copyrightClaimant: "descMetadata.copyrightClaimant",
rightsHolder: "descMetadata.rightsHolder",
},

publishing: {
publisher: {
source: "descMetadata.source",
language: "descMetadata.language",
publisher: "descMetadata.publisher",
placeOfPublication: "descMetadata.placeOfPublication",
provenance: "descMetadata.provenance",
largerWork: "descMetadata.largerWork",
hostItem: "descMetadata.hostItem",
},

type: {
Expand Down Expand Up @@ -111,3 +126,4 @@
property.gsub!("descMetadata", "templateMetadata")
end
end

2 changes: 2 additions & 0 deletions lib/oregon_digital/vocabularies/oregondigital.rb
Expand Up @@ -17,6 +17,8 @@ class OREGONDIGITAL < ::RDF::StrictVocabulary("http://opaquenamespace.org/ns/")
property :conversionSpecification, :label => 'Conversion Specification'
property :captionTitle, :label => 'Caption Title'
property :cover, :label => 'Cover'
property :viewDescription, :label => 'View Description'
property :accessionNumber, :label => 'Accession Number'
property :exhibit, :label => 'Exhibit'
property :dateDigitized, :label => 'Date Digitized'
# Other terms
Expand Down

0 comments on commit 392c0e3

Please sign in to comment.