lib/dpla/map/aggregation.rb in dpla-map-4.0.0.0.pre.3 vs lib/dpla/map/aggregation.rb in dpla-map-4.0.0.0.pre.4
- old
+ new
@@ -12,7 +12,11 @@
property :isShownAt, :predicate => RDF::EDM.isShownAt, :class_name => 'DPLA::MAP::WebResource'
property :object, :predicate => RDF::EDM.object, :class_name => 'DPLA::MAP::WebResource'
property :preview, :predicate => RDF::EDM.preview, :class_name => 'DPLA::MAP::WebResource'
property :provider, :predicate => RDF::EDM.provider, :class_name => 'DPLA::MAP::Agent'
property :rightsStatement, :predicate => RDF::EDM.rights, :class_name => 'DPLA::MAP::RightsStatement'
+
+ def jsonld_context
+ DPLA::MAP::CONTEXT['@context']
+ end
end
end