lib/dpla/map/controlled/language.rb in dpla-map-4.0.0.0.pre.10 vs lib/dpla/map/controlled/language.rb in dpla-map-4.0.0.0.pre.11
- old
+ new
@@ -1,13 +1,13 @@
module DPLA::MAP
module Controlled
class Language < DPLA::MAP::Concept
include LinkedVocabs::Controlled
- configure :base_uri => "http://lexvo.org/id/iso639-3/", :rdf_label => RDF::URI('http://www.w3.org/2008/05/skos#prefLabel')
+ configure :base_uri => "http://lexvo.org/id/iso639-3/",
+ :rdf_label => RDF::SKOS.prefLabel,
+ :type => RDF::DC.LinguisticSystem
use_vocabulary :iso_639_3
-
- property :prefLabel, :predicate => RDF::SKOS.prefLabel
end
end
end