Sha256: 285a21f9794963c8205277c396487ac4cf4345c7e4b2ddec215cb08f6cea4fc2

Contents?: true

Size: 1.97 KB

Versions: 1

Compression:

Stored size: 1.97 KB

Contents

#
# Vocabulary generator config
#
# The value of each outer key consists of attribute names and values for the `RDF::VocabularyLoader`
# instance created to generate that vocabulary by `RDF::Vocab.generate`.
#
# Note that "module_name" defaults to "RDF::Vocab" (instead of "RDF" as with `RDF::VocabularyLoader`).
#
# Example:
#
#   mods:
#     class_name: MODS
#     uri: http://www.loc.gov/mods/rdf/v1#
#     source: http://www.loc.gov/standards/mods/modsrdf/v1/modsrdf.owl
#
#   RDF::Vocab.generate("mods") will create and run an instance of RDF::VocabularyLoader like so:
#
#   loader = RDF::VocabularyLoader.new
#   loader.module_name = "RDF::Vocab"
#   loader.class_name = "MODS"
#   loader.uri = "http://www.loc.gov/mods/rdf/v1#"
#   loader.source = "http://www.loc.gov/standards/mods/modsrdf/v1/modsrdf.owl"
#
#   which will generate the vocabulary:
#
#   module RDF::Vocab
#     class MODS < StrictVocabulary("http://www.loc.gov/mods/rdf/v1#")
#
#     [...]
#
acl:
  class_name: ACL
  uri: http://www.w3.org/ns/auth/acl#
  source: http://www.w3.org/ns/auth/acl
identifiers:
  class_name: Identifiers
  uri: http://id.loc.gov/vocabulary/identifiers/
  source: http://id.loc.gov/vocabulary/identifiers.nt
ldp:
  class_name: LDP
  uri: http://www.w3.org/ns/ldp#
  source: http://www.w3.org/ns/ldp
mads:
  class_name: MADS
  uri: http://www.loc.gov/mads/rdf/v1#
  source: http://www.loc.gov/standards/mads/rdf/v1.rdf
marc_relators:
  class_name: MARCRelators
  uri: http://id.loc.gov/vocabulary/relators/
  source: http://id.loc.gov/vocabulary/relators.nt
mods:
  class_name: MODS
  uri: http://www.loc.gov/mods/rdf/v1#
  source: http://www.loc.gov/standards/mods/modsrdf/v1/modsrdf.owl
premis_v1:
  module_name: RDF::Vocab::PREMIS
  class_name: V1
  uri: http://www.loc.gov/premis/rdf/v1#
  source: http://www.loc.gov/premis/rdf/v1.rdf
premis_event_type:
  class_name: PremisEventType
  uri: http://id.loc.gov/vocabulary/preservation/eventType/
  source: http://id.loc.gov/vocabulary/preservation/eventType.nt

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rdf-vocab-0.4.0 lib/rdf-vocab/config/vocab.yml