Sha256: d86e659776390e9263710f46e0c25c36be83cc9b70b54419d9250f7948c6655b

Contents?: true

Size: 410 Bytes

Versions: 109

Compression:

Stored size: 410 Bytes

Contents

module Ddr
  module Vocab

    class DukeTerms < RDF::StrictVocabulary("http://library.duke.edu/metadata/terms/")

      RDFVocabularyParser.new(
              File.join(File.dirname( __FILE__ ), "sources", "duketerms.rdf"),
              "http://library.duke.edu/metadata/terms/").
              term_symbols.sort.each do |term|
        property term, type: "rdf:Property".freeze
      end

    end
  end
end

Version data entries

109 entries across 109 versions & 1 rubygems

Version Path
ddr-models-3.0.6 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.5 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.4 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.3 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.2 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.1 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.0 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.0.rc6 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.0.rc5 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.0.rc4 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.0.rc3 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.0.rc2 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.0.rc1 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.0.beta.22 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.0.beta.21 lib/ddr/vocab/duke_terms.rb
ddr-models-2.4.10 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.0.beta.20 lib/ddr/vocab/duke_terms.rb
ddr-models-2.4.9 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.0.beta.18 lib/ddr/vocab/duke_terms.rb
ddr-models-2.4.8 lib/ddr/vocab/duke_terms.rb