rdf-vocab 3.1.4 → 3.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) 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 +14 -28
  6. data/lib/rdf/vocab/acl.rb +84 -1
  7. data/lib/rdf/vocab/as.rb +466 -1
  8. data/lib/rdf/vocab/bf2.rb +1317 -1
  9. data/lib/rdf/vocab/bibframe.rb +1 -2
  10. data/lib/rdf/vocab/bibo.rb +496 -1
  11. data/lib/rdf/vocab/cc.rb +107 -1
  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 +1303 -1
  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 +1 -1
  18. data/lib/rdf/vocab/dc11.rb +63 -1
  19. data/lib/rdf/vocab/dcat.rb +152 -4
  20. data/lib/rdf/vocab/dcmitype.rb +1 -1
  21. data/lib/rdf/vocab/disco.rb +228 -1
  22. data/lib/rdf/vocab/doap.rb +175 -1
  23. data/lib/rdf/vocab/dwc.rb +753 -1
  24. data/lib/rdf/vocab/earl.rb +135 -1
  25. data/lib/rdf/vocab/ebucore.rb +7335 -1974
  26. data/lib/rdf/vocab/edm.rb +150 -1
  27. data/lib/rdf/vocab/exif.rb +650 -1
  28. data/lib/rdf/vocab/extensions.rb +253 -203
  29. data/lib/rdf/vocab/fcrepo4.rb +377 -1
  30. data/lib/rdf/vocab/foaf.rb +305 -1
  31. data/lib/rdf/vocab/geo.rb +39 -1
  32. data/lib/rdf/vocab/geojson.rb +66 -1
  33. data/lib/rdf/vocab/geonames.rb +166 -1
  34. data/lib/rdf/vocab/gr.rb +684 -1
  35. data/lib/rdf/vocab/gs1.rb +1597 -1
  36. data/lib/rdf/vocab/ht.rb +164 -1
  37. data/lib/rdf/vocab/hydra.rb +236 -2
  38. data/lib/rdf/vocab/iana.rb +230 -1
  39. data/lib/rdf/vocab/ical.rb +462 -1
  40. data/lib/rdf/vocab/identifiers.rb +462 -1
  41. data/lib/rdf/vocab/iiif.rb +136 -1
  42. data/lib/rdf/vocab/jsonld.rb +135 -1
  43. data/lib/rdf/vocab/ldp.rb +130 -1
  44. data/lib/rdf/vocab/lrmi.rb +1 -1
  45. data/lib/rdf/vocab/ma.rb +381 -1
  46. data/lib/rdf/vocab/mads.rb +600 -22
  47. data/lib/rdf/vocab/{marc_relators.rb → marcrelators.rb} +809 -1
  48. data/lib/rdf/vocab/mo.rb +919 -1
  49. data/lib/rdf/vocab/mods.rb +516 -1
  50. data/lib/rdf/vocab/nfo.rb +1 -1
  51. data/lib/rdf/vocab/oa.rb +275 -1
  52. data/lib/rdf/vocab/og.rb +78 -1
  53. data/lib/rdf/vocab/ogc.rb +34 -1
  54. data/lib/rdf/vocab/ore.rb +56 -1
  55. data/lib/rdf/vocab/org.rb +189 -1
  56. data/lib/rdf/vocab/pcdm.rb +47 -1
  57. data/lib/rdf/vocab/pplan.rb +64 -1
  58. data/lib/rdf/vocab/premis.rb +1266 -779
  59. data/lib/rdf/vocab/{premis_event_type.rb → premiseventtype.rb} +155 -1
  60. data/lib/rdf/vocab/prov.rb +619 -1
  61. data/lib/rdf/vocab/ptr.rb +138 -1
  62. data/lib/rdf/vocab/rightsstatements.rb +5 -1
  63. data/lib/rdf/vocab/rsa.rb +30 -1
  64. data/lib/rdf/vocab/rss.rb +1 -1
  65. data/lib/rdf/vocab/schema.rb +10032 -12
  66. data/lib/rdf/vocab/sd.rb +372 -0
  67. data/lib/rdf/vocab/sh.rb +736 -1
  68. data/lib/rdf/vocab/sioc.rb +401 -1
  69. data/lib/rdf/vocab/{sioc_services.rb → siocservices.rb} +38 -1
  70. data/lib/rdf/vocab/{sioct.rb → sioctypes.rb} +158 -1
  71. data/lib/rdf/vocab/skos.rb +119 -1
  72. data/lib/rdf/vocab/skosxl.rb +30 -1
  73. data/lib/rdf/vocab/v.rb +291 -1
  74. data/lib/rdf/vocab/vcard.rb +508 -1
  75. data/lib/rdf/vocab/vmd.rb +291 -1
  76. data/lib/rdf/vocab/void.rb +121 -1
  77. data/lib/rdf/vocab/vs.rb +19 -1
  78. data/lib/rdf/vocab/wdrs.rb +90 -1
  79. data/lib/rdf/vocab/wot.rb +78 -1
  80. data/lib/rdf/vocab/xhtml.rb +2 -1
  81. data/lib/rdf/vocab/xhv.rb +338 -1
  82. data/lib/rdf/vocab/xkos.rb +150 -1
  83. data/spec/extensions_spec.rb +68 -0
  84. data/spec/vocab_spec.rb +10 -0
  85. metadata +15 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74e89680d964bf7c4e205c34317c6e9305513db24b4eabb359c10301137538ee
