lib/dpla/map/time_span.rb in dpla-map-4.0.0.0.pre.12 vs lib/dpla/map/time_span.rb in dpla-map-4.0.0.0.pre.13
- old
+ new
@@ -2,9 +2,10 @@
class TimeSpan < ActiveTriples::Resource
configure :type => RDF::EDM.TimeSpan
validates_presence_of :providedLabel
+ property :prefLabel, :predicate => RDF::SKOS.prefLabel
property :providedLabel, :predicate => RDF::DPLA.providedLabel
property :begin, :predicate => RDF::EDM.begin
property :end, :predicate => RDF::EDM.end
end
end