Sha256: 1c4b103e0a9f303de2a674dc8a1a9a85be55317b09558572d8ccc5580255477f

Contents?: true

Size: 362 Bytes

Versions: 50

Compression:

Stored size: 362 Bytes

Contents

module Ddr::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

Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
ddr-models-2.8.0 lib/ddr/vocab/duke_terms.rb
ddr-models-2.8.0.rc1 lib/ddr/vocab/duke_terms.rb
ddr-models-2.7.6 lib/ddr/vocab/duke_terms.rb
ddr-models-2.7.5 lib/ddr/vocab/duke_terms.rb
ddr-models-2.7.4 lib/ddr/vocab/duke_terms.rb
ddr-models-2.7.3 lib/ddr/vocab/duke_terms.rb
ddr-models-2.7.2 lib/ddr/vocab/duke_terms.rb
ddr-models-2.7.1 lib/ddr/vocab/duke_terms.rb
ddr-models-2.7.0 lib/ddr/vocab/duke_terms.rb
ddr-models-2.7.0.rc1 lib/ddr/vocab/duke_terms.rb