4
- data.tar.gz: a5aa63b8af5f3ef4f0938b822bde4670d94ce839b2321258213411b4d0abb804
3
+ metadata.gz: d9fee488ffff2f75ddb9a2c4f15120e4594b3ec47c129bf0b490c86ab4de24e2
4
+ data.tar.gz: 91cfb8c9d75f02d97c42616563384b482f5a2a9ba81ce4ee340d054efe565d3c
5
5
  SHA512:
6
- metadata.gz: b33bb57932106df8b329c28fb2f3e2916313659e5e0e1a3cb34db4324e4ef2010098d5f2921361948580970b8818b0702de5c6e9ec685784b762ed12b5412957
7
- data.tar.gz: d5ed442b5739c731eb09fe29612235497de0806e3e409fe32bfa4c0ec30407630668874fee948fdc6efe32668208358f9288e6c9c45f8e37e3f1d6156789e77c
6
+ metadata.gz: 6f6e653bd589d4787f54b25ec132d7e27aa51bf99493a2209290075e837243de7e3e5445900b3f61ce973a3ad3bf4db4da84fc019b6f8c04bcb000ea9aa0858a
7
+ data.tar.gz: 7301239006c4402afa621f1122c7b0bdcda9fc2758ba8bb216865c37684dd91552b90e98a0da515746d1f8fd1e0f1529ec2bd5996cd92d22a3fab1a69c8bbc49
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.4
1
+ 3.1.5
@@ -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/",
@@ -94,19 +94,7 @@ module RDF
94
94
  ebucore: {
95
95
  uri: "http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#",
96
96
  source: "https://www.ebu.ch/metadata/ontologies/ebucore/ebucore.rdf",
97
- class_name: "EBUCore",
98
- patch: %{
99
- @prefix ebucore: <http://www.ebu.ch/metadata/ontologies/ebucore/ebucore#> .
100
- @prefix dc: <http://purl.org/dc/terms/> .
101
- @prefix dc11: <http://purl.org/dc/elements/1.1/> .
102
- @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
103
- DeleteExisting {
104
- ebucore:Agent rdfs:subClassOf dc11:Agent .
105
- } .
106
- AddNew {
107
- ebucore:Agent rdfs:subClassOf dc:Agent .
108
- } .
109
- }
97
+ class_name: "EBUCore"
110
98
  },
