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-2.6.2 lib/ddr/vocab/duke_terms.rb
ddr-models-2.6.1 lib/ddr/vocab/duke_terms.rb
ddr-models-2.6.0 lib/ddr/vocab/duke_terms.rb
ddr-models-2.6.0.rc4 lib/ddr/vocab/duke_terms.rb
ddr-models-2.6.0.rc3 lib/ddr/vocab/duke_terms.rb
ddr-models-2.6.0.rc2 lib/ddr/vocab/duke_terms.rb
ddr-models-2.6.0.rc1 lib/ddr/vocab/duke_terms.rb
ddr-models-2.5.3 lib/ddr/vocab/duke_terms.rb
ddr-models-2.5.2 lib/ddr/vocab/duke_terms.rb
ddr-models-2.5.1 lib/ddr/vocab/duke_terms.rb
ddr-models-2.5.0 lib/ddr/vocab/duke_terms.rb
ddr-models-2.5.0.rc1 lib/ddr/vocab/duke_terms.rb
ddr-models-2.4.16 lib/ddr/vocab/duke_terms.rb
ddr-models-2.4.15 lib/ddr/vocab/duke_terms.rb
ddr-models-2.4.14 lib/ddr/vocab/duke_terms.rb
ddr-models-2.4.13 lib/ddr/vocab/duke_terms.rb
ddr-models-2.4.12 lib/ddr/vocab/duke_terms.rb
ddr-models-2.4.11 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.8 lib/ddr/vocab/duke_terms.rb
ddr-models-3.0.7 lib/ddr/vocab/duke_terms.rb