-
Notifications
You must be signed in to change notification settings - Fork 5
Add Controlled Vocabularies & Properties
kestlund edited this page Dec 19, 2014
·
3 revisions
Follow principles and steps for OpaqueNamespace
Use Oregon Digital Git Best Practices.
Configure controlled vocabularies
When strict => true
, a local copy is generated.
Fetch
gen_vocab
Rake task loads vocabularies
Oregon Digital Controlled Vocabularies
[Oregon Digital Predicate Vocabularies] (https://github.com/OregonDigital/oregondigital/blob/master/lib/oregon_digital/vocabularies/)
Create a branch For properties with controlled vocabularies, add :class_name to property in Oregon Oregon Datastream model
property :rights, :predicate => RDF::DC.rights, :class_name => OregonDigital::ControlledVocabularies::RightsStatement do |index|
index.as :displayable
end