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-core-1.8.0 lib/ddr/vocab/duke_terms.rb
ddr-core-1.7.0 lib/ddr/vocab/duke_terms.rb
ddr-core-1.6.6 lib/ddr/vocab/duke_terms.rb
ddr-core-1.6.5 lib/ddr/vocab/duke_terms.rb
ddr-core-1.6.4 lib/ddr/vocab/duke_terms.rb
ddr-core-1.6.3 lib/ddr/vocab/duke_terms.rb
ddr-core-1.6.2 lib/ddr/vocab/duke_terms.rb
ddr-core-1.6.1 lib/ddr/vocab/duke_terms.rb
ddr-core-1.6.0 lib/ddr/vocab/duke_terms.rb
ddr-core-1.5.5 lib/ddr/vocab/duke_terms.rb
ddr-core-1.5.4 lib/ddr/vocab/duke_terms.rb
ddr-core-1.5.2 lib/ddr/vocab/duke_terms.rb
ddr-core-1.5.3 lib/ddr/vocab/duke_terms.rb
ddr-core-1.5.1 lib/ddr/vocab/duke_terms.rb
ddr-core-1.4.4 lib/ddr/vocab/duke_terms.rb
ddr-core-1.4.3 lib/ddr/vocab/duke_terms.rb
ddr-core-1.4.2 lib/ddr/vocab/duke_terms.rb
ddr-core-1.4.0 lib/ddr/vocab/duke_terms.rb
ddr-core-1.3.0 lib/ddr/vocab/duke_terms.rb
ddr-core-1.2.0 lib/ddr/vocab/duke_terms.rb