Sha256: cf37385f2a612c887542bfe2852725ab1f3e88757ca385c5655c67f5ca0ecdbd

Contents?: true

Size: 361 Bytes

Versions: 1

Compression:

Stored size: 361 Bytes

Contents

module DPLA::MAP
  class Concept < ActiveTriples::Resource
    configure :type => RDF::SKOS.Concept
    
    property :prefLabel, :predicate => RDF::SKOS.prefLabel
    property :note, :predicate => RDF::SKOS.note
    property :scheme, :predicate => RDF::SKOS.inScheme

    alias_method :concept, :prefLabel
    alias_method :concept=, :prefLabel=    
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dpla-map-4.0.0.0.pre.1 lib/dpla/map/concept.rb