rdf-vocab 3.1.2 → 3.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +1 -1
  3. data/README.md +69 -45
  4. data/VERSION +1 -1
  5. data/lib/rdf/vocab.rb +60 -40
  6. data/lib/rdf/vocab/acl.rb +104 -61
  7. data/lib/rdf/vocab/as.rb +556 -91
  8. data/lib/rdf/vocab/bf2.rb +1791 -475
  9. data/lib/rdf/vocab/bibframe.rb +1 -2
  10. data/lib/rdf/vocab/bibo.rb +616 -124
  11. data/lib/rdf/vocab/cc.rb +125 -48
  12. data/lib/rdf/vocab/cert.rb +68 -1
  13. data/lib/rdf/vocab/cnt.rb +79 -1
  14. data/lib/rdf/vocab/crm.rb +1543 -776
  15. data/lib/rdf/vocab/datacite.rb +1 -1
  16. data/lib/rdf/vocab/dbo.rb +10463 -1
  17. data/lib/rdf/vocab/dc.rb +485 -99
  18. data/lib/rdf/vocab/dc11.rb +93 -31
  19. data/lib/rdf/vocab/dcat.rb +236 -88
  20. data/lib/rdf/vocab/dcmitype.rb +63 -13
  21. data/lib/rdf/vocab/disco.rb +286 -59
  22. data/lib/rdf/vocab/doap.rb +175 -1
  23. data/lib/rdf/vocab/dwc.rb +941 -189
  24. data/lib/rdf/vocab/earl.rb +324 -0
  25. data/lib/rdf/vocab/ebucore.rb +7255 -2184
  26. data/lib/rdf/vocab/edm.rb +202 -76
  27. data/lib/rdf/vocab/exif.rb +650 -1
  28. data/lib/rdf/vocab/extensions.rb +257 -203
  29. data/lib/rdf/vocab/fcrepo4.rb +398 -22
  30. data/lib/rdf/vocab/foaf.rb +380 -76
  31. data/lib/rdf/vocab/geo.rb +47 -110
  32. data/lib/rdf/vocab/geojson.rb +82 -17
  33. data/lib/rdf/vocab/geonames.rb +1508 -1351
  34. data/lib/rdf/vocab/gr.rb +861 -565
  35. data/lib/rdf/vocab/gs1.rb +1597 -1
  36. data/lib/rdf/vocab/ht.rb +204 -41
  37. data/lib/rdf/vocab/hydra.rb +335 -60
  38. data/lib/rdf/vocab/iana.rb +301 -114
  39. data/lib/rdf/vocab/ical.rb +534 -121
  40. data/lib/rdf/vocab/identifiers.rb +459 -499
  41. data/lib/rdf/vocab/iiif.rb +161 -26
  42. data/lib/rdf/vocab/jsonld.rb +179 -53
  43. data/lib/rdf/vocab/ldp.rb +130 -1
  44. data/lib/rdf/vocab/lrmi.rb +85 -17
  45. data/lib/rdf/vocab/ma.rb +460 -80
  46. data/lib/rdf/vocab/mads.rb +610 -22
  47. data/lib/rdf/vocab/{marc_relators.rb → marcrelators.rb} +813 -4
  48. data/lib/rdf/vocab/mo.rb +1115 -540
  49. data/lib/rdf/vocab/mods.rb +635 -124
  50. data/lib/rdf/vocab/nfo.rb +1 -1
  51. data/lib/rdf/vocab/oa.rb +343 -73
  52. data/lib/rdf/vocab/og.rb +100 -1
  53. data/lib/rdf/vocab/ogc.rb +42 -9
  54. data/lib/rdf/vocab/ore.rb +69 -14
  55. data/lib/rdf/vocab/org.rb +235 -47
  56. data/lib/rdf/vocab/pcdm.rb +58 -34
  57. data/lib/rdf/vocab/pplan.rb +21 -136
  58. data/lib/rdf/vocab/premis.rb +1171 -779
  59. data/lib/rdf/vocab/{premis_event_type.rb → premiseventtype.rb} +156 -2
  60. data/lib/rdf/vocab/prov.rb +700 -107
  61. data/lib/rdf/vocab/ptr.rb +172 -37
  62. data/lib/rdf/vocab/rightsstatements.rb +17 -13
  63. data/lib/rdf/vocab/rsa.rb +30 -1
  64. data/lib/rdf/vocab/rss.rb +52 -11
  65. data/lib/rdf/vocab/schema.rb +14970 -3993
  66. data/lib/rdf/vocab/schemas.rb +27066 -0
  67. data/lib/rdf/vocab/sd.rb +372 -0
  68. data/lib/rdf/vocab/sh.rb +919 -184
  69. data/lib/rdf/vocab/sioc.rb +498 -98
  70. data/lib/rdf/vocab/{sioc_services.rb → siocservices.rb} +46 -9
  71. data/lib/rdf/vocab/sioctypes.rb +434 -0
  72. data/lib/rdf/vocab/skos.rb +160 -44
  73. data/lib/rdf/vocab/skosxl.rb +40 -11
  74. data/lib/rdf/vocab/v.rb +323 -37
  75. data/lib/rdf/vocab/vcard.rb +625 -119
  76. data/lib/rdf/vocab/vmd.rb +323 -37
  77. data/lib/rdf/vocab/void.rb +147 -27
  78. data/lib/rdf/vocab/vs.rb +23 -5
  79. data/lib/rdf/vocab/wdrs.rb +112 -23
  80. data/lib/rdf/vocab/wot.rb +96 -19
  81. data/lib/rdf/vocab/xhtml.rb +2 -1
  82. data/lib/rdf/vocab/xhv.rb +422 -201
  83. data/lib/rdf/vocab/xkos.rb +156 -7
  84. data/spec/extensions_spec.rb +68 -0
  85. data/spec/vocab_spec.rb +10 -0
  86. metadata +20 -11
  87. data/lib/rdf/vocab/sioct.rb +0 -277
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ae4d3b568e99eb40d526eb761c26cc0a6be7b8f249c7071e4d9ffdddb7d430c3
4
- data.tar.gz: f2b3890369826e2995e91db074671f5e3d989404f0802d24cfbf403bce06b4f5
3
+ metadata.gz: 6939543ce5a79f1eeb750d206a1a29926dea4bdcc18a6c73277f3cdc29c1e1d8
4
+ data.tar.gz: 8e0d1a5e88dc1f9fb353e49fac4c938052827dcd1659f6e2240de0d22f0a41b6
5
5
  SHA512:
