rdf-vocab 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  # This file generated automatically using vocab-fetch from http://www.loc.gov/premis/rdf/v1.rdf
3
3
  require 'rdf'
4
- module RDF
5
- class PREMIS < RDF::StrictVocabulary("http://www.loc.gov/premis/rdf/v1#")
4
+ module RDF::PREMIS
5
+ class V1 < RDF::StrictVocabulary("http://www.loc.gov/premis/rdf/v1#")
6
6
 
7
7
  # Class definitions
8
8
  term :Agent,
@@ -0,0 +1,124 @@
1
+ # -*- encoding: utf-8 -*-
2
+ # This file generated automatically using vocab-fetch from http://id.loc.gov/vocabulary/preservation/eventType.nt
3
+ require 'rdf'
4
+ module RDF
5
+ class PremisEventType < RDF::StrictVocabulary("http://id.loc.gov/vocabulary/preservation/eventType/")
6
+
7
+ # Extra definitions
8
+ term :cap,
9
+ "http://www.loc.gov/mads/rdf/v1#authoritativeLabel" => %(capture).freeze,
10
+ "http://www.loc.gov/mads/rdf/v1#code" => %(cap).freeze,
11
+ label: "capture".freeze,
12
+ "skos:notation" => %(cap).freeze,
13
+ "skos:prefLabel" => %(capture).freeze,
14
+ type: ["http://www.loc.gov/mads/rdf/v1#Topic".freeze, "http://www.loc.gov/mads/rdf/v1#Authority".freeze, "skos:Concept".freeze]
15
+ term :collection_PREMIS,
16
+ label: "PREMIS Event Types Collection".freeze,
17
+ type: "http://www.loc.gov/mads/rdf/v1#MADSCollection".freeze
18
+ term :com,
19
+ "http://www.loc.gov/mads/rdf/v1#authoritativeLabel" => %(compression).freeze,
20
+ "http://www.loc.gov/mads/rdf/v1#code" => %(com).freeze,
21
+ label: "compression".freeze,
22
+ "skos:notation" => %(com).freeze,
23
+ "skos:prefLabel" => %(compression).freeze,
24
+ type: ["http://www.loc.gov/mads/rdf/v1#Topic".freeze, "http://www.loc.gov/mads/rdf/v1#Authority".freeze, "skos:Concept".freeze]
25
+ term :cre,
26
+ "http://www.loc.gov/mads/rdf/v1#authoritativeLabel" => %(creation).freeze,
27
+ "http://www.loc.gov/mads/rdf/v1#code" => %(cre).freeze,
28
+ label: "creation".freeze,
29
+ "skos:notation" => %(cre).freeze,
30
+ "skos:prefLabel" => %(creation).freeze,
31
+ type: ["http://www.loc.gov/mads/rdf/v1#Topic".freeze, "http://www.loc.gov/mads/rdf/v1#Authority".freeze, "skos:Concept".freeze]
32
+ term :dea,
33
+ "http://www.loc.gov/mads/rdf/v1#authoritativeLabel" => %(deaccession).freeze,
34
+ "http://www.loc.gov/mads/rdf/v1#code" => %(dea).freeze,
35
+ label: "deaccession".freeze,
36
+ "skos:notation" => %(dea).freeze,
37
+ "skos:prefLabel" => %(deaccession).freeze,
38
+ type: ["http://www.loc.gov/mads/rdf/v1#Topic".freeze, "http://www.loc.gov/mads/rdf/v1#Authority".freeze, "skos:Concept".freeze]
39
+ term :dec,
40
+ "http://www.loc.gov/mads/rdf/v1#authoritativeLabel" => %(decompression).freeze,
41
+ "http://www.loc.gov/mads/rdf/v1#code" => %(dec).freeze,
42
+ label: "decompression".freeze,
43
+ "skos:notation" => %(dec).freeze,
44
+ "skos:prefLabel" => %(decompression).freeze,
45
+ type: ["http://www.loc.gov/mads/rdf/v1#Topic".freeze, "http://www.loc.gov/mads/rdf/v1#Authority".freeze, "skos:Concept".freeze]
46
+ term :del,
47
+ "http://www.loc.gov/mads/rdf/v1#authoritativeLabel" => %(deletion).freeze,
48
+ "http://www.loc.gov/mads/rdf/v1#code" => %(del).freeze,
49
+ label: "deletion".freeze,
50
+ "skos:notation" => %(del).freeze,
51
+ "skos:prefLabel" => %(deletion).freeze,
52
+ type: ["http://www.loc.gov/mads/rdf/v1#Topic".freeze, "http://www.loc.gov/mads/rdf/v1#Authority".freeze, "skos:Concept".freeze]
53
+ term :der,
54
+ "http://www.loc.gov/mads/rdf/v1#authoritativeLabel" => %(decryption).freeze,
55
+ "http://www.loc.gov/mads/rdf/v1#code" => %(der).freeze,
56
+ label: "decryption".freeze,
57
+ "skos:notation" => %(der).freeze,
58
+ "skos:prefLabel" => %(decryption).freeze,
59
+ type: ["http://www.loc.gov/mads/rdf/v1#Topic".freeze, "http://www.loc.gov/mads/rdf/v1#Authority".freeze, "skos:Concept".freeze]
60
+ term :dig,
61
+ "http://www.loc.gov/mads/rdf/v1#authoritativeLabel" => %(digital signature validation).freeze,
62
+ "http://www.loc.gov/mads/rdf/v1#code" => %(dig).freeze,
63
+ label: "digital signature validation".freeze,
64
+ "skos:notation" => %(dig).freeze,
65
+ "skos:prefLabel" => %(digital signature validation).freeze,
66
+ type: ["http://www.loc.gov/mads/rdf/v1#Topic".freeze, "http://www.loc.gov/mads/rdf/v1#Authority".freeze, "skos:Concept".freeze]
67
+ term :fix,
68
+ "http://www.loc.gov/mads/rdf/v1#authoritativeLabel" => %(fixity check).freeze,
69
+ "http://www.loc.gov/mads/rdf/v1#code" => %(fix).freeze,
70
+ label: "fixity check".freeze,
71
+ "skos:notation" => %(fix).freeze,
72
+ "skos:prefLabel" => %(fixity check).freeze,
73
+ type: ["http://www.loc.gov/mads/rdf/v1#Topic".freeze, "http://www.loc.gov/mads/rdf/v1#Authority".freeze, "skos:Concept".freeze]
74
+ term :ing,
75
+ "http://www.loc.gov/mads/rdf/v1#authoritativeLabel" => %(ingestion).freeze,
76
+ "http://www.loc.gov/mads/rdf/v1#code" => %(ing).freeze,
77
+ label: "ingestion".freeze,
78
+ "skos:notation" => %(ing).freeze,
79
+ "skos:prefLabel" => %(ingestion).freeze,
80
+ type: ["http://www.loc.gov/mads/rdf/v1#Topic".freeze, "http://www.loc.gov/mads/rdf/v1#Authority".freeze, "skos:Concept".freeze]
81
+ term :mes,
82
+ "http://www.loc.gov/mads/rdf/v1#authoritativeLabel" => %(message digest calculation).freeze,
83
+ "http://www.loc.gov/mads/rdf/v1#code" => %(mes).freeze,
84
+ label: "message digest calculation".freeze,
85
+ "skos:notation" => %(mes).freeze,
86
+ "skos:prefLabel" => %(message digest calculation).freeze,
87
+ type: ["http://www.loc.gov/mads/rdf/v1#Topic".freeze, "http://www.loc.gov/mads/rdf/v1#Authority".freeze, "skos:Concept".freeze]
88
+ term :mig,
89
+ "http://www.loc.gov/mads/rdf/v1#authoritativeLabel" => %(migration).freeze,
90
+ "http://www.loc.gov/mads/rdf/v1#code" => %(mig).freeze,
91
+ label: "migration".freeze,
92
+ "skos:notation" => %(mig).freeze,
93
+ "skos:prefLabel" => %(migration).freeze,
94
+ type: ["http://www.loc.gov/mads/rdf/v1#Topic".freeze, "http://www.loc.gov/mads/rdf/v1#Authority".freeze, "skos:Concept".freeze]
95
+ term :nor,
96
+ "http://www.loc.gov/mads/rdf/v1#authoritativeLabel" => %(normalization).freeze,
97
+ "http://www.loc.gov/mads/rdf/v1#code" => %(nor).freeze,
98
+ label: "normalization".freeze,
99
+ "skos:notation" => %(nor).freeze,
100
+ "skos:prefLabel" => %(normalization).freeze,
101
+ type: ["http://www.loc.gov/mads/rdf/v1#Topic".freeze, "http://www.loc.gov/mads/rdf/v1#Authority".freeze, "skos:Concept".freeze]
102
+ term :rep,
103
+ "http://www.loc.gov/mads/rdf/v1#authoritativeLabel" => %(replication).freeze,
104
+ "http://www.loc.gov/mads/rdf/v1#code" => %(rep).freeze,
105
+ label: "replication".freeze,
106
+ "skos:notation" => %(rep).freeze,
107
+ "skos:prefLabel" => %(replication).freeze,
108
+ type: ["http://www.loc.gov/mads/rdf/v1#Topic".freeze, "http://www.loc.gov/mads/rdf/v1#Authority".freeze, "skos:Concept".freeze]
109
+ term :val,
110
+ "http://www.loc.gov/mads/rdf/v1#authoritativeLabel" => %(validation).freeze,
111
+ "http://www.loc.gov/mads/rdf/v1#code" => %(val).freeze,
112
+ label: "validation".freeze,
113
+ "skos:notation" => %(val).freeze,
114
+ "skos:prefLabel" => %(validation).freeze,
115
+ type: ["http://www.loc.gov/mads/rdf/v1#Topic".freeze, "http://www.loc.gov/mads/rdf/v1#Authority".freeze, "skos:Concept".freeze]
116
+ term :vir,
117
+ "http://www.loc.gov/mads/rdf/v1#authoritativeLabel" => %(virus check).freeze,
118
+ "http://www.loc.gov/mads/rdf/v1#code" => %(vir).freeze,
119
+ label: "virus check".freeze,
120
+ "skos:notation" => %(vir).freeze,
121
+ "skos:prefLabel" => %(virus check).freeze,
122
+ type: ["http://www.loc.gov/mads/rdf/v1#Topic".freeze, "http://www.loc.gov/mads/rdf/v1#Authority".freeze, "skos:Concept".freeze]
123
+ end
124
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-vocab
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Chandek-Stark
@@ -75,6 +75,8 @@ extra_rdoc_files: []
75
75
  files:
