Sha256: d71b7998006511cf6b280c83a519f2ab7447da944a1d3809931c2c3f3285b3e1

Contents?: true

Size: 414 Bytes

Versions: 4

Compression:

Stored size: 414 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.xml"),
              "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

4 entries across 4 versions & 1 rubygems

Version Path
ddr-models-1.12.3 lib/ddr/vocab/duke_terms.rb
ddr-models-1.12.2 lib/ddr/vocab/duke_terms.rb
ddr-models-1.12.1 lib/ddr/vocab/duke_terms.rb
ddr-models-1.12.0 lib/ddr/vocab/duke_terms.rb