6
- metadata.gz: ca35e0ba82f08cf59854d019c6a438d426e68ea1432b3cd2b0065f6de7ed0c66470396efcab64f7abf4a4aef58b0a5fecb88a3ef024119522b5edf19e8e8e723
7
- data.tar.gz: b45f40aa82e6219402124554d1eabc2737805b867bcb22bcfdede0ac9658ea47696c024e9b6c9bc702bd53ad10f67bffb71a42c0ed1a609e87b9cbcfe89176f1
6
+ metadata.gz: '02854db24b1e289827b642da0b9433c38fcaf6c896fd8ab27739beee6eeb39308b5a0fa698f7bf667bb04c09ad743a58321fcd1e8bebeb1b49fc0b4dbd98d220'
7
+ data.tar.gz: ad57749a3c1595a20d190541b4807a1536eb7da39643592dbe25e2b3aa4b45b6784cbcc0a9837b83a0ec2efcfcf79fc766e8c31918c2dbbe563e2fb6c8c1876d
data/LICENSE CHANGED
@@ -21,5 +21,5 @@ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21
21
  ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
22
  OTHER DEALINGS IN THE SOFTWARE.
23
23
 
24
- For more information, please refer to <http://unlicense.org>
24
+ For more information, please refer to <https://unlicense.org>
25
25
 
data/README.md CHANGED
@@ -1,76 +1,100 @@
1
1
  # rdf-vocab
2
2
  Common OWL/RDFS Vocabularies for use with Ruby [RDF.rb][]
