lib/dpla/map/concept.rb in dpla-map-4.0.0.0.pre.1 vs lib/dpla/map/concept.rb in dpla-map-4.0.0.0.pre.2
- old
+ new
@@ -1,9 +1,12 @@
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=