76
76
  - ".gitignore"
77
77
  - ".rspec"
78
+ - ".travis.yml"
79
+ - CONTRIBUTORS.md
78
80
  - Gemfile
79
81
  - LICENSE
80
82
  - README.md
@@ -83,12 +85,12 @@ files:
83
85
  - lib/rdf-vocab/config/vocab.yml
84
86
  - lib/rdf-vocab/tasks/vocab.rake
85
87
  - lib/rdf-vocab/version.rb
88
+ - lib/rdf-vocab/vocab/ldp.rb
86
89
  - lib/rdf-vocab/vocab/mads.rb
87
90
  - lib/rdf-vocab/vocab/marc_relators.rb
88
91
  - lib/rdf-vocab/vocab/mods.rb
89
- - lib/rdf-vocab/vocab/premis.rb
90
- - lib/rdf-vocab/vocab/preservation.rb
91
- - lib/rdf-vocab/vocab/preservation/event_type.rb
92
+ - lib/rdf-vocab/vocab/premis/v1.rb
93
+ - lib/rdf-vocab/vocab/premis_event_type.rb
92
94
  - rdf-vocab.gemspec
93
95
  - spec/fixtures/dcterms.rdf
94
96
  - spec/spec_helper.rb
@@ -1,6 +0,0 @@
1
- module RDF
2
- module Preservation
3
-
4
- end
5
- end
6
-
@@ -1,24 +0,0 @@
1
- require 'rdf'
2
-
3
- module RDF
4
- module Preservation
5
- class EventType < RDF::StrictVocabulary("http://id.loc.gov/vocabulary/preservation/eventType/")
6
- property :cap, label: "capture"
7
- property :com, label: "compression"
8
- property :cre, label: "creation"
9
- property :dea, label: "deaccession"
10
- property :dec, label: "decompression"
11
- property :der, label: "decryption"
12
- property :del, label: "deletion"
13
- property :dig, label: "digital signature validation"
14
- property :fix, label: "fixity check"
15
- property :ing, label: "ingestion"
16
- property :mes, label: "message digest calculation"
17
- property :mig, label: "migration"
18
- property :nor, label: "normalization"
19
- property :rep, label: "replication"
20
- property :val, label: "validation"
21
- property :vir, label: "virus check"
22
- end
23
- end
24
- end