Sha256: cbfb705f5c5dc6720239566e8bd689a52080a1dad0d1891c8b6fa848ca9c64dd

Contents?: true

Size: 546 Bytes

Versions: 12

Compression:

Stored size: 546 Bytes

Contents

module DPLA::MAP
  class Concept < ActiveTriples::Resource
    configure :type => RDF::SKOS.Concept

    property :prefLabel, :predicate => RDF::SKOS.prefLabel
    property :providedLabel, :predicate => RDF::DPLA.providedLabel
    property :exactMatch, :predicate => RDF::SKOS.exactMatch
    property :closeMatch, :predicate => RDF::SKOS.closeMatch
    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

12 entries across 12 versions & 1 rubygems

Version Path
dpla-map-4.0.0.0.pre.13 lib/dpla/map/concept.rb
dpla-map-4.0.0.0.pre.12 lib/dpla/map/concept.rb
dpla-map-4.0.0.0.pre.11 lib/dpla/map/concept.rb
dpla-map-4.0.0.0.pre.10 lib/dpla/map/concept.rb
dpla-map-4.0.0.0.pre.9 lib/dpla/map/concept.rb
dpla-map-4.0.0.0.pre.8 lib/dpla/map/concept.rb
dpla-map-4.0.0.0.pre.7 lib/dpla/map/concept.rb
dpla-map-4.0.0.0.pre.6 lib/dpla/map/concept.rb
dpla-map-4.0.0.0.pre.5 lib/dpla/map/concept.rb
dpla-map-4.0.0.0.pre.4 lib/dpla/map/concept.rb
dpla-map-4.0.0.0.pre.3 lib/dpla/map/concept.rb
dpla-map-4.0.0.0.pre.2 lib/dpla/map/concept.rb