rdf-vocab 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +24 -200
- data/README.md +88 -33
- data/lib/{rdf-vocab → rdf}/vocab/acl.rb +19 -13
- data/lib/{rdf-vocab → rdf}/vocab/bibframe.rb +513 -510
- data/lib/rdf/vocab/cnt.rb +112 -0
- data/lib/{rdf-vocab → rdf}/vocab/crm.rb +799 -799
- data/lib/{rdf-vocab → rdf}/vocab/datacite.rb +53 -53
- data/lib/{rdf-vocab → rdf}/vocab/dwc.rb +459 -459
- data/lib/{rdf-vocab → rdf}/vocab/edm.rb +41 -41
- data/lib/rdf/vocab/extensions.rb +29 -0
- data/lib/{rdf-vocab → rdf}/vocab/fcrepo4.rb +38 -38
- data/lib/{rdf-vocab → rdf}/vocab/iana.rb +89 -166
- data/lib/{rdf-vocab → rdf}/vocab/identifiers.rb +58 -38
- data/lib/rdf/vocab/ldp.rb +218 -0
- data/lib/{rdf-vocab → rdf}/vocab/mads.rb +147 -147
- data/lib/{rdf-vocab → rdf}/vocab/marc_relators.rb +273 -269
- data/lib/{rdf-vocab → rdf}/vocab/mods.rb +178 -178
- data/lib/{rdf-vocab → rdf}/vocab/oa.rb +102 -102
- data/lib/{rdf-vocab → rdf}/vocab/ore.rb +32 -32
- data/lib/{rdf-vocab/vocab/premis/v1.rb → rdf/vocab/premis.rb} +147 -147
- data/lib/{rdf-vocab → rdf}/vocab/premis_event_type.rb +0 -0
- data/lib/rdf/vocab/version.rb +18 -0
- data/lib/rdf/vocab.rb +153 -0
- data/spec/spec_helper.rb +3 -84
- data/spec/vocab_spec.rb +64 -0
- metadata +109 -58
- data/.gitignore +0 -17
- data/.rspec +0 -2
- data/.travis.yml +0 -6
- data/CONTRIBUTING.md +0 -116
- data/CONTRIBUTORS.md +0 -6
- data/Gemfile +0 -4
- data/Rakefile +0 -8
- data/lib/rdf-vocab/config/vocab.yml +0 -109
- data/lib/rdf-vocab/tasks/vocab.rake +0 -44
- data/lib/rdf-vocab/version.rb +0 -5
- data/lib/rdf-vocab/vocab/fcrepo3.rb +0 -326
- data/lib/rdf-vocab/vocab/ldp.rb +0 -140
- data/lib/rdf-vocab/vocab/prov.rb +0 -1549
- data/lib/rdf-vocab.rb +0 -34
- data/rdf-vocab.gemspec +0 -26
- data/sources/dwcterms.rdf +0 -2679
- data/sources/iana-relation.rdf +0 -475
- data/sources/iana-relation.xsl +0 -65
- data/spec/fixtures/dcterms.rdf +0 -1077
- data/spec/unit/rdf_vocab_spec.rb +0 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8cf717aab6ed67096133898065cebe008ab28f9a
|
4
|
+
data.tar.gz: 06fef83f5cd3af7629b7862c90529db31b9bfd5e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 85b55fc639973d774c9ab5b83c461e9fc022b2d383c938f1aa274f483c3634e61c3cc24924c08893d665ebd3b8252240f52b8835b1a49d8a2cf413399b8392d1
|
7
|
+
data.tar.gz: 220592db57c67a373a40a69c4f574a86947606b073859e1f1ddbde9e240d2653aac92faacfa069255ba0a0cc2ae963d00c63293ec76c742a7c9eda36c95b3013
|
data/LICENSE
CHANGED
@@ -1,201 +1,25 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
This is free and unencumbered software released into the public domain.
|
2
|
+
|
3
|
+
Anyone is free to copy, modify, publish, use, compile, sell, or
|
4
|
+
distribute this software, either in source code form or as a compiled
|
5
|
+
binary, for any purpose, commercial or non-commercial, and by any
|
6
|
+
means.
|
7
|
+
|
8
|
+
In jurisdictions that recognize copyright laws, the author or authors
|
9
|
+
of this software dedicate any and all copyright interest in the
|
10
|
+
software to the public domain. We make this dedication for the benefit
|
11
|
+
of the public at large and to the detriment of our heirs and
|
12
|
+
successors. We intend this dedication to be an overt act of
|
13
|
+
relinquishment in perpetuity of all present and future rights to this
|
14
|
+
software under copyright law.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
19
|
+
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
20
|
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
21
|
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
22
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
23
|
+
|
24
|
+
For more information, please refer to <http://unlicense.org>
|
4
25
|
|
5
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
6
|
-
|
7
|
-
1. Definitions.
|
8
|
-
|
9
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
10
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
11
|
-
|
12
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
13
|
-
the copyright owner that is granting the License.
|
14
|
-
|
15
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
16
|
-
other entities that control, are controlled by, or are under common
|
17
|
-
control with that entity. For the purposes of this definition,
|
18
|
-
"control" means (i) the power, direct or indirect, to cause the
|
19
|
-
direction or management of such entity, whether by contract or
|
20
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
21
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
22
|
-
|
23
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
24
|
-
exercising permissions granted by this License.
|
25
|
-
|
26
|
-
"Source" form shall mean the preferred form for making modifications,
|
27
|
-
including but not limited to software source code, documentation
|
28
|
-
source, and configuration files.
|
29
|
-
|
30
|
-
"Object" form shall mean any form resulting from mechanical
|
31
|
-
transformation or translation of a Source form, including but
|
32
|
-
not limited to compiled object code, generated documentation,
|
33
|
-
and conversions to other media types.
|
34
|
-
|
35
|
-
"Work" shall mean the work of authorship, whether in Source or
|
36
|
-
Object form, made available under the License, as indicated by a
|
37
|
-
copyright notice that is included in or attached to the work
|
38
|
-
(an example is provided in the Appendix below).
|
39
|
-
|
40
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
41
|
-
form, that is based on (or derived from) the Work and for which the
|
42
|
-
editorial revisions, annotations, elaborations, or other modifications
|
43
|
-
represent, as a whole, an original work of authorship. For the purposes
|
44
|
-
of this License, Derivative Works shall not include works that remain
|
45
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
46
|
-
the Work and Derivative Works thereof.
|
47
|
-
|
48
|
-
"Contribution" shall mean any work of authorship, including
|
49
|
-
the original version of the Work and any modifications or additions
|
50
|
-
to that Work or Derivative Works thereof, that is intentionally
|
51
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
52
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
53
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
54
|
-
means any form of electronic, verbal, or written communication sent
|
55
|
-
to the Licensor or its representatives, including but not limited to
|
56
|
-
communication on electronic mailing lists, source code control systems,
|
57
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
58
|
-
Licensor for the purpose of discussing and improving the Work, but
|
59
|
-
excluding communication that is conspicuously marked or otherwise
|
60
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
61
|
-
|
62
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
63
|
-
on behalf of whom a Contribution has been received by Licensor and
|
64
|
-
subsequently incorporated within the Work.
|
65
|
-
|
66
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
67
|
-
this License, each Contributor hereby grants to You a perpetual,
|
68
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
69
|
-
copyright license to reproduce, prepare Derivative Works of,
|
70
|
-
publicly display, publicly perform, sublicense, and distribute the
|
71
|
-
Work and such Derivative Works in Source or Object form.
|
72
|
-
|
73
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
74
|
-
this License, each Contributor hereby grants to You a perpetual,
|
75
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
76
|
-
(except as stated in this section) patent license to make, have made,
|
77
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
78
|
-
where such license applies only to those patent claims licensable
|
79
|
-
by such Contributor that are necessarily infringed by their
|
80
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
81
|
-
with the Work to which such Contribution(s) was submitted. If You
|
82
|
-
institute patent litigation against any entity (including a
|
83
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
84
|
-
or a Contribution incorporated within the Work constitutes direct
|
85
|
-
or contributory patent infringement, then any patent licenses
|
86
|
-
granted to You under this License for that Work shall terminate
|
87
|
-
as of the date such litigation is filed.
|
88
|
-
|
89
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
90
|
-
Work or Derivative Works thereof in any medium, with or without
|
91
|
-
modifications, and in Source or Object form, provided that You
|
92
|
-
meet the following conditions:
|
93
|
-
|
94
|
-
(a) You must give any other recipients of the Work or
|
95
|
-
Derivative Works a copy of this License; and
|
96
|
-
|
97
|
-
(b) You must cause any modified files to carry prominent notices
|
98
|
-
stating that You changed the files; and
|
99
|
-
|
100
|
-
(c) You must retain, in the Source form of any Derivative Works
|
101
|
-
that You distribute, all copyright, patent, trademark, and
|
102
|
-
attribution notices from the Source form of the Work,
|
103
|
-
excluding those notices that do not pertain to any part of
|
104
|
-
the Derivative Works; and
|
105
|
-
|
106
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
107
|
-
distribution, then any Derivative Works that You distribute must
|
108
|
-
include a readable copy of the attribution notices contained
|
109
|
-
within such NOTICE file, excluding those notices that do not
|
110
|
-
pertain to any part of the Derivative Works, in at least one
|
111
|
-
of the following places: within a NOTICE text file distributed
|
112
|
-
as part of the Derivative Works; within the Source form or
|
113
|
-
documentation, if provided along with the Derivative Works; or,
|
114
|
-
within a display generated by the Derivative Works, if and
|
115
|
-
wherever such third-party notices normally appear. The contents
|
116
|
-
of the NOTICE file are for informational purposes only and
|
117
|
-
do not modify the License. You may add Your own attribution
|
118
|
-
notices within Derivative Works that You distribute, alongside
|
119
|
-
or as an addendum to the NOTICE text from the Work, provided
|
120
|
-
that such additional attribution notices cannot be construed
|
121
|
-
as modifying the License.
|
122
|
-
|
123
|
-
You may add Your own copyright statement to Your modifications and
|
124
|
-
may provide additional or different license terms and conditions
|
125
|
-
for use, reproduction, or distribution of Your modifications, or
|
126
|
-
for any such Derivative Works as a whole, provided Your use,
|
127
|
-
reproduction, and distribution of the Work otherwise complies with
|
128
|
-
the conditions stated in this License.
|
129
|
-
|
130
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
131
|
-
any Contribution intentionally submitted for inclusion in the Work
|
132
|
-
by You to the Licensor shall be under the terms and conditions of
|
133
|
-
this License, without any additional terms or conditions.
|
134
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
135
|
-
the terms of any separate license agreement you may have executed
|
136
|
-
with Licensor regarding such Contributions.
|
137
|
-
|
138
|
-
6. Trademarks. This License does not grant permission to use the trade
|
139
|
-
names, trademarks, service marks, or product names of the Licensor,
|
140
|
-
except as required for reasonable and customary use in describing the
|
141
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
142
|
-
|
143
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
144
|
-
agreed to in writing, Licensor provides the Work (and each
|
145
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
146
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
147
|
-
implied, including, without limitation, any warranties or conditions
|
148
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
149
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
150
|
-
appropriateness of using or redistributing the Work and assume any
|
151
|
-
risks associated with Your exercise of permissions under this License.
|
152
|
-
|
153
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
154
|
-
whether in tort (including negligence), contract, or otherwise,
|
155
|
-
unless required by applicable law (such as deliberate and grossly
|
156
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
157
|
-
liable to You for damages, including any direct, indirect, special,
|
158
|
-
incidental, or consequential damages of any character arising as a
|
159
|
-
result of this License or out of the use or inability to use the
|
160
|
-
Work (including but not limited to damages for loss of goodwill,
|
161
|
-
work stoppage, computer failure or malfunction, or any and all
|
162
|
-
other commercial damages or losses), even if such Contributor
|
163
|
-
has been advised of the possibility of such damages.
|
164
|
-
|
165
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
166
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
167
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
168
|
-
or other liability obligations and/or rights consistent with this
|
169
|
-
License. However, in accepting such obligations, You may act only
|
170
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
171
|
-
of any other Contributor, and only if You agree to indemnify,
|
172
|
-
defend, and hold each Contributor harmless for any liability
|
173
|
-
incurred by, or claims asserted against, such Contributor by reason
|
174
|
-
of your accepting any such warranty or additional liability.
|
175
|
-
|
176
|
-
END OF TERMS AND CONDITIONS
|
177
|
-
|
178
|
-
APPENDIX: How to apply the Apache License to your work.
|
179
|
-
|
180
|
-
To apply the Apache License to your work, attach the following
|
181
|
-
boilerplate notice, with the fields enclosed by brackets "{}"
|
182
|
-
replaced with your own identifying information. (Don't include
|
183
|
-
the brackets!) The text should be enclosed in the appropriate
|
184
|
-
comment syntax for the file format. We also recommend that a
|
185
|
-
file or class name and description of purpose be included on the
|
186
|
-
same "printed page" as the copyright notice for easier
|
187
|
-
identification within third-party archives.
|
188
|
-
|
189
|
-
Copyright {yyyy} {name of copyright owner}
|
190
|
-
|
191
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
192
|
-
you may not use this file except in compliance with the License.
|
193
|
-
You may obtain a copy of the License at
|
194
|
-
|
195
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
196
|
-
|
197
|
-
Unless required by applicable law or agreed to in writing, software
|
198
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
199
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
200
|
-
See the License for the specific language governing permissions and
|
201
|
-
limitations under the License.
|
data/README.md
CHANGED
@@ -1,36 +1,58 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
*
|
1
|
+
# rdf-vocab
|
2
|
+
Common OWL/RDFS Vocabularies for use with Ruby [RDF.rb][]
|
3
|
+
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/rdf-vocab.png)](http://badge.fury.io/rb/rdf-vocab)
|
5
|
+
[![Build Status](https://travis-ci.org/ruby-rdf/rdf-vocab.png?branch=master)](http://travis-ci.org/ruby-rdf/rdf-vocab)
|
6
|
+
|
7
|
+
##Vocabularies
|
8
|
+
|
9
|
+
* RDF::Vocab::ACL - [Web Access Control](http://www.w3.org/wiki/WebAccessControl) (W3C)
|
10
|
+
* RDF::Vocab::Bibframe - [Bibliographic Framework Initiaitive](http://bibframe.org/vocab/) (LoC)
|
11
|
+
* RDF::Vocab::CC - [Creative Commons Vocabulary](http://creativecommons.org/ns#) (Creative Commons) - Alias of `RDF::CC`
|
12
|
+
* RDF::Vocab::CERT - [Cert Ontology](http://www.w3.org/ns/auth/cert#) (W3C) - Alias of `RDF::CERT`
|
13
|
+
* RDF::Vocab::CNT - [Representing Content in RDF](http://www.w3.org/TR/Content-in-RDF10/) (W3C)
|
14
|
+
* RDF::Vocab::DataCite - [DataCite Ontology](http://purl.org/spar/datacite/)
|
15
|
+
* RDF::Vocab::DC - [DCMI Metadata Terms](http://purl.org/dc/terms/) (DCMI) - Alias of `RDF::DC`
|
16
|
+
* RDF::Vocab::DC11 - [Dublin Core Metadata Element Set](http://purl.org/dc/elements/1.1/) (DCMI) - Alias of `RDF::DC11`
|
17
|
+
* RDF::Vocab::DCAT - [Data Catalog Vocabulary](http://www.w3.org/TR/vocab-dcat/) (DCMI) - Alias of `RDF::DCAT`
|
18
|
+
* RDF::Vocab::DOAP - [Description of a Project (DOAP) vocabulary](https://github.com/edumbill/doap/wiki) - Alias of `RDF::DOAP`
|
19
|
+
* RDF::Vocab::DWC - [Darwin Core](http://rs.tdwg.org/dwc/terms/)
|
20
|
+
* RDF::Vocab::EXIF - [Exif vocabulary workspace](http://www.w3.org/2003/12/exif/) (W3C) - Alias of `RDF::EXIF`
|
21
|
+
* RDF::Vocab::Fcrepo4 - [Fedora Commons Repository 4 Ontology](http://fedora.info/definitions/v4/repository)
|
22
|
+
* RDF::Vocab::FOAF - [Friend of a Friend (FOAF) vocabulary](http://xmlns.com/foaf/spec/) - Alias of `RDF::FOAF`
|
23
|
+
* RDF::Vocab::GEO - [GEO Vocabulary](http://www.w3.org/2003/01/geo/wgs84_pos#) (W3C) - Alias of `RDF::GEO`
|
24
|
+
* RDF::Vocab::GR - [Good Relations](http://www.heppnetz.de/projects/goodrelations/) - Alias of `RDF::GR`
|
25
|
+
* RDF::Vocab::HT - [HTTP Vocabulary in RDF 1.0](http://www.w3.org/TR/HTTP-in-RDF10/) (W3C) - Alias of `RDF::HT`
|
26
|
+
* RDF::Vocab::ICAL - [iCalendar vocabulary](http://www.w3.org/2002/12/cal/) (W3C) - Alias of `RDF::ICAL`
|
27
|
+
* RDF::Vocab::Identifiers - [Standard Identifiers Scheme](http://id.loc.gov/vocabulary/identifiers.html) (LoC)
|
28
|
+
* RDF::Vocab::LDP - [Linked Data Platform](http://www.w3.org/TR/ldp/) (W3C)
|
29
|
+
* RDF::Vocab::MA - [Ontology for Media Resources](http://www.w3.org/TR/mediaont-10/) (W3C) - Alias of `RDF::MA`
|
30
|
+
* RDF::Vocab::MADS - [Metadata Authority Description Schema](http://www.loc.gov/standards/mads/) (LoC)
|
31
|
+
* RDF::Vocab::MARCRelators - [MARC Code List for Relators](http://id.loc.gov/vocabulary/relators.html) (LoC)
|
32
|
+
* RDF::Vocab::MO - [Music Ontology](http://musicontology.com) - Alias of `RDF::MO`
|
33
|
+
* RDF::Vocab::MODS - [Metadata Object Description Schema](http://www.loc.gov/standards/mods/) (LoC)
|
34
|
+
* RDF::Vocab::OA - [Open Annotation Data Model](http://www.w3.org/ns/oa) (W3C)
|
35
|
+
* RDF::Vocab::OG - [Open Graph protocol](http://ogp.me) - Alias of `RDF::OG`
|
36
|
+
* RDF::Vocab::OGC - [Open Graph protocol classes](http://ogp.me) - Alias of `RDF::OGC`
|
37
|
+
* RDF::Vocab::ORE - [Object Reuse and Exchange Ontology](http://www.openarchives.org/ore/1.0/rdfxml) (OAI)
|
38
|
+
* RDF::Vocab::PREMIS - [Preservation Metadata Implementation Strategies Ontology](http://id.loc.gov/ontologies/premis.html) (LoC)
|
39
|
+
* RDF::Vocab::PremisEventType - [PREMIS Event Type](http://id.loc.gov/vocabulary/preservation/eventType.html) (LoC)
|
40
|
+
* RDF::Vocab::PROV - [Provenance Ontology](http://www.w3.org/TR/prov-o/) (W3C) - Alias of `RDF::PROV`
|
41
|
+
* RDF::Vocab::RSA - [The RSA Ontology](http://www.w3.org/ns/auth/rsa) - Alias of `RDF::RSA`
|
42
|
+
* RDF::Vocab::RSS - [RDF Site Summary](http://web.resource.org/rss/1.0/) - Alias of `RDF::RSS`
|
43
|
+
* RDF::Vocab::SCHEMA - [Schema.org](http://schema.org) - Alias of `RDF::SCHEMA`
|
44
|
+
* RDF::Vocab::SIOC - [Semantically-Interlinked Online Communities](http://rdfs.org/sioc/spec/) - Alias of `RDF::SIOC`
|
45
|
+
* RDF::Vocab::SKOS - [Simple Knowledge Organization System](http://www.w3.org/TR/skos-reference/) (W3C) - Alias of `RDF::SKOS`
|
46
|
+
* RDF::Vocab::SKOSXL - [SKOS eXtension for Labels](http://www.w3.org/TR/skos-reference/skos-xl.html) (W3C) - Alias of `RDF::SKOSXL`
|
47
|
+
* RDF::Vocab::V - [RDF data vocabulary](http://www.data-vocabulary.org) - Alias of `RDF::V`
|
48
|
+
* RDF::Vocab::VCARD - [Ontology for vCards](http://www.w3.org/TR/vcard-rdf/) (W3C) - Alias of `RDF::VCARD`
|
49
|
+
* RDF::Vocab::VMD - [RDF data vocabulary](http://www.data-vocabulary.org) - Alias of `RDF::VMD`
|
50
|
+
* RDF::Vocab::VOID - [Vocabulary of Interlinked Datasets](http://www.w3.org/TR/void/) (W3C) - Alias of `RDF::VOID`
|
51
|
+
* RDF::Vocab::VS - [SemWeb Vocab Status ontology](http://www.w3.org/2003/06/sw-vocab-status/note.html) (W3C) - Alias of `RDF::VS`
|
52
|
+
* RDF::Vocab::WOT - [Web of Trust](http://xmlns.com/wot/0.1/) - Alias of `RDF::WOT`
|
53
|
+
* RDF::Vocab::WDRS - [Protocol for Web Description Resources](http://www.w3.org/TR/powder-primer/) (W3C) - Alias of `RDF::WRDS`
|
54
|
+
* RDF::Vocab::XHTML - [Extensible HyperText Markup Language](http://www.w3.org/1999/xhtml/) (W3C) - Alias of `RDF::XHTML`
|
55
|
+
* RDF::Vocab::XHV - [XHTML Vocabulary](http://www.w3.org/1999/xhtml/vocab) (W3C) - Alias of `RDF::XHV`
|
34
56
|
|
35
57
|
## Installation
|
36
58
|
|
@@ -47,3 +69,36 @@ then
|
|
47
69
|
require "rdf-vocab"
|
48
70
|
|
49
71
|
This will load all the vocabulary classes in the library.
|
72
|
+
|
73
|
+
## Authors
|
74
|
+
|
75
|
+
* [David Chandek-Stark](https://github.com/dchandekstark)
|
76
|
+
* [Aaron Coburn](https://github.com/acoburn)
|
77
|
+
* [Michael J. Giarlo](https://github.com/mjgiarlo)
|
78
|
+
* [Gregg Kellogg](http://github.com/gkellogg)
|
79
|
+
|
80
|
+
## Contributing
|
81
|
+
|
82
|
+
This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange development and release activity. All submissions _must_ be on a feature branch based on the _develop_ branch to ease staging and integration.
|
83
|
+
|
84
|
+
* Do your best to adhere to the existing coding conventions and idioms.
|
85
|
+
* Don't use hard tabs, and don't leave trailing whitespace on any line.
|
86
|
+
Before committing, run `git diff --check` to make sure of this.
|
87
|
+
* Do document every method you add using [YARD][] annotations. Read the
|
88
|
+
[tutorial][YARD-GS] or just look at the existing code for examples.
|
89
|
+
* Don't touch the `.gemspec` or `VERSION` files. If you need to change them,
|
90
|
+
do so on your private branch only.
|
91
|
+
* Do note that in order for us to merge any non-trivial changes (as a rule
|
92
|
+
of thumb, additions larger than about 15 lines of code), we need an
|
93
|
+
explicit [public domain dedication][PDD] on record from you.
|
94
|
+
|
95
|
+
## License
|
96
|
+
|
97
|
+
This is free and unencumbered public domain software. For more information,
|
98
|
+
see <http://unlicense.org/> or the accompanying {file:LICENSE} file.
|
99
|
+
|
100
|
+
[RDF]: http://www.w3.org/RDF/
|
101
|
+
[RDF.rb]: http://rubydoc.info/github/ruby-rdf/rdf
|
102
|
+
[YARD]: http://yardoc.org/
|
103
|
+
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
|
104
|
+
[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
|
@@ -1,13 +1,13 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
# This file generated automatically using vocab-fetch from http://www.w3.org/ns/auth/acl
|
2
|
+
# This file generated automatically using vocab-fetch from http://www.w3.org/ns/auth/acl#
|
3
3
|
require 'rdf'
|
4
4
|
module RDF::Vocab
|
5
5
|
class ACL < RDF::StrictVocabulary("http://www.w3.org/ns/auth/acl#")
|
6
6
|
|
7
7
|
# Class definitions
|
8
8
|
term :Access,
|
9
|
+
"acl:label" => %(access).freeze,
|
9
10
|
comment: %(Any kind of access to a resource. Don't use this, use R W and RW).freeze,
|
10
|
-
"http://www.w3.org/ns/auth/acl#label" => %(access).freeze,
|
11
11
|
label: "Access".freeze,
|
12
12
|
type: "rdfs:Class".freeze
|
13
13
|
term :Append,
|
@@ -19,7 +19,7 @@ module RDF::Vocab
|
|
19
19
|
that a some link has been made elsewhere relevant to the given resource.
|
20
20
|
).freeze,
|
21
21
|
label: "append".freeze,
|
22
|
-
subClassOf: ["
|
22
|
+
subClassOf: ["acl:Access".freeze, "acl:Write".freeze],
|
23
23
|
type: "rdfs:Class".freeze
|
24
24
|
term :Authorization,
|
25
25
|
comment: %(An element of access control,
|
@@ -29,16 +29,16 @@ module RDF::Vocab
|
|
29
29
|
term :Control,
|
30
30
|
comment: %(Allows read/write access to the ACL for the resource\(s\)).freeze,
|
31
31
|
label: "control".freeze,
|
32
|
-
subClassOf: "
|
32
|
+
subClassOf: "acl:Access".freeze,
|
33
33
|
type: "rdfs:Class".freeze
|
34
34
|
term :Read,
|
35
35
|
comment: %(The class of read operations).freeze,
|
36
36
|
label: "read".freeze,
|
37
|
-
subClassOf: "
|
37
|
+
subClassOf: "acl:Access".freeze,
|
38
38
|
type: "rdfs:Class".freeze
|
39
39
|
term :Write,
|
40
40
|
label: "write".freeze,
|
41
|
-
subClassOf: "
|
41
|
+
subClassOf: "acl:Access".freeze,
|
42
42
|
type: "rdfs:Class".freeze
|
43
43
|
|
44
44
|
# Property definitions
|
@@ -53,43 +53,49 @@ module RDF::Vocab
|
|
53
53
|
type: "rdf:Property".freeze
|
54
54
|
property :accessTo,
|
55
55
|
comment: %(The information resource to which access is being granted.).freeze,
|
56
|
-
domain: "
|
56
|
+
domain: "acl:Authorization".freeze,
|
57
57
|
label: "to".freeze,
|
58
58
|
range: "http://www.w3.org/2006/gen/ont#InformationResource".freeze,
|
59
59
|
type: "rdf:Property".freeze
|
60
60
|
property :accessToClass,
|
61
61
|
comment: %(A class of information resources to which access is being granted.).freeze,
|
62
|
-
domain: "
|
62
|
+
domain: "acl:Authorization".freeze,
|
63
63
|
label: "to all in".freeze,
|
64
64
|
range: "rdfs:Class".freeze,
|
65
65
|
type: "rdf:Property".freeze
|
66
66
|
property :agent,
|
67
67
|
comment: %(A person or social entity to being given the right).freeze,
|
68
|
-
domain: "
|
68
|
+
domain: "acl:Authorization".freeze,
|
69
69
|
label: "agent".freeze,
|
70
70
|
range: "foaf:Agent".freeze,
|
71
71
|
type: "rdf:Property".freeze
|
72
72
|
property :agentClass,
|
73
73
|
comment: %(A class of persons or social entities to being given the right).freeze,
|
74
|
-
domain: "
|
74
|
+
domain: "acl:Authorization".freeze,
|
75
75
|
label: "agent class".freeze,
|
76
76
|
range: "rdfs:Class".freeze,
|
77
77
|
type: "rdf:Property".freeze
|
78
78
|
property :defaultForNew,
|
79
79
|
comment: %(A directory for which this authorization is used for new files in the directory.).freeze,
|
80
|
-
domain: "
|
80
|
+
domain: "acl:Authorization".freeze,
|
81
81
|
label: "default access for new things in".freeze,
|
82
82
|
type: "rdf:Property".freeze
|
83
|
+
property :delegates,
|
84
|
+
comment: %(Delegates a person or another agent to act on behalf of the user.
|
85
|
+
For example, Alice delegates Bob to act on behalf of Alice for ACL purposes.).freeze,
|
86
|
+
label: "delegates".freeze,
|
87
|
+
range: "foaf:Agent".freeze,
|
88
|
+
type: "rdf:Property".freeze
|
83
89
|
property :mode,
|
84
90
|
comment: %(A mode of access such as read or write.).freeze,
|
85
|
-
domain: "
|
91
|
+
domain: "acl:Authorization".freeze,
|
86
92
|
label: "access mode".freeze,
|
87
93
|
range: "rdfs:Class".freeze,
|
88
94
|
type: "rdf:Property".freeze
|
89
95
|
property :owner,
|
90
96
|
comment: %(The person or other agent which owns this.
|
91
97
|
For example, the owner of a file in a filesystem.
|
92
|
-
There is a sense of right to control. Typically defaults to the agent who
|
98
|
+
There is a sense of right to control. Typically defaults to the agent who created
|
93
99
|
something but can be changed.).freeze,
|
94
100
|
label: "owner".freeze,
|
95
101
|
range: "foaf:Agent".freeze,
|