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.2.0.rc3 lib/ddr/vocab/duke_terms.rb
ddr-core-1.2.0.rc2 lib/ddr/vocab/duke_terms.rb
ddr-core-1.2.0.rc1 lib/ddr/vocab/duke_terms.rb
ddr-core-1.1.2 lib/ddr/vocab/duke_terms.rb
ddr-core-1.1.1 lib/ddr/vocab/duke_terms.rb
ddr-core-1.1.0 lib/ddr/vocab/duke_terms.rb
ddr-core-1.0.0 lib/ddr/vocab/duke_terms.rb
ddr-core-0.3.0 lib/ddr/vocab/duke_terms.rb
ddr-core-0.2.2 lib/ddr/vocab/duke_terms.rb
ddr-core-0.2.1 lib/ddr/vocab/duke_terms.rb
ddr-models-2.11.0 lib/ddr/vocab/duke_terms.rb
ddr-models-2.10.2 lib/ddr/vocab/duke_terms.rb
ddr-models-2.10.1 lib/ddr/vocab/duke_terms.rb
ddr-models-2.10.0 lib/ddr/vocab/duke_terms.rb
ddr-models-2.10.0.rc2 lib/ddr/vocab/duke_terms.rb
ddr-models-2.10.0.rc1 lib/ddr/vocab/duke_terms.rb
ddr-models-2.9.2 lib/ddr/vocab/duke_terms.rb
ddr-models-2.9.1 lib/ddr/vocab/duke_terms.rb
ddr-models-2.9.0 lib/ddr/vocab/duke_terms.rb
ddr-models-2.9.0.rc1 lib/ddr/vocab/duke_terms.rb