rdf-vocab 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8cf717aab6ed67096133898065cebe008ab28f9a
4
- data.tar.gz: 06fef83f5cd3af7629b7862c90529db31b9bfd5e
3
+ metadata.gz: 95043d80e927eadbed60aad0b2da91426ef0c5fd
4
+ data.tar.gz: 983ca54cbffc1b99b41d2c02c30fd66a892ff44f
5
5
  SHA512:
6
- metadata.gz: 85b55fc639973d774c9ab5b83c461e9fc022b2d383c938f1aa274f483c3634e61c3cc24924c08893d665ebd3b8252240f52b8835b1a49d8a2cf413399b8392d1
7
- data.tar.gz: 220592db57c67a373a40a69c4f574a86947606b073859e1f1ddbde9e240d2653aac92faacfa069255ba0a0cc2ae963d00c63293ec76c742a7c9eda36c95b3013
6
+ metadata.gz: 006eb1f4c0f972bd4d9b48e6847657094a7294a1474525b61a90d8cb8ed61e5fee9863d17692509ade705f9c472921540a8021ca368ee883002e34263d6023c7
7
+ data.tar.gz: df8eed1c3fca16c22175613948cda0e5b848325c5675a8c125982be7b19fe87e06d513ca7db92858250bc73f5522d9fa60fb880d08bfff276c971b255def7177
data/README.md CHANGED
@@ -15,6 +15,7 @@ Common OWL/RDFS Vocabularies for use with Ruby [RDF.rb][]
15
15
  * RDF::Vocab::DC - [DCMI Metadata Terms](http://purl.org/dc/terms/) (DCMI) - Alias of `RDF::DC`
16
16
  * RDF::Vocab::DC11 - [Dublin Core Metadata Element Set](http://purl.org/dc/elements/1.1/) (DCMI) - Alias of `RDF::DC11`
17
17
  * RDF::Vocab::DCAT - [Data Catalog Vocabulary](http://www.w3.org/TR/vocab-dcat/) (DCMI) - Alias of `RDF::DCAT`
18
+ * RDF::Vocab::DCMITypes - [DCMI Type Vocabulary](http://dublincore.org/documents/dcmi-terms/) (DCMI)
18
19
  * RDF::Vocab::DOAP - [Description of a Project (DOAP) vocabulary](https://github.com/edumbill/doap/wiki) - Alias of `RDF::DOAP`
19
20
  * RDF::Vocab::DWC - [Darwin Core](http://rs.tdwg.org/dwc/terms/)
20
21
  * RDF::Vocab::EXIF - [Exif vocabulary workspace](http://www.w3.org/2003/12/exif/) (W3C) - Alias of `RDF::EXIF`
@@ -66,7 +67,7 @@ then
66
67
 
67
68
  ## Usage
68
69
 
69
- require "rdf-vocab"
70
+ require "rdf/vocab"
70
71
 
71
72
  This will load all the vocabulary classes in the library.
72
73
 
data/lib/rdf/vocab.rb CHANGED
@@ -25,6 +25,10 @@ module RDF
25
25
  dc: {uri: "http://purl.org/dc/terms/", alias: true},
26
26
  dc11: {uri: "http://purl.org/dc/elements/1.1/", alias: true},
27
27
  dcat: {uri: "http://www.w3.org/ns/dcat#", alias: true},
28
+ dcmitype: {
29
+ uri: "http://purl.org/dc/dcmitype/",
30
+ class_name: "DCMIType"
31
+ },
28
32
  doap: {uri: "http://usefulinc.com/ns/doap#", alias: true},
29
33
  dwc: {
30
34
  uri: "http://rs.tdwg.org/dwc/terms/",
@@ -0,0 +1,138 @@
1
+ # -*- encoding: utf-8 -*-
2
+ # This file generated automatically using vocab-fetch from http://purl.org/dc/dcmitype/
3
+ require 'rdf'
4
+ module RDF::Vocab
5
+ class DCMIType < RDF::StrictVocabulary("http://purl.org/dc/dcmitype/")
6
+
7
+ # Class definitions
8
+ term :Collection,
9
+ comment: %(An aggregation of resources.).freeze,
10
+ "dc:description" => %(A collection is described as a group; its parts may also be separately described.).freeze,
11
+ "dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#Collection-003).freeze,
12
+ "dc:issued" => %(2000-07-11).freeze,
13
+ "dc:modified" => %(2008-01-14).freeze,
14
+ "http://purl.org/dc/dcam/memberOf" => %(dc:DCMIType).freeze,
15
+ label: "Collection".freeze,
16
+ "rdfs:isDefinedBy" => %(http://purl.org/dc/dcmitype/).freeze,
17
+ type: "rdfs:Class".freeze
18
+ term :Dataset,
19
+ comment: %(Data encoded in a defined structure.).freeze,
20
+ "dc:description" => %(Examples include lists, tables, and databases. A dataset may be useful for direct machine processing.).freeze,
21
+ "dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#Dataset-003).freeze,
22
+ "dc:issued" => %(2000-07-11).freeze,
23
+ "dc:modified" => %(2008-01-14).freeze,
24
+ "http://purl.org/dc/dcam/memberOf" => %(dc:DCMIType).freeze,
25
+ label: "Dataset".freeze,
26
+ "rdfs:isDefinedBy" => %(http://purl.org/dc/dcmitype/).freeze,
27
+ type: "rdfs:Class".freeze
28
+ term :Event,
29
+ comment: %(A non-persistent, time-based occurrence.).freeze,
30
+ "dc:description" => %(Metadata for an event provides descriptive information that is the basis for discovery of the purpose, location, duration, and responsible agents associated with an event. Examples include an exhibition, webcast, conference, workshop, open day, performance, battle, trial, wedding, tea party, conflagration.).freeze,
31
+ "dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#Event-003).freeze,
32
+ "dc:issued" => %(2000-07-11).freeze,
33
+ "dc:modified" => %(2008-01-14).freeze,
34
+ "http://purl.org/dc/dcam/memberOf" => %(dc:DCMIType).freeze,
35
+ label: "Event".freeze,
36
+ "rdfs:isDefinedBy" => %(http://purl.org/dc/dcmitype/).freeze,
37
+ type: "rdfs:Class".freeze
38
+ term :Image,
39
+ comment: %(A visual representation other than text.).freeze,
40
+ "dc:description" => %(Examples include images and photographs of physical objects, paintings, prints, drawings, other images and graphics, animations and moving pictures, film, diagrams, maps, musical notation. Note that Image may include both electronic and physical representations.).freeze,
41
+ "dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#Image-004).freeze,
42
+ "dc:issued" => %(2000-07-11).freeze,
43
+ "dc:modified" => %(2008-01-14).freeze,
44
+ "http://purl.org/dc/dcam/memberOf" => %(dc:DCMIType).freeze,
45
+ label: "Image".freeze,
46
+ "rdfs:isDefinedBy" => %(http://purl.org/dc/dcmitype/).freeze,
47
+ type: "rdfs:Class".freeze
48
+ term :InteractiveResource,
49
+ comment: %(A resource requiring interaction from the user to be understood, executed, or experienced.).freeze,
50
+ "dc:description" => %(Examples include forms on Web pages, applets, multimedia learning objects, chat services, or virtual reality environments.).freeze,
51
+ "dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#InteractiveResource-003).freeze,
52
+ "dc:issued" => %(2000-07-11).freeze,
53
+ "dc:modified" => %(2008-01-14).freeze,
54
+ "http://purl.org/dc/dcam/memberOf" => %(dc:DCMIType).freeze,
55
+ label: "Interactive Resource".freeze,
56
+ "rdfs:isDefinedBy" => %(http://purl.org/dc/dcmitype/).freeze,
57
+ type: "rdfs:Class".freeze
58
+ term :MovingImage,
59
+ comment: %(A series of visual representations imparting an impression of motion when shown in succession.).freeze,
60
+ "dc:description" => %(Examples include animations, movies, television programs, videos, zoetropes, or visual output from a simulation. Instances of the type Moving Image must also be describable as instances of the broader type Image.).freeze,
61
+ "dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#MovingImage-003).freeze,
62
+ "dc:issued" => %(2003-11-18).freeze,
63
+ "dc:modified" => %(2008-01-14).freeze,
64
+ "http://purl.org/dc/dcam/memberOf" => %(dc:DCMIType).freeze,
65
+ label: "Moving Image".freeze,
66
+ "rdfs:isDefinedBy" => %(http://purl.org/dc/dcmitype/).freeze,
67
+ subClassOf: "http://purl.org/dc/dcmitype/Image".freeze,
68
+ type: "rdfs:Class".freeze
69
+ term :PhysicalObject,
70
+ comment: %(An inanimate, three-dimensional object or substance.).freeze,
71
+ "dc:description" => %(Note that digital representations of, or surrogates for, these objects should use Image, Text or one of the other types.).freeze,
72
+ "dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#PhysicalObject-003).freeze,
73
+ "dc:issued" => %(2002-07-13).freeze,
74
+ "dc:modified" => %(2008-01-14).freeze,
75
+ "http://purl.org/dc/dcam/memberOf" => %(dc:DCMIType).freeze,
76
+ label: "Physical Object".freeze,
77
+ "rdfs:isDefinedBy" => %(http://purl.org/dc/dcmitype/).freeze,
78
+ type: "rdfs:Class".freeze
79
+ term :Service,
80
+ comment: %(A system that provides one or more functions.).freeze,
81
+ "dc:description" => %(Examples include a photocopying service, a banking service, an authentication service, interlibrary loans, a Z39.50 or Web server.).freeze,
82
+ "dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#Service-003).freeze,
83
+ "dc:issued" => %(2000-07-11).freeze,
84
+ "dc:modified" => %(2008-01-14).freeze,
85
+ "http://purl.org/dc/dcam/memberOf" => %(dc:DCMIType).freeze,
86
+ label: "Service".freeze,
87
+ "rdfs:isDefinedBy" => %(http://purl.org/dc/dcmitype/).freeze,
88
+ type: "rdfs:Class".freeze
89
+ term :Software,
90
+ comment: %(A computer program in source or compiled form.).freeze,
91
+ "dc:description" => %(Examples include a C source file, MS-Windows .exe executable, or Perl script.).freeze,
92
+ "dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#Software-003).freeze,
93
+ "dc:issued" => %(2000-07-11).freeze,
94
+ "dc:modified" => %(2008-01-14).freeze,
95
+ "http://purl.org/dc/dcam/memberOf" => %(dc:DCMIType).freeze,
96
+ label: "Software".freeze,
97
+ "rdfs:isDefinedBy" => %(http://purl.org/dc/dcmitype/).freeze,
98
+ type: "rdfs:Class".freeze
99
+ term :Sound,
100
+ comment: %(A resource primarily intended to be heard.).freeze,
101
+ "dc:description" => %(Examples include a music playback file format, an audio compact disc, and recorded speech or sounds.).freeze,
102
+ "dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#Sound-003).freeze,
103
+ "dc:issued" => %(2000-07-11).freeze,
104
+ "dc:modified" => %(2008-01-14).freeze,
105
+ "http://purl.org/dc/dcam/memberOf" => %(dc:DCMIType).freeze,
106
+ label: "Sound".freeze,
107
+ "rdfs:isDefinedBy" => %(http://purl.org/dc/dcmitype/).freeze,
108
+ type: "rdfs:Class".freeze
109
+ term :StillImage,
110
+ comment: %(A static visual representation.).freeze,
111
+ "dc:description" => %(Examples include paintings, drawings, graphic designs, plans and maps. Recommended best practice is to assign the type Text to images of textual materials. Instances of the type Still Image must also be describable as instances of the broader type Image.).freeze,
112
+ "dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#StillImage-003).freeze,
113
+ "dc:issued" => %(2003-11-18).freeze,
114
+ "dc:modified" => %(2008-01-14).freeze,
115
+ "http://purl.org/dc/dcam/memberOf" => %(dc:DCMIType).freeze,
116
+ label: "Still Image".freeze,
117
+ "rdfs:isDefinedBy" => %(http://purl.org/dc/dcmitype/).freeze,
118
+ subClassOf: "http://purl.org/dc/dcmitype/Image".freeze,
119
+ type: "rdfs:Class".freeze
120
+ term :Text,
121
+ comment: %(A resource consisting primarily of words for reading.).freeze,
122
+ "dc:description" => %(Examples include books, letters, dissertations, poems, newspapers, articles, archives of mailing lists. Note that facsimiles or images of texts are still of the genre Text.).freeze,
123
+ "dc:hasVersion" => %(http://dublincore.org/usage/terms/history/#Text-003).freeze,
124
+ "dc:issued" => %(2000-07-11).freeze,
125
+ "dc:modified" => %(2008-01-14).freeze,
126
+ "http://purl.org/dc/dcam/memberOf" => %(dc:DCMIType).freeze,
127
+ label: "Text".freeze,
128
+ "rdfs:isDefinedBy" => %(http://purl.org/dc/dcmitype/).freeze,
129
+ type: "rdfs:Class".freeze
130
+
131
+ # Extra definitions
132
+ term :"",
133
+ "dc:modified" => %(2012-06-14).freeze,
134
+ "dc:publisher" => %(http://purl.org/dc/aboutdcmi#DCMI).freeze,
135
+ "dc:title" => %(DCMI Type Vocabulary).freeze,
136
+ label: "".freeze
137
+ end
138
+ 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.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Chandek-Stark
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-04-04 00:00:00.000000000 Z
13
+ date: 2015-04-23 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rdf
@@ -146,6 +146,7 @@ files:
146
146
  - lib/rdf/vocab/cnt.rb
147
147
  - lib/rdf/vocab/crm.rb
148
148
  - lib/rdf/vocab/datacite.rb
149
+ - lib/rdf/vocab/dcmitype.rb
149
150
  - lib/rdf/vocab/dwc.rb
150
151
  - lib/rdf/vocab/edm.rb
151
152
  - lib/rdf/vocab/extensions.rb