Sha256: a334f1b9e30c799302cd696626ec23f3f43d26c5eea2ea63b1cc5657d9e2117e
Contents?: true
Size: 1.75 KB
Versions: 2
Compression:
Stored size: 1.75 KB
Contents
# frozen_string_literal: true module Hyrax module BasicMetadata def self.included(work) work.property :label, predicate: ActiveFedora::RDF::Fcrepo::Model.downloadFilename, multiple: false work.property :relative_path, predicate: ::RDF::URI.new('http://scholarsphere.psu.edu/ns#relativePath'), multiple: false work.property :import_url, predicate: ::RDF::URI.new('http://scholarsphere.psu.edu/ns#importUrl'), multiple: false work.property :resource_type, predicate: ::RDF::Vocab::DC.type work.property :creator, predicate: ::RDF::Vocab::DC11.creator work.property :contributor, predicate: ::RDF::Vocab::DC11.contributor work.property :description, predicate: ::RDF::Vocab::DC11.description work.property :keyword, predicate: ::RDF::Vocab::DC11.relation work.property :license, predicate: ::RDF::Vocab::DC.rights work.property :rights_statement, predicate: ::RDF::Vocab::EDM.rights work.property :publisher, predicate: ::RDF::Vocab::DC11.publisher work.property :date_created, predicate: ::RDF::Vocab::DC.created work.property :subject, predicate: ::RDF::Vocab::DC11.subject work.property :language, predicate: ::RDF::Vocab::DC11.language work.property :identifier, predicate: ::RDF::Vocab::DC.identifier # Note: based_near is defined differently here than in Hyrax. work.property :based_near, predicate: ::RDF::Vocab::FOAF.based_near work.property :related_url, predicate: ::RDF::RDFS.seeAlso work.property :bibliographic_citation, predicate: ::RDF::Vocab::DC.bibliographicCitation work.property :source, predicate: ::RDF::Vocab::DC.source # From Zizia work.property :deduplication_key, predicate: ::RDF::Vocab::BF2.identifiedBy end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
zizia-6.0.1 | spec/support/hyrax/basic_metadata.rb |
zizia-6.0.0 | spec/support/hyrax/basic_metadata.rb |