111
99
  edm: {
112
100
  uri: "http://www.europeana.eu/schemas/edm/",
@@ -132,8 +120,7 @@ module RDF
132
120
  fcrepo4: {
133
121
  uri: "http://fedora.info/definitions/v4/repository#",
134
122
  class_name: "Fcrepo4",
135
- source: "http://fedora.info/definitions/v4/2015/07/24/repository",
136
- skip: true # Not returning triples
123
+ source: "http://fedora.info/definitions/v4/2015/07/24/repository"
137
124
  },
138
125
  foaf: {uri: "http://xmlns.com/foaf/0.1/"},
139
126
  geo: {uri: "http://www.w3.org/2003/01/geo/wgs84_pos#"},
@@ -225,7 +212,7 @@ module RDF
225
212
  AddNew {:gender a owl:DatatypeProperty .} .
226
213
  }
227
214
  },
228
- marc_relators: {
215
+ marcrelators: {
229
216
  uri: "http://id.loc.gov/vocabulary/relators/",
230
217
  source: "http://id.loc.gov/vocabulary/relators.rdf",
231
218
  class_name: "MARCRelators",
@@ -249,8 +236,8 @@ module RDF
249
236
  },
250
237
  nfo: {uri: 'http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#', skip: true},
251
238
  oa: {uri: "http://www.w3.org/ns/oa#"},
252
- og: {uri: "http://ogp.me/ns#", strict: false},
253
- ogc: {uri: "http://ogp.me/ns/class#", source: "http://ogp.me/ns", strict: false},
239
+ og: {uri: "http://ogp.me/ns#", source: 'http://ogp.me/ns/ogp.me.ttl', strict: false},
240
+ ogc: {uri: "http://ogp.me/ns/class#", source: "http://ogp.me/ns/ogp.me.ttl", strict: false},
254
241
  ore: {uri: "http://www.openarchives.org/ore/terms/"},
255
242
  org: {uri: "http://www.w3.org/ns/org#"},
256
243
  owl: {uri: "http://www.w3.org/2002/07/owl#", alias: true},
@@ -261,10 +248,9 @@ module RDF
261
248
  pplan: {uri: "http://purl.org/net/p-plan#"},
262
249
  premis: {
263
250
  uri: "http://www.loc.gov/premis/rdf/v1#",
264
- source: "http://www.loc.gov/premis/rdf/v1.rdf",
265
- skip: true # Not returning triples
251
+ source: "http://www.loc.gov/premis/rdf/v1.rdf"
266
252
  },
267
- premis_event_type: {
253
+ premiseventtype: {
268
254
  uri: "http://id.loc.gov/vocabulary/preservation/eventType/",
269
255
  source: "http://id.loc.gov/vocabulary/preservation/eventType",
270
256
  class_name: "PremisEventType"
@@ -302,13 +288,14 @@ module RDF
302
288
  uri: "http://schema.org/",
303
289
  source: "http://schema.org/version/latest/all-layers.nq"
304
290
  },
305
- sh: { uri: 'http://www.w3.org/ns/shacl#', source: 'https://www.w3.org/ns/shacl.ttl' },
291
+ sd: {uri: 'http://www.w3.org/ns/sparql-service-description#', source: 'http://www.w3.org/ns/sparql-service-description.ttl'},
292
+ sh: {uri: 'http://www.w3.org/ns/shacl#', source: 'https://www.w3.org/ns/shacl.ttl'},
306
293
  sioc: {uri: "http://rdfs.org/sioc/ns#"},
307
- sioc_services: {
294
+ siocservices: {
308
295
  uri: "http://rdfs.org/sioc/services#",
309
296
  class_name: "SiocServices"
310
297
  },
311
- sioct: {uri: "http://rdfs.org/sioc/types#", class_name: "SiocTypes"},
298
+ sioctypes: {uri: "http://rdfs.org/sioc/types#", class_name: "SiocTypes"},
312
299
  skos: {uri: "http://www.w3.org/2004/02/skos/core#"},
313
300
  skosxl: {uri: "http://www.w3.org/2008/05/skos-xl#", source: "http://www.w3.org/TR/skos-reference/skos-xl.rdf"},
314
301
  v: {uri: "http://rdf.data-vocabulary.org/#", source: "etc/rdf.data-vocab.ttl"},
@@ -329,14 +316,13 @@ module RDF
329
316
 
330
317
  # Autoload vocabularies
331
318
  VOCABS.each do |id, params|
332
- v = params.fetch(:class_name, id.to_s.upcase).to_sym
319
+ v = (params[:class_name] ||= id.to_s.upcase).to_sym
333
320
  autoload v, File.expand_path("../vocab/#{id}", __FILE__) unless params[:alias]
334
321
  end
335
322
 
336
323
  # Aliases for vocabularies still defined directly in RDF.rb
337
324
  def self.const_missing(constant)
338
325
  if VOCABS.fetch(constant.to_s.downcase.to_sym, {})[:alias]
339
- require "rdf/vocab/#{constant.to_s.downcase}"
340
326
  const_set(constant, RDF.const_get(constant))
341
327
  else
342
328
  super
@@ -5,9 +5,92 @@ 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#",
@@ -5,9 +5,474 @@ require 'rdf'
5
5
  module RDF::Vocab
6
6
  # @!parse
7
7
  # # Vocabulary for <https://www.w3.org/ns/activitystreams#>
8
+ # #
9
+ # # Activity Streams 2.0
10
+ # #
11
+ # # Extended Activity Streams 2.0 Vocabulary
8
12
  # class AS < RDF::StrictVocabulary
13
+ # # Actor accepts the Object
14
+ # # @return [RDF::Vocabulary::Term]
15
+ # attr_reader :Accept
16
+ #
17
+ # # An Object representing some form of Action that has been taken
18
+ # # @return [RDF::Vocabulary::Term]
19
+ # attr_reader :Activity
20
+ #
21
+ # # To Add an Object or Link to Something
22
+ # # @return [RDF::Vocabulary::Term]
23
+ # attr_reader :Add
24
+ #
25
+ # # Actor announces the object to the target
26
+ # # @return [RDF::Vocabulary::Term]
27
+ # attr_reader :Announce
28
+ #
29
+ # # Represents a software application of any sort
30
+ # # @return [RDF::Vocabulary::Term]
31
+ # attr_reader :Application
32
+ #
33
+ # # To Arrive Somewhere (can be used, for instance, to indicate that a particular entity is currently located somewhere, e.g. a "check-in")
34
+ # # @return [RDF::Vocabulary::Term]
35
+ # attr_reader :Arrive
36
+ #
37
+ # # A written work. Typically several paragraphs long. For example, a blog post or a news article.
38
+ # # @return [RDF::Vocabulary::Term]
39
+ # attr_reader :Article
40
+ #
41
+ # # An audio file
42
+ # # @return [RDF::Vocabulary::Term]
43
+ # attr_reader :Audio
44
+ #
45
+ # # @return [RDF::Vocabulary::Term]
46
+ # attr_reader :Block
47
+ #
48
+ # # An ordered or unordered collection of Objects or Links
49
+ # # @return [RDF::Vocabulary::Term]
50
+ # attr_reader :Collection
51
+ #
52
+ # # A subset of items from a Collection
53
+ # # @return [RDF::Vocabulary::Term]
54
+ # attr_reader :CollectionPage
55
+ #
56
+ # # To Create Something
57
+ # # @return [RDF::Vocabulary::Term]
58
+ # attr_reader :Create
59
+ #
60
+ # # To Delete Something
61
+ # # @return [RDF::Vocabulary::Term]
62
+ # attr_reader :Delete
63
+ #
64
+ # # The actor dislikes the object
65
+ # # @return [RDF::Vocabulary::Term]
66
+ # attr_reader :Dislike
67
+ #
68
+ # # Represents a digital document/file of any sort
69
+ # # @return [RDF::Vocabulary::Term]
70
+ # attr_reader :Document
71
+ #
72
+ # # An Event of any kind
73
+ # # @return [RDF::Vocabulary::Term]
74
+ # attr_reader :Event
75
+ #
76
+ # # To flag something (e.g. flag as inappropriate, flag as spam, etc)
77
+ # # @return [RDF::Vocabulary::Term]
78
+ # attr_reader :Flag
79
+ #
80
+ # # To Express Interest in Something
81
+ # # @return [RDF::Vocabulary::Term]
82
+ # attr_reader :Follow
83
+ #
84
+ # # A Group of any kind.
85
+ # # @return [RDF::Vocabulary::Term]
86
+ # attr_reader :Group
87
+ #
88
+ # # Actor is ignoring the Object
89
+ # # @return [RDF::Vocabulary::Term]
90
+ # attr_reader :Ignore
91
+ #
92
+ # # An Image file
93
+ # # @return [RDF::Vocabulary::Term]
94
+ # attr_reader :Image
95
+ #
96
+ # # An Activity that has no direct object
97
+ # # @return [RDF::Vocabulary::Term]
98
+ # attr_reader :IntransitiveActivity
99
+ #
100
+ # # To invite someone or something to something
101
+ # # @return [RDF::Vocabulary::Term]
102
+ # attr_reader :Invite
103
+ #
104
+ # # To Join Something
105
+ # # @return [RDF::Vocabulary::Term]
106
+ # attr_reader :Join
107
+ #
108
+ # # To Leave Something
109
+ # # @return [RDF::Vocabulary::Term]
110
+ # attr_reader :Leave
111
+ #
112
+ # # To Like Something
113
+ # # @return [RDF::Vocabulary::Term]
114
+ # attr_reader :Like
115
+ #
116
+ # # Represents a qualified reference to another resource. Patterned after the RFC5988 Web Linking Model
117
+ # # @return [RDF::Vocabulary::Term]
118
+ # attr_reader :Link
119
+ #
120
+ # # The actor listened to the object
121
+ # # @return [RDF::Vocabulary::Term]
122
+ # attr_reader :Listen
123
+ #
124
+ # # A specialized Link that represents an @mention
125
+ # # @return [RDF::Vocabulary::Term]
126
+ # attr_reader :Mention
127
+ #
128
+ # # The actor is moving the object. The target specifies where the object is moving to. The origin specifies where the object is moving from.
129
+ # # @return [RDF::Vocabulary::Term]
130
+ # attr_reader :Move
131
+ #
132
+ # # A Short note, typically less than a single paragraph. A "tweet" is an example, or a "status update"
133
+ # # @return [RDF::Vocabulary::Term]
134
+ # attr_reader :Note
135
+ #
136
+ # # @return [RDF::Vocabulary::Term]
137
+ # attr_reader :Object
138
+ #
139
+ # # To Offer something to someone or something
140
+ # # @return [RDF::Vocabulary::Term]
141
+ # attr_reader :Offer
142
+ #
143
+ # # A variation of Collection in which items are strictly ordered
144
+ # # @return [RDF::Vocabulary::Term]
145
+ # attr_reader :OrderedCollection
146
+ #
147
+ # # An ordered subset of items from an OrderedCollection
148
+ # # @return [RDF::Vocabulary::Term]
149
+ # attr_reader :OrderedCollectionPage
150
+ #
151
+ # # A rdf:List variant for Objects and Links
152
+ # # @return [RDF::Vocabulary::Term]
153
+ # attr_reader :OrderedItems
154
+ #
155
+ # # An Organization
156
+ # # @return [RDF::Vocabulary::Term]
157
+ # attr_reader :Organization
158
+ #
159
+ # # A Web Page
160
+ # # @return [RDF::Vocabulary::Term]
161
+ # attr_reader :Page
162
+ #
163
+ # # A Person
164
+ # # @return [RDF::Vocabulary::Term]
165
+ # attr_reader :Person
166
+ #
167
+ # # A physical or logical location
168
+ # # @return [RDF::Vocabulary::Term]
169
+ # attr_reader :Place
170
+ #
171
+ # # A Profile Document
172
+ # # @return [RDF::Vocabulary::Term]
173
+ # attr_reader :Profile
174
+ #
175
+ # # A question of any sort.
176
+ # # @return [RDF::Vocabulary::Term]
177
+ # attr_reader :Question
178
+ #
179
+ # # The actor read the object
180
+ # # @return [RDF::Vocabulary::Term]
181
+ # attr_reader :Read
182
+ #
183
+ # # Actor rejects the Object
184
+ # # @return [RDF::Vocabulary::Term]
185
+ # attr_reader :Reject
186
+ #
187
+ # # Represents a Social Graph relationship between two Individuals (indicated by the 'a' and 'b' properties)
188
+ # # @return [RDF::Vocabulary::Term]
189
+ # attr_reader :Relationship
190
+ #
191
+ # # To Remove Something
192
+ # # @return [RDF::Vocabulary::Term]
193
+ # attr_reader :Remove
194
+ #
195
+ # # A service provided by some entity
196
+ # # @return [RDF::Vocabulary::Term]
197
+ # attr_reader :Service
198
+ #
199
+ # # Actor tentatively accepts the Object
200
+ # # @return [RDF::Vocabulary::Term]
201
+ # attr_reader :TentativeAccept
202
+ #
203
+ # # Actor tentatively rejects the object
204
+ # # @return [RDF::Vocabulary::Term]
205
+ # attr_reader :TentativeReject
206
+ #
207
+ # # A placeholder for a deleted object
208
+ # # @return [RDF::Vocabulary::Term]
209
+ # attr_reader :Tombstone
210
+ #
211
+ # # The actor is traveling to the target. The origin specifies where the actor is traveling from.
212
+ # # @return [RDF::Vocabulary::Term]
213
+ # attr_reader :Travel
214
+ #
215
+ # # To Undo Something. This would typically be used to indicate that a previous Activity has been undone.
216
+ # # @return [RDF::Vocabulary::Term]
217
+ # attr_reader :Undo
218
+ #
219
+ # # To Update/Modify Something
220
+ # # @return [RDF::Vocabulary::Term]
221
+ # attr_reader :Update
222
+ #
223
+ # # A Video document of any kind.
224
+ # # @return [RDF::Vocabulary::Term]
225
+ # attr_reader :Video
226
+ #
227
+ # # The actor viewed the object
228
+ # # @return [RDF::Vocabulary::Term]
229
+ # attr_reader :View
230
+ #
231
+ # # Specifies the accuracy around the point established by the longitude and latitude
232
+ # # @return [RDF::Vocabulary::Term]
233
+ # attr_reader :accuracy
234
+ #
235
+ # # Subproperty of as:attributedTo that identifies the primary actor
236
+ # # @return [RDF::Vocabulary::Term]
237
+ # attr_reader :actor
238
+ #
239
+ # # The altitude of a place
240
+ # # @return [RDF::Vocabulary::Term]
241
+ # attr_reader :altitude
242
+ #
243
+ # # Describes a possible inclusive answer or option for a question.
244
+ # # @return [RDF::Vocabulary::Term]
245
+ # attr_reader :anyOf
246
+ #
247
+ # # @return [RDF::Vocabulary::Term]
248
+ # attr_reader :attachment
249
+ #
250
+ # # @return [RDF::Vocabulary::Term]
251
+ # attr_reader :attachments
252
+ #
253
+ # # Identifies an entity to which an object is attributed
254
+ # # @return [RDF::Vocabulary::Term]
255
+ # attr_reader :attributedTo
256
+ #
257
+ # # @return [RDF::Vocabulary::Term]
258
+ # attr_reader :audience
259
+ #
260
+ # # Identifies the author of an object. Deprecated. Use as:attributedTo instead
261
+ # # @return [RDF::Vocabulary::Term]
262
+ # attr_reader :author
263
+ #
264
+ # # @return [RDF::Vocabulary::Term]
265
+ # attr_reader :bcc
266
+ #
267
+ # # @return [RDF::Vocabulary::Term]
268
+ # attr_reader :bto
269
+ #
270
+ # # @return [RDF::Vocabulary::Term]
271
+ # attr_reader :cc
272
+ #
273
+ # # The content of the object.
274
+ # # @return [RDF::Vocabulary::Term]
275
+ # attr_reader :content
276
+ #
277
+ # # Specifies the context within which an object exists or an activity was performed
278
+ # # @return [RDF::Vocabulary::Term]
279
+ # attr_reader :context
280
+ #
281
+ # # @return [RDF::Vocabulary::Term]
282
+ # attr_reader :current
283
+ #
284
+ # # Specifies the date and time the object was deleted
285
+ # # @return [RDF::Vocabulary::Term]
286
+ # attr_reader :deleted
287
+ #
288
+ # # On a Profile object, describes the object described by the profile
289
+ # # @return [RDF::Vocabulary::Term]
290
+ # attr_reader :describes
291
+ #
292
+ # # @return [RDF::Vocabulary::Term]
293
+ # attr_reader :downstreamDuplicates
294
+ #
295
+ # # The duration of the object
296
+ # # @return [RDF::Vocabulary::Term]
297
+ # attr_reader :duration
298
+ #
299
+ # # The ending time of the object
300
+ # # @return [RDF::Vocabulary::Term]
301
+ # attr_reader :endTime
302
+ #
303
+ # # @return [RDF::Vocabulary::Term]
304
+ # attr_reader :first
305
+ #
306
+ # # On a Tombstone object, describes the former type of the deleted object
307
+ # # @return [RDF::Vocabulary::Term]
308
+ # attr_reader :formerType
309
+ #
310
+ # # @return [RDF::Vocabulary::Term]
311
+ # attr_reader :generator
312
+ #
313
+ # # The display height expressed as device independent pixels
314
+ # # @return [RDF::Vocabulary::Term]
315
+ # attr_reader :height
316
+ #
317
+ # # The target URI of the Link
318
+ # # @return [RDF::Vocabulary::Term]
319
+ # attr_reader :href
320
+ #
321
+ # # A hint about the language of the referenced resource
322
+ # # @return [RDF::Vocabulary::Term]
323
+ # attr_reader :hreflang
324
+ #
325
+ # # @return [RDF::Vocabulary::Term]
326
+ # attr_reader :icon
327
+ #
328
+ # # @return [RDF::Vocabulary::Term]
329
+ # attr_reader :id
330
+ #
331
+ # # @return [RDF::Vocabulary::Term]
332
+ # attr_reader :image
333
+ #
334
+ # # @return [RDF::Vocabulary::Term]
335
+ # attr_reader :inReplyTo
336
+ #
337
+ # # Indentifies an object used (or to be used) to complete an activity
338
+ # # @return [RDF::Vocabulary::Term]
339
+ # attr_reader :instrument
340
+ #
341
+ # # @return [RDF::Vocabulary::Term]
342
+ # attr_reader :items
343
+ #
344
+ # # @return [RDF::Vocabulary::Term]
345
+ # attr_reader :last
346
+ #
347
+ # # The latitude
348
+ # # @return [RDF::Vocabulary::Term]
349
+ # attr_reader :latitude
350
+ #
351
+ # # @return [RDF::Vocabulary::Term]
352
+ # attr_reader :location
353
+ #
354
+ # # The longitude
355
+ # # @return [RDF::Vocabulary::Term]
356
+ # attr_reader :longitude
357
+ #
358
+ # # The MIME Media Type
359
+ # # @return [RDF::Vocabulary::Term]
360
+ # attr_reader :mediaType
361
+ #
362
+ # # @return [RDF::Vocabulary::Term]
363
+ # attr_reader :name
364
+ #
365
+ # # @return [RDF::Vocabulary::Term]
366
+ # attr_reader :next
367
+ #
368
+ # # @return [RDF::Vocabulary::Term]
369
+ # attr_reader :object
370
+ #
371
+ # # @return [RDF::Vocabulary::Term]
372
+ # attr_reader :objectType
373
+ #
374
+ # # Describes a possible exclusive answer or option for a question.
375
+ # # @return [RDF::Vocabulary::Term]
376
+ # attr_reader :oneOf
377
+ #
378
+ # # For certain activities, specifies the entity from which the action is directed.
379
+ # # @return [RDF::Vocabulary::Term]
380
+ # attr_reader :origin
381
+ #
382
+ # # @return [RDF::Vocabulary::Term]
383
+ # attr_reader :partOf
384
+ #
385
+ # # @return [RDF::Vocabulary::Term]
386
+ # attr_reader :prev
387
+ #
388
+ # # @return [RDF::Vocabulary::Term]
389
+ # attr_reader :preview
390
+ #
391
+ # # @return [RDF::Vocabulary::Term]
392
+ # attr_reader :provider
393
+ #
394
+ # # Specifies the date and time the object was published
395
+ # # @return [RDF::Vocabulary::Term]
396
+ # attr_reader :published
397
+ #
398
+ # # Specifies a radius around the point established by the longitude and latitude
399
+ # # @return [RDF::Vocabulary::Term]
400
+ # attr_reader :radius
401
+ #
402
+ # # A numeric rating (>= 0.0, <= 5.0) for the object
403
+ # # @return [RDF::Vocabulary::Term]
404
+ # attr_reader :rating
405
+ #
406
+ # # The RFC 5988 or HTML5 Link Relation associated with the Link
407
+ # # @return [RDF::Vocabulary::Term]
408
+ # attr_reader :rel
409
+ #
410
+ # # On a Relationship object, describes the type of relationship
411
+ # # @return [RDF::Vocabulary::Term]
412
+ # attr_reader :relationship
413
+ #
414
+ # # @return [RDF::Vocabulary::Term]
415
+ # attr_reader :replies
416
+ #
417
+ # # @return [RDF::Vocabulary::Term]
418
+ # attr_reader :result
419
+ #
420
+ # # In a strictly ordered logical collection, specifies the index position of the first item in the items list
421
+ # # @return [RDF::Vocabulary::Term]
422
+ # attr_reader :startIndex
423
+ #
424
+ # # The starting time of the object
425
+ # # @return [RDF::Vocabulary::Term]
426
+ # attr_reader :startTime
427
+ #
428
+ # # On a Relationship object, identifies the subject. e.g. when saying "John is connected to Sally", 'subject' refers to 'John'
429
+ # # @return [RDF::Vocabulary::Term]
430
+ # attr_reader :subject
431
+ #
432
+ # # A short summary of the object
433
+ # # @return [RDF::Vocabulary::Term]
434
+ # attr_reader :summary
435
+ #
436
+ # # @return [RDF::Vocabulary::Term]
437
+ # attr_reader :tag
438
+ #
439
+ # # @return [RDF::Vocabulary::Term]
440
+ # attr_reader :tags
441
+ #
442
+ # # @return [RDF::Vocabulary::Term]
443
+ # attr_reader :target
444
+ #
445
+ # # @return [RDF::Vocabulary::Term]
446
+ # attr_reader :to
447
+ #
448
+ # # The total number of items in a logical collection
449
+ # # @return [RDF::Vocabulary::Term]
450
+ # attr_reader :totalItems
451
+ #
452
+ # # Identifies the unit of measurement used by the radius, altitude and accuracy properties. The value can be expressed either as one of a set of predefined units or as a well-known common URI that identifies units.
453
+ # # @return [RDF::Vocabulary::Term]
454
+ # attr_reader :units
455
+ #
456
+ # # Specifies when the object was last updated
457
+ # # @return [RDF::Vocabulary::Term]
458
+ # attr_reader :updated
459
+ #
460
+ # # @return [RDF::Vocabulary::Term]
461
+ # attr_reader :upstreamDuplicates
462
+ #
463
+ # # Specifies a link to a specific representation of the Object
464
+ # # @return [RDF::Vocabulary::Term]
465
+ # attr_reader :url
466
+ #
467
+ # # @return [RDF::Vocabulary::Term]
468
+ # attr_reader :verb
469
+ #
470
+ # # Specifies the preferred display width of the content, expressed in terms of device independent pixels.
471
+ # # @return [RDF::Vocabulary::Term]
472
+ # attr_reader :width
473
+ #
9
474
  # end
10
- class AS < RDF::StrictVocabulary("https://www.w3.org/ns/activitystreams#")
475
+ AS = Class.new(RDF::StrictVocabulary("https://www.w3.org/ns/activitystreams#")) do
11
476
 
12
477
  # Ontology definition
13
478
  ontology :"https://www.w3.org/ns/activitystreams#",