3
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)
4
+ [![Gem Version](https://badge.fury.io/rb/rdf-vocab.png)](https://badge.fury.io/rb/rdf-vocab)
5
+ [![Build Status](https://travis-ci.org/ruby-rdf/rdf-vocab.png?branch=master)](https://travis-ci.org/ruby-rdf/rdf-vocab)
6
6
 
7
7
  ## Extensions
8
8
  This gem extends `RDF::Vocabulary` with `#to_ttl`, `#to_jsonld`, and `#to_html` methods to create special-purpose vocabulary serializations. The HTML version is templated using a Haml template to allow output to be customized.
9
9
 
10
10
  Also extends `RDF::Vocabulary::Format` with the `gen-vocab` command extension to the `rdf` executable.
11
11
 
12
+ ### Limiting vocabularies used for lookup
13
+
14
+ As loading vocabularies can dominate processing time, the `RDF::Vocabulary.limit_vocabs` method can be used to set a specific set of vocabularies over which to reason. For example:
15
+
16
+ RDF::Vocabulary.limit_vocabs(:rdf, :rdf, :schema)
17
+
18
+ will limit the vocabularies which are returned from `RDF::Vocabulary.each`, which is used for reasoning and other operations over vocabularies and terms.
19
+
12
20
  ## Vocabularies
13
21
 
14
22
  * RDF::Vocab::ACL - [Web Access Control](http://www.w3.org/wiki/WebAccessControl) (W3C)
23
+ * RDF::Vocab::AS - [Activity Streams 2.0](https://www.w3.org/ns/activitystreams#) (W3C)
15
24
  * RDF::Vocab::BF2 - [BIBFRAME 2.0](http://id.loc.gov/ontologies/bibframe) (LoC)
16
25
  * RDF::Vocab::Bibframe - [Bibliographic Framework Initiative](http://bibframe.org/vocab/) (LoC)
17
26
  * RDF::Vocab::BIBO - [Bibliographic Ontology](http://bibliontology.com)
18
- * RDF::Vocab::CC - [Creative Commons Vocabulary](http://creativecommons.org/ns#) (Creative Commons) - Alias of `RDF::CC`
19
- * RDF::Vocab::CERT - [Cert Ontology](http://www.w3.org/ns/auth/cert#) (W3C) - Alias of `RDF::CERT`
27
+ * RDF::Vocab::CC - [Creative Commons Vocabulary](http://creativecommons.org/ns#) (Creative Commons)
28
+ * RDF::Vocab::CERT - [Cert Ontology](http://www.w3.org/ns/auth/cert#) (W3C)
20
29
  * RDF::Vocab::CNT - [Representing Content in RDF](http://www.w3.org/TR/Content-in-RDF10/) (W3C)
21
30
  * RDF::Vocab::DataCite - [DataCite Ontology](http://purl.org/spar/datacite/)
22
- * RDF::Vocab::DC - [DCMI Metadata Terms](http://purl.org/dc/terms/) (DCMI) - Alias of `RDF::DC`
23
- * RDF::Vocab::DC11 - [Dublin Core Metadata Element Set](http://purl.org/dc/elements/1.1/) (DCMI) - Alias of `RDF::DC11`
24
- * RDF::Vocab::DCAT - [Data Catalog Vocabulary](http://www.w3.org/TR/vocab-dcat/) (DCMI) - Alias of `RDF::DCAT`
31
+ * RDF::Vocab::DBO - [The DBpedia Ontology](http://dbpedia.org/ontology/)
32
+ * RDF::Vocab::DC - [DCMI Metadata Terms](http://purl.org/dc/terms/) (DCMI)
33
+ * RDF::Vocab::DC11 - [Dublin Core Metadata Element Set](http://purl.org/dc/elements/1.1/) (DCMI)
34
+ * RDF::Vocab::DCAT - [Data Catalog Vocabulary](http://www.w3.org/TR/vocab-dcat/) (DCMI)
25
35
  * RDF::Vocab::DCMIType - [DCMI Type Vocabulary](http://dublincore.org/documents/dcmi-terms/) (DCMI)
26
- * RDF::Vocab::DOAP - [Description of a Project (DOAP) vocabulary](https://github.com/edumbill/doap/wiki) - Alias of `RDF::DOAP`
36
+ * RDF::Vocab::DISCO - [DDI-RDF Discovery Vocabulary](http://rdf-vocabulary.ddialliance.org/discovery#) (DDI)
37
+ * RDF::Vocab::DOAP - [Description of a Project (DOAP) vocabulary](https://github.com/edumbill/doap/wiki)
27
38
  * RDF::Vocab::DWC - [Darwin Core](http://rs.tdwg.org/dwc/terms/)
39
+ * RDF::Vocab::EARL - [Evaluation and Report Language (EARL) 1.0 Schema](<http://www.w3.org/ns/earl#) (W3C)
28
40
  * RDF::Vocab::EBUCore - [EBUCore](http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#)
29
41
  * RDF::Vocab::EDM - [Europeana Data Model (EDM)](https://pro.europeana.eu/page/edm-documentation)
30
- * RDF::Vocab::EXIF - [Exif vocabulary workspace](http://www.w3.org/2003/12/exif/) (W3C) - Alias of `RDF::EXIF`
42
+ * RDF::Vocab::EXIF - [Exif vocabulary workspace](http://www.w3.org/2003/12/exif/) (W3C)
31
43
  * RDF::Vocab::Fcrepo4 - [Fedora Commons Repository 4 Ontology](http://fedora.info/definitions/v4/repository)
32
- * RDF::Vocab::FOAF - [Friend of a Friend (FOAF) vocabulary](http://xmlns.com/foaf/spec/) - Alias of `RDF::FOAF`
33
- * RDF::Vocab::GEO - [GEO Vocabulary](http://www.w3.org/2003/01/geo/wgs84_pos#) (W3C) - Alias of `RDF::GEO`
34
- * RDF::Vocab::GR - [Good Relations](http://www.heppnetz.de/projects/goodrelations/) - Alias of `RDF::GR`
35
- * RDF::Vocab::HT - [HTTP Vocabulary in RDF 1.0](http://www.w3.org/TR/HTTP-in-RDF10/) (W3C) - Alias of `RDF::HT`
36
- * RDF::Vocab::ICAL - [iCalendar vocabulary](http://www.w3.org/2002/12/cal/) (W3C) - Alias of `RDF::ICAL`
44
+ * RDF::Vocab::FOAF - [Friend of a Friend (FOAF) vocabulary](http://xmlns.com/foaf/spec/)
45
+ * RDF::Vocab::GEO - [GEO Vocabulary](http://www.w3.org/2003/01/geo/wgs84_pos#) (W3C)
46
+ * RDF::Vocab::GEOJSON - [GEOJSON Vocabulary](https://purl.org/geojson/vocab#)
47
+ * RDF::Vocab::GEONAMES - [GeoNames Ontology Vocabulary](http://www.geonames.org/ontology#)
48
+ * RDF::Vocab::GR - [Good Relations](http://www.heppnetz.de/projects/goodrelations/)
49
+ * RDF::Vocab::GS1 - [GS1 Web Vocabulary for GS1 SmartSearch](http://gs1.org/voc/) (GS1)
50
+ * RDF::Vocab::HT - [HTTP Vocabulary in RDF 1.0](http://www.w3.org/TR/HTTP-in-RDF10/) (W3C)
51
+ * RDF::Vocab::HYDRA - [Hydra Core Vocabulary](http://www.w3.org/ns/hydra/core#) (W3C)
52
+ * RDF::Vocab::IANA - [Link Relations](http://www.iana.org/assignments/relation/) (IANA)
53
+ * RDF::Vocab::ICAL - [iCalendar vocabulary](http://www.w3.org/2002/12/cal/) (W3C)
37
54
  * RDF::Vocab::Identifiers - [Standard Identifiers Scheme](http://id.loc.gov/vocabulary/identifiers.html) (LoC)
38
55
  * RDF::Vocab::IIIF - [International Image Interoperability Framework Presentation API](http://iiif.io/api/presentation/2.0/) (IIIF)
39
56
  * RDF::Vocab::JSONLD - [JSON-LD Vocabulary](http://www.w3.org/ns/json-ld)
40
57
  * RDF::Vocab::LDP - [Linked Data Platform](http://www.w3.org/TR/ldp/) (W3C)
41
58
  * RDF::Vocab::LRMI - [Learning Resources Metadata Initiative](http://dublincore.org/dcx/lrmi-terms/1.1/) (DCMI)
42
- * RDF::Vocab::MA - [Ontology for Media Resources](http://www.w3.org/TR/mediaont-10/) (W3C) - Alias of `RDF::MA`
59
+ * RDF::Vocab::MA - [Ontology for Media Resources](http://www.w3.org/TR/mediaont-10/) (W3C)
43
60
  * RDF::Vocab::MADS - [Metadata Authority Description Schema](http://www.loc.gov/standards/mads/) (LoC)
44
61
  * RDF::Vocab::MARCRelators - [MARC Code List for Relators](http://id.loc.gov/vocabulary/relators.html) (LoC)
45
- * RDF::Vocab::MO - [Music Ontology](http://musicontology.com) - Alias of `RDF::MO`
62
+ * RDF::Vocab::MO - [Music Ontology](http://musicontology.com)
46
63
  * RDF::Vocab::MODS - [Metadata Object Description Schema](http://www.loc.gov/standards/mods/) (LoC)
47
64
  * RDF::Vocab::NFO - [NEPOMUK File Ontology](http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#) (NFO)
48
65
  * RDF::Vocab::OA - [Open Annotation Data Model](http://www.w3.org/ns/oa) (W3C)
49
- * RDF::Vocab::OG - [Open Graph protocol](http://ogp.me) - Alias of `RDF::OG`
50
- * RDF::Vocab::OGC - [Open Graph protocol classes](http://ogp.me) - Alias of `RDF::OGC`
66
+ * RDF::Vocab::OG - [Open Graph protocol](http://ogp.me)
67
+ * RDF::Vocab::OGC - [Open Graph protocol classes](http://ogp.me)
51
68
  * RDF::Vocab::ORE - [Object Reuse and Exchange Ontology](http://www.openarchives.org/ore/1.0/rdfxml) (OAI)
52
- * RDF::Vocab::ORG - [Organization Ontology](http://www.w3.org/TR/vocab-org/) (W3C)
53
- * RDF::Vocab::PCDM - [PCDM Ontology](http://pcdm.org/models#) (PCDM)
54
- * RDF::Vocab::PPLAN - [P-Plan Ontology](http://www.opmw.org/model/p-plan/)
69
+ * RDF::Vocab::ORG - [Organization Ontology](http://www.w3.org/TR/vocab-org/) (W3C)
70
+ * RDF::Vocab::PCDM - [PCDM Ontology](http://pcdm.org/models#) (PCDM)
71
+ * RDF::Vocab::PPLAN - [P-Plan Ontology](http://www.opmw.org/model/p-plan/)
55
72
  * RDF::Vocab::PREMIS - [Preservation Metadata Implementation Strategies Ontology](http://id.loc.gov/ontologies/premis.html) (LoC)
56
73
  * RDF::Vocab::PremisEventType - [PREMIS Event Type](http://id.loc.gov/vocabulary/preservation/eventType.html) (LoC)
57
- * RDF::Vocab::PROV - [Provenance Ontology](http://www.w3.org/TR/prov-o/) (W3C) - Alias of `RDF::PROV`
58
- * RDF::Vocab::RSA - [The RSA Ontology](http://www.w3.org/ns/auth/rsa) - Alias of `RDF::RSA`
59
- * RDF::Vocab::RSS - [RDF Site Summary](http://web.resource.org/rss/1.0/) - Alias of `RDF::RSS`
60
- * RDF::Vocab::SCHEMA - [Schema.org](http://schema.org) - Alias of `RDF::SCHEMA`
61
- * RDF::Vocab::SIOC - [Semantically-Interlinked Online Communities](http://rdfs.org/sioc/spec/) - Alias of `RDF::SIOC`
74
+ * RDF::Vocab::PROV - [Provenance Ontology](http://www.w3.org/TR/prov-o/) (W3C)
75
+ * RDF::Vocab::PTR - [Pointer Methods in RDF 1.0](https://www.w3.org/TR/Pointers-in-RDF10/) (W3C)
76
+ * RDF::Vocab::RightsStatements - [Rights Statements for Cultural Heritage Institutions](https://rightsstatements.org/en/)
77
+ * RDF::Vocab::RSA - [The RSA Ontology](http://www.w3.org/ns/auth/rsa)
78
+ * RDF::Vocab::RSS - [RDF Site Summary](http://web.resource.org/rss/1.0/)
79
+ * RDF::Vocab::SCHEMA - [Schema.org](http://schema.org)
80
+ * RDF::Vocab::SD - [SPARQL Service Description](https://www.w3.org/TR/sparql11-service-description/) (W3C)
81
+ * RDF::Vocab::SH - [Shapes Constraint Language (SHACL)](https://www.w3.org/TR/shacl/) (W3C)
82
+ * RDF::Vocab::SIOC - [Semantically-Interlinked Online Communities](http://rdfs.org/sioc/spec/)
62
83
  * RDF::Vocab::SiocServices - [SIOC Services](http://rdfs.org/sioc/spec/) (SIOC)
63
- * RDF::Vocab::SKOS - [Simple Knowledge Organization System](http://www.w3.org/TR/skos-reference/) (W3C) - Alias of `RDF::SKOS`
64
- * RDF::Vocab::SKOSXL - [SKOS eXtension for Labels](http://www.w3.org/TR/skos-reference/skos-xl.html) (W3C) - Alias of `RDF::SKOSXL`
65
- * RDF::Vocab::V - [RDF data vocabulary](http://www.data-vocabulary.org) - Alias of `RDF::V`
66
- * RDF::Vocab::VCARD - [Ontology for vCards](http://www.w3.org/TR/vcard-rdf/) (W3C) - Alias of `RDF::VCARD`
67
- * RDF::Vocab::VMD - [RDF data vocabulary](http://www.data-vocabulary.org) - Alias of `RDF::VMD`
68
- * RDF::Vocab::VOID - [Vocabulary of Interlinked Datasets](http://www.w3.org/TR/void/) (W3C) - Alias of `RDF::VOID`
69
- * RDF::Vocab::VS - [SemWeb Vocab Status ontology](http://www.w3.org/2003/06/sw-vocab-status/note.html) (W3C) - Alias of `RDF::VS`
70
- * RDF::Vocab::WOT - [Web of Trust](http://xmlns.com/wot/0.1/) - Alias of `RDF::WOT`
71
- * RDF::Vocab::WDRS - [Protocol for Web Description Resources](http://www.w3.org/TR/powder-primer/) (W3C) - Alias of `RDF::WRDS`
72
- * RDF::Vocab::XHTML - [Extensible HyperText Markup Language](http://www.w3.org/1999/xhtml/) (W3C) - Alias of `RDF::XHTML`
73
- * RDF::Vocab::XHV - [XHTML Vocabulary](http://www.w3.org/1999/xhtml/vocab) (W3C) - Alias of `RDF::XHV`
84
+ * RDF::Vocab::SiocTypes - [SIOC Types Ontology](http://rdfs.org/sioc/spec/) (SIOC)
85
+ * RDF::Vocab::SKOS - [Simple Knowledge Organization System](http://www.w3.org/TR/skos-reference/) (W3C)
86
+ * RDF::Vocab::SKOSXL - [SKOS eXtension for Labels](http://www.w3.org/TR/skos-reference/skos-xl.html) (W3C)
87
+ * RDF::Vocab::V - [RDF data vocabulary](http://www.data-vocabulary.org)
88
+ * RDF::Vocab::VMD - [RDF data vocabulary](http://www.data-vocabulary.org)
89
+ * RDF::Vocab::VCARD - [Ontology for vCards](http://www.w3.org/TR/vcard-rdf/) (W3C)
90
+ * RDF::Vocab::VMD - [RDF data vocabulary](http://www.data-vocabulary.org)
91
+ * RDF::Vocab::VOID - [Vocabulary of Interlinked Datasets](http://www.w3.org/TR/void/) (W3C)
92
+ * RDF::Vocab::VS - [SemWeb Vocab Status ontology](http://www.w3.org/2003/06/sw-vocab-status/note.html) (W3C)
93
+ * RDF::Vocab::WDRS - [Protocol for Web Description Resources](http://www.w3.org/TR/powder-primer/) (W3C)
94
+ * RDF::Vocab::WOT - [Web of Trust](http://xmlns.com/wot/0.1/)
95
+ * RDF::Vocab::XKOS - [XKOS An SKOS extension for representing statistical classifications](https://ddialliance.org/Specification/XKOS/1.2/OWL/xkos.html) (DDI)
96
+ * RDF::Vocab::XHTML - [Extensible HyperText Markup Language](http://www.w3.org/1999/xhtml/) (W3C)
97
+ * RDF::Vocab::XHV - [XHTML Vocabulary](http://www.w3.org/1999/xhtml/vocab) (W3C)
74
98
 
75
99
  ## Installation
76
100
 
@@ -94,7 +118,7 @@ Also adds the `gen-vocab` command to the `rdf` command-line executable to genera
94
118
 
95
119
  * First, add an entry to `lib/rdf/vocab.rb`, the key names contained within
96
120
  for guidance. For more information, see the documentation on
97
- [RDF::Vocabulary](http://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Vocabulary).
121
+ [RDF::Vocabulary](https://www.rubydoc.info/github/ruby-rdf/rdf/RDF/Vocabulary).
98
122
  * Next, create an empty file in `lib/rdf/vocab` based on the key name for
99
123
  your vocabulary. For example, if you've added the vocabulary `:foo`, create a
100
124
  new empty file at `lib/rdf/vocab/foo.rb`.
@@ -105,7 +129,7 @@ new empty file at `lib/rdf/vocab/foo.rb`.
105
129
  * [David Chandek-Stark](https://github.com/dchandekstark)
106
130
  * [Aaron Coburn](https://github.com/acoburn)
107
131
  * [Michael J. Giarlo](https://github.com/mjgiarlo)
108
- * [Gregg Kellogg](http://github.com/gkellogg)
132
+ * [Gregg Kellogg](https://github.com/gkellogg)
109
133
 
110
134
  ## Contributing
111
135
 
@@ -125,10 +149,10 @@ This repository uses [Git Flow](https://github.com/nvie/gitflow) to mange develo
125
149
  ## License
126
150
 
127
151
  This is free and unencumbered public domain software. For more information,
128
- see <http://unlicense.org/> or the accompanying {file:LICENSE} file.
152
+ see <https://unlicense.org/> or the accompanying {file:LICENSE} file.
129
153
 
130
- [RDF]: http://www.w3.org/RDF/
131
- [RDF.rb]: http://rubydoc.info/github/ruby-rdf/rdf
132
- [YARD]: http://yardoc.org/
133
- [YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
134
- [PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
154
+ [RDF]: https://www.w3.org/RDF/
155
+ [RDF.rb]: https://rubydoc.info/github/ruby-rdf/rdf
156
+ [YARD]: https://yardoc.org/
157
+ [YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
158
+ [PDD]: https://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.1.2
1
+ 3.1.8
@@ -11,6 +11,7 @@ module RDF
11
11
  as: {uri: "https://www.w3.org/ns/activitystreams#", source: 'etc/as.ttl'},
12
12
  bf2: {uri: 'http://id.loc.gov/ontologies/bibframe/'},
13
13
  bibframe: {
14
+ # Obsolete
14
15
  uri: "http://bibframe.org/vocab/",
15
16
  class_name: "Bibframe",
16
17
  skip: true
@@ -60,8 +61,7 @@ module RDF
60
61
  dc: {uri: "http://purl.org/dc/terms/"},
61
62
  dc11: {uri: "http://purl.org/dc/elements/1.1/"},
62
63
  dcat: {
63
- uri: "http://www.w3.org/ns/dcat#",
64
- source: "https://w3c.github.io/dxwg/dcat/rdf/dcat.ttl"
64
+ uri: "http://www.w3.org/ns/dcat#"
65
65
  },
66
66
  dcmitype: {
67
67
  uri: "http://purl.org/dc/dcmitype/",
@@ -87,22 +87,14 @@ module RDF
87
87
  alt_source: "http://rs.tdwg.org/dwc/rdf/dwcterms.rdf",
88
88
  strict: false,
89
89
  },
90
+ earl: {
91
+ uri: "http://www.w3.org/ns/earl#",
92
+ source: "http://www.w3.org/ns/earl",
93
+ },
90
94
  ebucore: {
91
95
  uri: "http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#",
92
96
  source: "https://www.ebu.ch/metadata/ontologies/ebucore/ebucore.rdf",
93
- class_name: "EBUCore",
94
- patch: %{
95
- @prefix ebucore: <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#> .
96
- @prefix dc: <http://purl.org/dc/terms/> .
97
- @prefix dc11: <http://purl.org/dc/elements/1.1/> .
98
- @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
99
- DeleteExisting {
100
- ebucore:Agent rdfs:subClassOf dc11:Agent .
101
- } .
102
- AddNew {
103
- ebucore:Agent rdfs:subClassOf dc:Agent .
104
- } .
105
- }
97
+ class_name: "EBUCore"
106
98
  },
107
99
  edm: {
108
100
  uri: "http://www.europeana.eu/schemas/edm/",
@@ -220,32 +212,53 @@ module RDF
220
212
  AddNew {:gender a owl:DatatypeProperty .} .
221
213
  }
222
214
  },
223
- marc_relators: {
215
+ marcrelators: {
224
216
  uri: "http://id.loc.gov/vocabulary/relators/",
225
217
  source: "http://id.loc.gov/vocabulary/relators.rdf",
226
- class_name: "MARCRelators",
227
- patch: %{
228
- @prefix marcrelators: <http://id.loc.gov/vocabulary/relators/> .
229
- @prefix owl: <http://www.w3.org/2002/07/owl#>.
230
- @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
231
- #DeleteExisting {
232
- # marcrelators:lee rdfs:subPropertyOf marcrelators:lei .
233
- #} .
234
- #AddNew {
235
- # marcrelators:role a owl:ObjectProperty;
236
- # rdfs:comment "This property and its sub-properties are used to associate a Bibliographic Resource with a Resource that played a part in the lifecycle of the Bibliographic Resource. It is the inverse of relators:roleIn.".
237
- #} .
238
- }
218
+ class_name: "MARCRelators"
239
219
  },
240
220
  mo: {uri: "http://purl.org/ontology/mo/", strict: false},
241
221
  mods: {
242
222
  uri: "http://www.loc.gov/mods/rdf/v1#",
243
223
  source: "http://www.loc.gov/standards/mods/modsrdf/v1/modsrdf.owl"
244
224
  },
245
- nfo: {uri: 'http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#'},
225
+ nfo: {uri: 'http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#', skip: true},
246
226
  oa: {uri: "http://www.w3.org/ns/oa#"},
247
- og: {uri: "http://ogp.me/ns#", strict: false},
248
- ogc: {uri: "http://ogp.me/ns/class#", source: "http://ogp.me/ns", strict: false},
227
+ og: {
228
+ uri: "http://ogp.me/ns#",
229
+ source: 'http://ogp.me/ns/ogp.me.ttl',
230
+ strict: false,
231
+ patch: %{
232
+ @prefix og: <http://ogp.me/ns#> .
233
+ @prefix ogc: <http://ogp.me/ns/class#> .
234
+ @prefix owl: <http://www.w3.org/2002/07/owl#>.
235
+ @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
236
+ @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
237
+ # Used in http://ogp.me/ but not defined
238
+ AddNew {
239
+ og:image:url a rdf:Property ;
240
+ rdfs:label "image:url"@en-US ;
241
+ rdfs:comment "Identical to og:image."@en-US ;
242
+ rdfs:seeAlso og:image ;
243
+ rdfs:isDefinedBy og: ;
244
+ owl:sameProperty og:image ;
245
+ rdfs:range ogc:url .
246
+ og:image:alt a rdf:Property ;
247
+ rdfs:label "image:alt"@en-US ;
248
+ rdfs:comment "A description of what is in the image (not a caption). If the page specifies an og:image it should specify og:image:alt."@en-US ;
249
+ rdfs:seeAlso og:image ;
250
+ rdfs:isDefinedBy og: ;
251
+ rdfs:range ogc:string .
252
+ og:locale:alternate a rdf:Property ;
253
+ rdfs:label "locale:alternate"@en-US ;
254
+ rdfs:comment "An array of other locales this page is available in."@en-US ;
255
+ rdfs:seeAlso og:locale ;
256
+ rdfs:isDefinedBy og: ;
257
+ rdfs:range ogc:string .
258
+ } .
259
+ }
260
+ },
261
+ ogc: {uri: "http://ogp.me/ns/class#", source: "http://ogp.me/ns/ogp.me.ttl", strict: false},
249
262
  ore: {uri: "http://www.openarchives.org/ore/terms/"},
250
263
  org: {uri: "http://www.w3.org/ns/org#"},
251
264
  owl: {uri: "http://www.w3.org/2002/07/owl#", alias: true},
@@ -254,8 +267,11 @@ module RDF
254
267
  source: "https://raw.githubusercontent.com/duraspace/pcdm/master/models.rdf"
255
268
  },
256
269
  pplan: {uri: "http://purl.org/net/p-plan#"},
257
- premis: {uri: "http://www.loc.gov/premis/rdf/v1#", source: "http://www.loc.gov/premis/rdf/v1.rdf"},
258
- premis_event_type: {
270
+ premis: {
271
+ uri: "http://www.loc.gov/premis/rdf/v1#",
272
+ source: "http://www.loc.gov/premis/rdf/v1.rdf"
273
+ },
274
+ premiseventtype: {
259
275
  uri: "http://id.loc.gov/vocabulary/preservation/eventType/",
260
276
  source: "http://id.loc.gov/vocabulary/preservation/eventType",
261
277
  class_name: "PremisEventType"
@@ -291,15 +307,20 @@ module RDF
291
307
  rss: {uri: "http://purl.org/rss/1.0/", source: "http://purl.org/rss/1.0/schema.rdf"},
292
308
  schema: {
293
309
  uri: "http://schema.org/",
294
- source: "http://schema.org/version/latest/all-layers.nq"
310
+ source: "https://schema.org/version/latest/schemaorg-all-http.nt"
311
+ },
312
+ schemas: {
313
+ uri: "https://schema.org/",
314
+ source: "https://schema.org/version/latest/schemaorg-all-https.nt"
295
315
  },
296
- sh: { uri: 'http://www.w3.org/ns/shacl#', source: 'https://www.w3.org/ns/shacl.ttl' },
316
+ sd: {uri: 'http://www.w3.org/ns/sparql-service-description#', source: 'http://www.w3.org/ns/sparql-service-description.ttl'},
317
+ sh: {uri: 'http://www.w3.org/ns/shacl#', source: 'https://www.w3.org/ns/shacl.ttl'},
297
318
  sioc: {uri: "http://rdfs.org/sioc/ns#"},
298
- sioc_services: {
319
+ siocservices: {
299
320
  uri: "http://rdfs.org/sioc/services#",
300
321
  class_name: "SiocServices"
301
322
  },
302
- sioct: {uri: "http://rdfs.org/sioc/types#", class_name: "SiocTypes"},
323
+ sioctypes: {uri: "http://rdfs.org/sioc/types#", class_name: "SiocTypes"},
303
324
  skos: {uri: "http://www.w3.org/2004/02/skos/core#"},
304
325
  skosxl: {uri: "http://www.w3.org/2008/05/skos-xl#", source: "http://www.w3.org/TR/skos-reference/skos-xl.rdf"},
305
326
  v: {uri: "http://rdf.data-vocabulary.org/#", source: "etc/rdf.data-vocab.ttl"},
@@ -320,14 +341,13 @@ module RDF
320
341
 
321
342
  # Autoload vocabularies
322
343
  VOCABS.each do |id, params|
323
- v = params.fetch(:class_name, id.to_s.upcase).to_sym
344
+ v = (params[:class_name] ||= id.to_s.upcase).to_sym
324
345
  autoload v, File.expand_path("../vocab/#{id}", __FILE__) unless params[:alias]
325
346
  end
326
347
 
327
348
  # Aliases for vocabularies still defined directly in RDF.rb
328
349
  def self.const_missing(constant)
329
350
  if VOCABS.fetch(constant.to_s.downcase.to_sym, {})[:alias]
330
- require "rdf/vocab/#{constant.to_s.downcase}"
331
351
  const_set(constant, RDF.const_get(constant))
332
352
  else
333
353
  super
@@ -5,65 +5,129 @@ require 'rdf'
5
5
  module RDF::Vocab
6
6
  # @!parse
7
7
  # # Vocabulary for <http://www.w3.org/ns/auth/acl#>
8
+ # #
9
+ # # Basic Access Control ontology
10
+ # #
11
+ # # Defines the class Authorization and its essential properties, and also some classes of access such as read and write.
8
12
  # class ACL < RDF::StrictVocabulary
13
+ # # Any kind of access to a resource. Don't use this, use R W and RW
14
+ # # @return [RDF::Vocabulary::Term]
15
+ # attr_reader :Access
16
+ #
17
+ # # Append accesses are specific write access which only add information, and do not remove information. For text files, for example, append access allows bytes to be added onto the end of the file. For RDF graphs, Append access allows adds triples to the graph but does not remove any. Append access is useful for dropbox functionality. Dropbox can be used for link notification, which the information added is a notification that a some link has been made elsewhere relevant to the given resource.
18
+ # # @return [RDF::Vocabulary::Term]
19
+ # attr_reader :Append
20
+ #
21
+ # # A class of agents who have been authenticated. In other words, anyone can access this resource, but not anonymously. The social expectation is that the authentication process will provide an identify and a name, or pseudonym. (A new ID should not be minted for every access: the intent is that the user is able to continue to use the ID for continues interactions with peers, and for example to develop a reputation)
22
+ # # @return [RDF::Vocabulary::Term]
23
+ # attr_reader :AuthenticatedAgent
24
+ #
25
+ # # An element of access control, allowing agent to agents access of some kind to resources or classes of resources
26
+ # # @return [RDF::Vocabulary::Term]
27
+ # attr_reader :Authorization
28
+ #
29
+ # # Allows read/write access to the ACL for the resource(s)
30
+ # # @return [RDF::Vocabulary::Term]
31
+ # attr_reader :Control
32
+ #
33
+ # # An Origin is basically a web site (Note WITHOUT the trailing slash after the domain name and port in its URI) and is the basis for controlling access to data by web apps in the Same Origin Model of web security. All scripts from the same origin are given the same right.
34
+ # # @return [RDF::Vocabulary::Term]
35
+ # attr_reader :Origin
36
+ #
37
+ # # The class of read operations
38
+ # # @return [RDF::Vocabulary::Term]
39
+ # attr_reader :Read
40
+ #
41
+ # # @return [RDF::Vocabulary::Term]
42
+ # attr_reader :Write
43
+ #
44
+ # # The Access Control file for this information resource. This may of course be a virtual resource implemented by the access control system. Note also HTTP's header Link: foo.meta ;rel=meta can be used for this.
45
+ # # @return [RDF::Vocabulary::Term]
46
+ # attr_reader :accessControl
47
+ #
48
+ # # The information resource to which access is being granted.
49
+ # # @return [RDF::Vocabulary::Term]
50
+ # attr_reader :accessTo
51
+ #
52
+ # # A class of information resources to which access is being granted.
53
+ # # @return [RDF::Vocabulary::Term]
54
+ # attr_reader :accessToClass
55
+ #
56
+ # # A person or social entity to being given the right
57
+ # # @return [RDF::Vocabulary::Term]
58
+ # attr_reader :agent
59
+ #
60
+ # # A class of persons or social entities to being given the right
61
+ # # @return [RDF::Vocabulary::Term]
62
+ # attr_reader :agentClass
63
+ #
64
+ # # A group of persons or social entities to being given the right. The right is given to any entity which is a vcard:member of the group, as defined by the document received when the Group is dereferenced.
65
+ # # @return [RDF::Vocabulary::Term]
66
+ # attr_reader :agentGroup
67
+ #
68
+ # # If a resource has no ACL file (it is 404), then access to the resource if given by the ACL of the immediately containing directory, or failing that (404) the ACL of the recursively next containing directory which has an ACL file. Within that ACL file, any Authentication which has that directory as its acl:default applies to the resource. (The highest directory must have an ACL file.)
69
+ # # @return [RDF::Vocabulary::Term]
70
+ # attr_reader :default
71
+ #
72
+ # # THIS IS OBSOLETE AS OF 2017-08-01. See 'default'. Was: A directory for which this authorization is used for new files in the directory.
73
+ # # @return [RDF::Vocabulary::Term]
74
+ # attr_reader :defaultForNew
75
+ #
76
+ # # Delegates a person or another agent to act on behalf of the agent. For example, Alice delegates Bob to act on behalf of Alice for ACL purposes.
77
+ # # @return [RDF::Vocabulary::Term]
78
+ # attr_reader :delegates
79
+ #
80
+ # # A mode of access such as read or write.
81
+ # # @return [RDF::Vocabulary::Term]
82
+ # attr_reader :mode
83
+ #
84
+ # # A web application, identified by its Origin, such as <https://scripts.example.com>, being given the right. When a user of the web application at a certain origin accesses the server, then the browser sets the Origin: header to warn that a possibly untrusted webapp is being used. Then, BOTH the user AND the origin must have the required access.
85
+ # # @return [RDF::Vocabulary::Term]
86
+ # attr_reader :origin
87
+ #
88
+ # # The person or other agent which owns this. For example, the owner of a file in a filesystem. There is a sense of right to control. Typically defaults to the agent who craeted something but can be changed.
89
+ # # @return [RDF::Vocabulary::Term]
90
+ # attr_reader :owner
91
+ #
9
92
  # end
10
- class ACL < RDF::StrictVocabulary("http://www.w3.org/ns/auth/acl#")
93
+ ACL = Class.new(RDF::StrictVocabulary("http://www.w3.org/ns/auth/acl#")) do
11
94
 
12
95
  # Ontology definition
13
96
  ontology :"http://www.w3.org/ns/auth/acl#",
14
- comment: %(Defines the class Authorization and its essential properties,
15
- and also some classes of access such as read and write. ).freeze,
97
+ comment: "Defines the class Authorization and its essential properties,\n and also some classes of access such as read and write. ".freeze,
16
98
  "dc11:title": "Basic Access Control ontology".freeze
17
99
 
18
100
  # Class definitions
19
101
  term :Access,
20
102
  "acl:label": "access".freeze,
21
- comment: %(Any kind of access to a resource. Don't use this, use R W and RW).freeze,
103
+ comment: "Any kind of access to a resource. Don't use this, use R W and RW".freeze,
22
104
  type: "rdfs:Class".freeze
23
105
  term :Append,
24
- comment: %(Append accesses are specific write access which only add information, and do not remove information.
25
- For text files, for example, append access allows bytes to be added onto the end of the file.
26
- For RDF graphs, Append access allows adds triples to the graph but does not remove any.
27
- Append access is useful for dropbox functionality.
28
- Dropbox can be used for link notification, which the information added is a notification
29
- that a some link has been made elsewhere relevant to the given resource.
30
- ).freeze,
106
+ comment: "Append accesses are specific write access which only add information, and do not remove information.\n For text files, for example, append access allows bytes to be added onto the end of the file.\n For RDF graphs, Append access allows adds triples to the graph but does not remove any.\n Append access is useful for dropbox functionality.\n Dropbox can be used for link notification, which the information added is a notification\n that a some link has been made elsewhere relevant to the given resource.\n ".freeze,
31
107
  label: "append".freeze,
32
108
  subClassOf: ["acl:Access".freeze, "acl:Write".freeze],
33
109
  type: "rdfs:Class".freeze
34
110
  term :AuthenticatedAgent,
35
- comment: %(A class of agents who have been authenticated.
36
- In other words, anyone can access this resource, but not anonymously.
37
- The social expectation is that the authentication process will provide an
38
- identify and a name, or pseudonym.
39
- \(A new ID should not be minted for every access: the intent is that the user
40
- is able to continue to use the ID for continues interactions with peers,
41
- and for example to develop a reputation\)
42
- ).freeze,
111
+ comment: "A class of agents who have been authenticated.\nIn other words, anyone can access this resource, but not anonymously.\nThe social expectation is that the authentication process will provide an\nidentify and a name, or pseudonym.\n(A new ID should not be minted for every access: the intent is that the user\nis able to continue to use the ID for continues interactions with peers,\nand for example to develop a reputation)\n".freeze,
43
112
  label: "Anyone authenticated".freeze,
44
113
  subClassOf: "foaf:Agent".freeze,
45
114
  type: "rdfs:Class".freeze
46
115
  term :Authorization,
47
- comment: %(An element of access control,
48
- allowing agent to agents access of some kind to resources or classes of resources).freeze,
116
+ comment: "An element of access control,\n allowing agent to agents access of some kind to resources or classes of resources".freeze,
49
117
  label: "authorization".freeze,
50
118
  type: "rdfs:Class".freeze
51
119
  term :Control,
52
- comment: %(Allows read/write access to the ACL for the resource\(s\)).freeze,
120
+ comment: "Allows read/write access to the ACL for the resource(s)".freeze,
53
121
  label: "control".freeze,
54
122
  subClassOf: "acl:Access".freeze,
55
123
  type: "rdfs:Class".freeze
56
124
  term :Origin,
57
- comment: %(An Origin is basically a web site
58
- \(Note WITHOUT the trailing slash after the domain name and port in its URI\)
59
- and is the basis for controlling access to data by web apps
60
- in the Same Origin Model of web security.
61
- All scripts from the same origin are given the same right.).freeze,
125
+ comment: "An Origin is basically a web site\n (Note WITHOUT the trailing slash after the domain name and port in its URI)\n and is the basis for controlling access to data by web apps\n in the Same Origin Model of web security.\n All scripts from the same origin are given the same right.".freeze,
62
126
  label: "Origin".freeze,
63
127
  "rdfs:seeAlso": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin".freeze,
64
128
  type: "rdfs:Class".freeze
65
129
  term :Read,
66
- comment: %(The class of read operations).freeze,
130
+ comment: "The class of read operations".freeze,
67
131
  label: "read".freeze,
68
132
  subClassOf: "acl:Access".freeze,
69
133
  type: "rdfs:Class".freeze
@@ -74,93 +138,72 @@ and for example to develop a reputation\)
74
138
 
75
139
  # Property definitions
76
140
  property :accessControl,
77
- comment: %(The Access Control file for this information resource.
78
- This may of course be a virtual resource implemented by the access control system.
79
- Note also HTTP's header Link: foo.meta ;rel=meta can be used for this.).freeze,
141
+ comment: "The Access Control file for this information resource.\n This may of course be a virtual resource implemented by the access control system.\n Note also HTTP's header Link: foo.meta ;rel=meta can be used for this.".freeze,
80
142
  domain: "http://www.w3.org/2006/gen/ont#InformationResource".freeze,
81
143
  label: "access control".freeze,
82
144
  range: "http://www.w3.org/2006/gen/ont#InformationResource".freeze,
83
145
  subPropertyOf: "rdfs:seeAlso".freeze,
84
146
  type: "rdf:Property".freeze
85
147
  property :accessTo,
86
- comment: %(The information resource to which access is being granted.).freeze,
148
+ comment: "The information resource to which access is being granted.".freeze,
87
149
  domain: "acl:Authorization".freeze,
88
150
  label: "to".freeze,
89
151
  range: "http://www.w3.org/2006/gen/ont#InformationResource".freeze,
90
152
  type: "rdf:Property".freeze
91
153
  property :accessToClass,
92
- comment: %(A class of information resources to which access is being granted.).freeze,
154
+ comment: "A class of information resources to which access is being granted.".freeze,
93
155
  domain: "acl:Authorization".freeze,
94
156
  label: "to all in".freeze,
95
157
  range: "rdfs:Class".freeze,
96
158
  type: "rdf:Property".freeze
97
159
  property :agent,
98
- comment: %(A person or social entity to being given the right).freeze,
160
+ comment: "A person or social entity to being given the right".freeze,
99
161
  domain: "acl:Authorization".freeze,
100
162
  label: "agent".freeze,
101
163
  range: "foaf:Agent".freeze,
102
164
  type: "rdf:Property".freeze
103
165
  property :agentClass,
104
- comment: %(A class of persons or social entities to being given the right).freeze,
166
+ comment: "A class of persons or social entities to being given the right".freeze,
105
167
  domain: "acl:Authorization".freeze,
106
168
  label: "agent class".freeze,
107
169
  range: "rdfs:Class".freeze,
108
170
  type: "rdf:Property".freeze
109
171
  property :agentGroup,
110
- comment: %(A group of persons or social entities to being given the right.
111
- The right is given to any entity which is a vcard:member of the group,
112
- as defined by the document received when the Group is dereferenced.).freeze,
172
+ comment: "A group of persons or social entities to being given the right.\n The right is given to any entity which is a vcard:member of the group,\n as defined by the document received when the Group is dereferenced.".freeze,
113
173
  domain: "acl:Authorization".freeze,
114
174
  label: "agent group".freeze,
115
175
  range: "vcard:Group".freeze,
116
176
  type: "rdf:Property".freeze
117
177
  property :default,
118
- comment: %(If a resource has no ACL file \(it is 404\),
119
- then access to the resource if given by the ACL of the immediately
120
- containing directory, or failing that \(404\) the ACL of the recursively next
121
- containing directory which has an ACL file.
122
- Within that ACL file,
123
- any Authentication which has that directory as its acl:default applies to the
124
- resource. \(The highest directory must have an ACL file.\)
125
- ).freeze,
178
+ comment: "If a resource has no ACL file (it is 404),\n then access to the resource if given by the ACL of the immediately\n containing directory, or failing that (404) the ACL of the recursively next\n containing directory which has an ACL file.\n Within that ACL file,\n any Authentication which has that directory as its acl:default applies to the\n resource. (The highest directory must have an ACL file.)\n".freeze,
126
179
  domain: "acl:Authorization".freeze,
127
180
  label: "default access for things in this".freeze,
128
181
  type: "rdf:Property".freeze
129
182
  property :defaultForNew,
130
- comment: %(THIS IS OBSOLETE AS OF 2017-08-01. See 'default'.
131
- Was: A directory for which this authorization is used for new files in the directory.).freeze,
183
+ comment: "THIS IS OBSOLETE AS OF 2017-08-01. See 'default'.\n Was: A directory for which this authorization is used for new files in the directory.".freeze,
132
184
  domain: "acl:Authorization".freeze,
133
185
  label: "default access for new things in the object".freeze,
134
186
  type: "rdf:Property".freeze
135
187
  property :delegates,
136
- comment: %(Delegates a person or another agent to act on behalf of the agent.
137
- For example, Alice delegates Bob to act on behalf of Alice for ACL purposes.).freeze,
188
+ comment: "Delegates a person or another agent to act on behalf of the agent.\n For example, Alice delegates Bob to act on behalf of Alice for ACL purposes.".freeze,
138
189
  label: "delegates".freeze,
139
190
  range: "foaf:Agent".freeze,
140
191
  type: "rdf:Property".freeze
141
192
  property :mode,
142
- comment: %(A mode of access such as read or write.).freeze,
193
+ comment: "A mode of access such as read or write.".freeze,
143
194
  domain: "acl:Authorization".freeze,
144
195
  label: "access mode".freeze,
145
196
  range: "rdfs:Class".freeze,
146
197
  type: "rdf:Property".freeze
147
198
  property :origin,
148
- comment: %(A web application, identified by its Origin, such as
149
- <https://scripts.example.com>, being given the right.
150
- When a user of the web application at a certain origin accesses the server,
151
- then the browser sets the Origin: header to warn that a possibly untrusted webapp
152
- is being used.
153
- Then, BOTH the user AND the origin must have the required access.).freeze,
199
+ comment: "A web application, identified by its Origin, such as\n <https://scripts.example.com>, being given the right.\n When a user of the web application at a certain origin accesses the server,\n then the browser sets the Origin: header to warn that a possibly untrusted webapp\n is being used.\n Then, BOTH the user AND the origin must have the required access.".freeze,
154
200
  domain: "acl:Authorization".freeze,
155
201
  label: "origin".freeze,
156
202
  range: "acl:Origin".freeze,
157
203
  "rdfs:seeAlso": "https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Origin".freeze,
158
204
  type: "rdf:Property".freeze
159
205
  property :owner,
160
- comment: %(The person or other agent which owns this.
161
- For example, the owner of a file in a filesystem.
162
- There is a sense of right to control. Typically defaults to the agent who craeted
163
- something but can be changed.).freeze,
206
+ comment: "The person or other agent which owns this.\n For example, the owner of a file in a filesystem.\n There is a sense of right to control. Typically defaults to the agent who craeted\n something but can be changed.".freeze,
164
207
  label: "owner".freeze,
165
208
  range: "foaf:Agent".freeze,
166
209
  type: "rdf:Property".freeze