json-ld-preloaded 3.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/AUTHORS +1 -0
- data/README.md +113 -0
- data/UNLICENSE +24 -0
- data/VERSION +1 -0
- data/lib/json/ld/preloaded.rb +26 -0
- data/lib/json/ld/preloaded/activitystreams.rb +157 -0
- data/lib/json/ld/preloaded/csvw.rb +182 -0
- data/lib/json/ld/preloaded/datacube.rb +53 -0
- data/lib/json/ld/preloaded/entityfacts.rb +82 -0
- data/lib/json/ld/preloaded/foaf.rb +25 -0
- data/lib/json/ld/preloaded/geojson.rb +28 -0
- data/lib/json/ld/preloaded/hydra.rb +89 -0
- data/lib/json/ld/preloaded/identity.rb +86 -0
- data/lib/json/ld/preloaded/iiif.rb +57 -0
- data/lib/json/ld/preloaded/linkedart.rb +436 -0
- data/lib/json/ld/preloaded/lov.rb +693 -0
- data/lib/json/ld/preloaded/oa.rb +35 -0
- data/lib/json/ld/preloaded/obi.rb +104 -0
- data/lib/json/ld/preloaded/prefix.rb +2299 -0
- data/lib/json/ld/preloaded/presentation.rb +91 -0
- data/lib/json/ld/preloaded/rdfa.rb +65 -0
- data/lib/json/ld/preloaded/research.rb +56 -0
- data/lib/json/ld/preloaded/schema.rb +2394 -0
- data/lib/json/ld/preloaded/vc.rb +19 -0
- data/lib/json/ld/preloaded/vcard.rb +159 -0
- data/lib/json/ld/preloaded/version.rb +20 -0
- data/spec/preloaded_spec.rb +28 -0
- data/spec/spec_helper.rb +7 -0
- metadata +170 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 84776e81e5bd160415d47b3790e95f715acdbeb981ffa7599cd6adbc0f223f85
|
4
|
+
data.tar.gz: 3c8ceaf73c0c2dc70e10a0ab21485c6f0326a9fa105391b57dc4ae5c728f6df5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 564b93fcc67560fa8885aab5c8b328d834cbc50259ccc90602b2e64b19f91dd4b87a650871839fc26014b6fe95ac1499e6314d226cbca7ad2c042fb224be5bc6
|
7
|
+
data.tar.gz: f4b66e5e5d21c157183e023a652a73c3e0cc837c1ff61d6c83a05bd82e4d48d26d7676fd2e4eedd64b1637f8d4c1324f91a54e214f3cdcf568225cb1062d31f3
|
data/AUTHORS
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
* Gregg Kellogg <gregg@greggkellogg.net>
|
data/README.md
ADDED
@@ -0,0 +1,113 @@
|
|
1
|
+
# JSON-LD Preloaded
|
2
|
+
JSON-LD with preloaded contexts.
|
3
|
+
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/json-ld-preloaded.png)](https://badge.fury.io/rb/json-ld-preloaded)
|
5
|
+
[![Build Status](https://secure.travis-ci.org/ruby-rdf/json-ld-preloaded.png?branch=master)](https://travis-ci.org/ruby-rdf/json-ld-preloaded)
|
6
|
+
|
7
|
+
## Features
|
8
|
+
|
9
|
+
This gem uses the preloading capabilities in `JSON::LD::Context` to create ruby context definitions for common JSON-LD contexts to dramatically reduce processing time when any preloaded context is used in a JSON-LD document. As a consequence, changes made to these contexts after the gem release will not be loaded.
|
10
|
+
|
11
|
+
Contexts are taken from https://github.com/json-ld/json-ld.org/wiki/existing-contexts:
|
12
|
+
|
13
|
+
* [Linked Open Vocabularies (LOV)](http://lov.okfn.org/dataset/lov/)
|
14
|
+
* http://lov.okfn.org/dataset/lov/context
|
15
|
+
* [Schema.org](http://schema.org)
|
16
|
+
* http://schema.org (needs content negotiation)
|
17
|
+
* [Hydra](http://www.hydra-cg.com/spec/latest/core/)
|
18
|
+
* http://www.w3.org/ns/hydra/core
|
19
|
+
* [LDP](http://www.w3.org/2012/ldp/wiki/Main_Page)
|
20
|
+
* [work in progress](http://lists.w3.org/Archives/Public/public-linked-json/2014Jul/0050.html)
|
21
|
+
* [ActivityStreams 2.0](http://activitystrea.ms)
|
22
|
+
* http://asjsonld.mybluemix.net/
|
23
|
+
* Open Badges (OBI)
|
24
|
+
* https://openbadgespec.org/v1/context.json
|
25
|
+
* issues: https://github.com/openbadges/openbadges-specification/issues
|
26
|
+
* [vCard Ontology](http://www.w3.org/TR/vcard-rdf/)
|
27
|
+
* http://www.w3.org/2006/vcard/ns (needs content negotiation)
|
28
|
+
* [FOAF](http://xmlns.com/foaf/spec/)
|
29
|
+
* http://xmlns.com/foaf/context
|
30
|
+
* [GeoJSON-LD](https://github.com/geojson/geojson-ld)
|
31
|
+
* https://raw.githubusercontent.com/geojson/geojson-ld/master/contexts/geojson-base.jsonld
|
32
|
+
* [IIIF Image API](http://iiif.io/api/image/2/)
|
33
|
+
* http://iiif.io/api/image/2/context.json
|
34
|
+
* [IIIF Presentation API](http://iiif.io/api/presentation/2/)
|
35
|
+
* http://iiif.io/api/presentation/2/context.json
|
36
|
+
* [RDFa Core Initial Context](http://www.w3.org/2011/rdfa-context/rdfa-1.1)
|
37
|
+
* http://www.w3.org/2013/json-ld-context/rdfa11
|
38
|
+
* [Web Payments](https://web-payments.org/)
|
39
|
+
* multiple, see specs
|
40
|
+
* [package.json](https://github.com/digitalbazaar/jsonld.js/issues/39)
|
41
|
+
* [Research Object Bundle](https://w3id.org/bundle)
|
42
|
+
* https://w3id.org/bundle/context
|
43
|
+
* [prefix.cc](http://prefix.cc)
|
44
|
+
* http://prefix.cc/context (and subsets using URLs of the form http://prefix.cc/foaf,rdf,rdfs.file.jsonld)
|
45
|
+
* CultureGraph EntityFacts
|
46
|
+
* http://hub.culturegraph.org/entityfacts/context/v1/entityfacts.jsonld
|
47
|
+
* [RDF Data Cube](http://purl.org/linked-data/cube#)
|
48
|
+
* http://pebbie.org/context/qb
|
49
|
+
* [CSVW Namespace Vocabulary Terms](https://www.w3.org/TR/tabular-data-model/)
|
50
|
+
* https://www.w3.org/ns/csvw
|
51
|
+
|
52
|
+
## Examples
|
53
|
+
|
54
|
+
require 'rubygems'
|
55
|
+
require 'json/ld/preloaded'
|
56
|
+
require 'rdf/turtle'
|
57
|
+
require 'rdf/vocab'
|
58
|
+
|
59
|
+
input = JSON.parse %({
|
60
|
+
"@context": "https://schema.org/",
|
61
|
+
"@id": "https://github.com/ruby-rdf/json-ld-preloaded",
|
62
|
+
"@type": "SoftwareApplication",
|
63
|
+
"name": "JSON-LD Preloaded",
|
64
|
+
"description": "A meta-release of the json-ld gem including preloaded vocabularies.",
|
65
|
+
"author": {
|
66
|
+
"@id": "https://greggkellogg.net/foaf#me",
|
67
|
+
"@type": "Person",
|
68
|
+
"name": "Gregg Kellogg"
|
69
|
+
}
|
70
|
+
})
|
71
|
+
|
72
|
+
RDF::Turtle::Writer.new(STDOUT, standard_prefixes: true) do |w|
|
73
|
+
w << JSON::LD::API.toRdf(input)
|
74
|
+
end
|
75
|
+
|
76
|
+
## Dependencies
|
77
|
+
* [Ruby](https://ruby-lang.org/) (>= 2.2.2)
|
78
|
+
* [JSON::LD](https://rubygems.org/gems/json-ld) (>= 2.2)
|
79
|
+
|
80
|
+
## Mailing List
|
81
|
+
* <https://lists.w3.org/Archives/Public/public-rdf-ruby/>
|
82
|
+
|
83
|
+
## Author
|
84
|
+
* [Gregg Kellogg](https://github.com/gkellogg) - <https://greggkellogg.net/>
|
85
|
+
|
86
|
+
## Contributing
|
87
|
+
* Do your best to adhere to the existing coding conventions and idioms.
|
88
|
+
* Don't use hard tabs, and don't leave trailing whitespace on any line.
|
89
|
+
* Do document every method you add using [YARD][] annotations. Read the
|
90
|
+
[tutorial][YARD-GS] or just look at the existing code for examples.
|
91
|
+
* Don't touch the `json-ld.gemspec`, `VERSION` or `AUTHORS` files. If you need to
|
92
|
+
change them, do so on your private branch only.
|
93
|
+
* Do feel free to add yourself to the `CREDITS` file and the corresponding
|
94
|
+
list in the the `README`. Alphabetical order applies.
|
95
|
+
* Do note that in order for us to merge any non-trivial changes (as a rule
|
96
|
+
of thumb, additions larger than about 15 lines of code), we need an
|
97
|
+
explicit [public domain dedication][PDD] on record from you.
|
98
|
+
|
99
|
+
## License
|
100
|
+
|
101
|
+
This is free and unencumbered public domain software. For more information,
|
102
|
+
see <https://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
103
|
+
|
104
|
+
[Ruby]: https://ruby-lang.org/
|
105
|
+
[RDF]: https://www.w3.org/RDF/
|
106
|
+
[YARD]: https://yardoc.org/
|
107
|
+
[YARD-GS]: https://rubydoc.info/docs/yard/file/docs/GettingStarted.md
|
108
|
+
[PDD]: https://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
|
109
|
+
[RDF.rb]: https://rubygems.org/gems/rdf
|
110
|
+
[Backports]: https://rubygems.org/gems/backports
|
111
|
+
[JSON-LD]: https://www.w3.org/TR/json-ld11/ "JSON-LD 1.1"
|
112
|
+
[Promises]: http://dom.spec.whatwg.org/#promises
|
113
|
+
[jsonlint]: https://rubygems.org/gems/jsonlint
|
data/UNLICENSE
ADDED
@@ -0,0 +1,24 @@
|
|
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/>
|
data/VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
3.0.4
|
@@ -0,0 +1,26 @@
|
|
1
|
+
require 'json/ld'
|
2
|
+
|
3
|
+
module JSON::LD::Context::Preloaded
|
4
|
+
autoload :VERSION, "json/ld/preloaded/version"
|
5
|
+
end
|
6
|
+
|
7
|
+
# Require individual context files here
|
8
|
+
load "json/ld/preloaded/activitystreams.rb"
|
9
|
+
load "json/ld/preloaded/csvw.rb"
|
10
|
+
load "json/ld/preloaded/datacube.rb"
|
11
|
+
load "json/ld/preloaded/entityfacts.rb"
|
12
|
+
load "json/ld/preloaded/foaf.rb"
|
13
|
+
load "json/ld/preloaded/geojson.rb"
|
14
|
+
load "json/ld/preloaded/hydra.rb"
|
15
|
+
load "json/ld/preloaded/identity.rb"
|
16
|
+
load "json/ld/preloaded/iiif.rb"
|
17
|
+
load "json/ld/preloaded/linkedart.rb"
|
18
|
+
load "json/ld/preloaded/lov.rb"
|
19
|
+
load "json/ld/preloaded/oa.rb"
|
20
|
+
load "json/ld/preloaded/prefix.rb"
|
21
|
+
load "json/ld/preloaded/presentation.rb"
|
22
|
+
load "json/ld/preloaded/rdfa.rb"
|
23
|
+
load "json/ld/preloaded/research.rb"
|
24
|
+
load "json/ld/preloaded/schema.rb"
|
25
|
+
load "json/ld/preloaded/vc.rb"
|
26
|
+
load "json/ld/preloaded/vcard.rb"
|
@@ -0,0 +1,157 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
# frozen_string_literal: true
|
3
|
+
# This file generated automatically from http://www.w3.org/ns/activitystreams
|
4
|
+
require 'json/ld'
|
5
|
+
class JSON::LD::Context
|
6
|
+
add_preloaded("http://www.w3.org/ns/activitystreams") do
|
7
|
+
new(vocab: "_:", term_definitions: {
|
8
|
+
"Accept" => TermDefinition.new("Accept", id: "https://www.w3.org/ns/activitystreams#Accept", simple: true),
|
9
|
+
"Activity" => TermDefinition.new("Activity", id: "https://www.w3.org/ns/activitystreams#Activity", simple: true),
|
10
|
+
"Add" => TermDefinition.new("Add", id: "https://www.w3.org/ns/activitystreams#Add", simple: true),
|
11
|
+
"Announce" => TermDefinition.new("Announce", id: "https://www.w3.org/ns/activitystreams#Announce", simple: true),
|
12
|
+
"Application" => TermDefinition.new("Application", id: "https://www.w3.org/ns/activitystreams#Application", simple: true),
|
13
|
+
"Arrive" => TermDefinition.new("Arrive", id: "https://www.w3.org/ns/activitystreams#Arrive", simple: true),
|
14
|
+
"Article" => TermDefinition.new("Article", id: "https://www.w3.org/ns/activitystreams#Article", simple: true),
|
15
|
+
"Audio" => TermDefinition.new("Audio", id: "https://www.w3.org/ns/activitystreams#Audio", simple: true),
|
16
|
+
"Block" => TermDefinition.new("Block", id: "https://www.w3.org/ns/activitystreams#Block", simple: true),
|
17
|
+
"Collection" => TermDefinition.new("Collection", id: "https://www.w3.org/ns/activitystreams#Collection", simple: true),
|
18
|
+
"CollectionPage" => TermDefinition.new("CollectionPage", id: "https://www.w3.org/ns/activitystreams#CollectionPage", simple: true),
|
19
|
+
"Create" => TermDefinition.new("Create", id: "https://www.w3.org/ns/activitystreams#Create", simple: true),
|
20
|
+
"Delete" => TermDefinition.new("Delete", id: "https://www.w3.org/ns/activitystreams#Delete", simple: true),
|
21
|
+
"Dislike" => TermDefinition.new("Dislike", id: "https://www.w3.org/ns/activitystreams#Dislike", simple: true),
|
22
|
+
"Document" => TermDefinition.new("Document", id: "https://www.w3.org/ns/activitystreams#Document", simple: true),
|
23
|
+
"Event" => TermDefinition.new("Event", id: "https://www.w3.org/ns/activitystreams#Event", simple: true),
|
24
|
+
"Flag" => TermDefinition.new("Flag", id: "https://www.w3.org/ns/activitystreams#Flag", simple: true),
|
25
|
+
"Follow" => TermDefinition.new("Follow", id: "https://www.w3.org/ns/activitystreams#Follow", simple: true),
|
26
|
+
"Group" => TermDefinition.new("Group", id: "https://www.w3.org/ns/activitystreams#Group", simple: true),
|
27
|
+
"Ignore" => TermDefinition.new("Ignore", id: "https://www.w3.org/ns/activitystreams#Ignore", simple: true),
|
28
|
+
"Image" => TermDefinition.new("Image", id: "https://www.w3.org/ns/activitystreams#Image", simple: true),
|
29
|
+
"IntransitiveActivity" => TermDefinition.new("IntransitiveActivity", id: "https://www.w3.org/ns/activitystreams#IntransitiveActivity", simple: true),
|
30
|
+
"Invite" => TermDefinition.new("Invite", id: "https://www.w3.org/ns/activitystreams#Invite", simple: true),
|
31
|
+
"IsContact" => TermDefinition.new("IsContact", id: "https://www.w3.org/ns/activitystreams#IsContact", simple: true),
|
32
|
+
"IsFollowedBy" => TermDefinition.new("IsFollowedBy", id: "https://www.w3.org/ns/activitystreams#IsFollowedBy", simple: true),
|
33
|
+
"IsFollowing" => TermDefinition.new("IsFollowing", id: "https://www.w3.org/ns/activitystreams#IsFollowing", simple: true),
|
34
|
+
"IsMember" => TermDefinition.new("IsMember", id: "https://www.w3.org/ns/activitystreams#IsMember", simple: true),
|
35
|
+
"Join" => TermDefinition.new("Join", id: "https://www.w3.org/ns/activitystreams#Join", simple: true),
|
36
|
+
"Leave" => TermDefinition.new("Leave", id: "https://www.w3.org/ns/activitystreams#Leave", simple: true),
|
37
|
+
"Like" => TermDefinition.new("Like", id: "https://www.w3.org/ns/activitystreams#Like", simple: true),
|
38
|
+
"Link" => TermDefinition.new("Link", id: "https://www.w3.org/ns/activitystreams#Link", simple: true),
|
39
|
+
"Listen" => TermDefinition.new("Listen", id: "https://www.w3.org/ns/activitystreams#Listen", simple: true),
|
40
|
+
"Mention" => TermDefinition.new("Mention", id: "https://www.w3.org/ns/activitystreams#Mention", simple: true),
|
41
|
+
"Move" => TermDefinition.new("Move", id: "https://www.w3.org/ns/activitystreams#Move", simple: true),
|
42
|
+
"Note" => TermDefinition.new("Note", id: "https://www.w3.org/ns/activitystreams#Note", simple: true),
|
43
|
+
"Object" => TermDefinition.new("Object", id: "https://www.w3.org/ns/activitystreams#Object", simple: true),
|
44
|
+
"Offer" => TermDefinition.new("Offer", id: "https://www.w3.org/ns/activitystreams#Offer", simple: true),
|
45
|
+
"OrderedCollection" => TermDefinition.new("OrderedCollection", id: "https://www.w3.org/ns/activitystreams#OrderedCollection", simple: true),
|
46
|
+
"OrderedCollectionPage" => TermDefinition.new("OrderedCollectionPage", id: "https://www.w3.org/ns/activitystreams#OrderedCollectionPage", simple: true),
|
47
|
+
"Organization" => TermDefinition.new("Organization", id: "https://www.w3.org/ns/activitystreams#Organization", simple: true),
|
48
|
+
"Page" => TermDefinition.new("Page", id: "https://www.w3.org/ns/activitystreams#Page", simple: true),
|
49
|
+
"Person" => TermDefinition.new("Person", id: "https://www.w3.org/ns/activitystreams#Person", simple: true),
|
50
|
+
"Place" => TermDefinition.new("Place", id: "https://www.w3.org/ns/activitystreams#Place", simple: true),
|
51
|
+
"Profile" => TermDefinition.new("Profile", id: "https://www.w3.org/ns/activitystreams#Profile", simple: true),
|
52
|
+
"Public" => TermDefinition.new("Public", id: "https://www.w3.org/ns/activitystreams#Public", type_mapping: "@id"),
|
53
|
+
"Question" => TermDefinition.new("Question", id: "https://www.w3.org/ns/activitystreams#Question", simple: true),
|
54
|
+
"Read" => TermDefinition.new("Read", id: "https://www.w3.org/ns/activitystreams#Read", simple: true),
|
55
|
+
"Reject" => TermDefinition.new("Reject", id: "https://www.w3.org/ns/activitystreams#Reject", simple: true),
|
56
|
+
"Relationship" => TermDefinition.new("Relationship", id: "https://www.w3.org/ns/activitystreams#Relationship", simple: true),
|
57
|
+
"Remove" => TermDefinition.new("Remove", id: "https://www.w3.org/ns/activitystreams#Remove", simple: true),
|
58
|
+
"Service" => TermDefinition.new("Service", id: "https://www.w3.org/ns/activitystreams#Service", simple: true),
|
59
|
+
"TentativeAccept" => TermDefinition.new("TentativeAccept", id: "https://www.w3.org/ns/activitystreams#TentativeAccept", simple: true),
|
60
|
+
"TentativeReject" => TermDefinition.new("TentativeReject", id: "https://www.w3.org/ns/activitystreams#TentativeReject", simple: true),
|
61
|
+
"Tombstone" => TermDefinition.new("Tombstone", id: "https://www.w3.org/ns/activitystreams#Tombstone", simple: true),
|
62
|
+
"Travel" => TermDefinition.new("Travel", id: "https://www.w3.org/ns/activitystreams#Travel", simple: true),
|
63
|
+
"Undo" => TermDefinition.new("Undo", id: "https://www.w3.org/ns/activitystreams#Undo", simple: true),
|
64
|
+
"Update" => TermDefinition.new("Update", id: "https://www.w3.org/ns/activitystreams#Update", simple: true),
|
65
|
+
"Video" => TermDefinition.new("Video", id: "https://www.w3.org/ns/activitystreams#Video", simple: true),
|
66
|
+
"View" => TermDefinition.new("View", id: "https://www.w3.org/ns/activitystreams#View", simple: true),
|
67
|
+
"accuracy" => TermDefinition.new("accuracy", id: "https://www.w3.org/ns/activitystreams#accuracy", type_mapping: "http://www.w3.org/2001/XMLSchema#float"),
|
68
|
+
"actor" => TermDefinition.new("actor", id: "https://www.w3.org/ns/activitystreams#actor", type_mapping: "@id"),
|
69
|
+
"altitude" => TermDefinition.new("altitude", id: "https://www.w3.org/ns/activitystreams#altitude", type_mapping: "http://www.w3.org/2001/XMLSchema#float"),
|
70
|
+
"anyOf" => TermDefinition.new("anyOf", id: "https://www.w3.org/ns/activitystreams#anyOf", type_mapping: "@id"),
|
71
|
+
"as" => TermDefinition.new("as", id: "https://www.w3.org/ns/activitystreams#", simple: true, prefix: true),
|
72
|
+
"attachment" => TermDefinition.new("attachment", id: "https://www.w3.org/ns/activitystreams#attachment", type_mapping: "@id"),
|
73
|
+
"attributedTo" => TermDefinition.new("attributedTo", id: "https://www.w3.org/ns/activitystreams#attributedTo", type_mapping: "@id"),
|
74
|
+
"audience" => TermDefinition.new("audience", id: "https://www.w3.org/ns/activitystreams#audience", type_mapping: "@id"),
|
75
|
+
"bcc" => TermDefinition.new("bcc", id: "https://www.w3.org/ns/activitystreams#bcc", type_mapping: "@id"),
|
76
|
+
"bto" => TermDefinition.new("bto", id: "https://www.w3.org/ns/activitystreams#bto", type_mapping: "@id"),
|
77
|
+
"cc" => TermDefinition.new("cc", id: "https://www.w3.org/ns/activitystreams#cc", type_mapping: "@id"),
|
78
|
+
"closed" => TermDefinition.new("closed", id: "https://www.w3.org/ns/activitystreams#closed", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
|
79
|
+
"content" => TermDefinition.new("content", id: "https://www.w3.org/ns/activitystreams#content", simple: true),
|
80
|
+
"contentMap" => TermDefinition.new("contentMap", id: "https://www.w3.org/ns/activitystreams#content", container_mapping: "@language"),
|
81
|
+
"context" => TermDefinition.new("context", id: "https://www.w3.org/ns/activitystreams#context", type_mapping: "@id"),
|
82
|
+
"current" => TermDefinition.new("current", id: "https://www.w3.org/ns/activitystreams#current", type_mapping: "@id"),
|
83
|
+
"deleted" => TermDefinition.new("deleted", id: "https://www.w3.org/ns/activitystreams#deleted", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
|
84
|
+
"describes" => TermDefinition.new("describes", id: "https://www.w3.org/ns/activitystreams#describes", type_mapping: "@id"),
|
85
|
+
"duration" => TermDefinition.new("duration", id: "https://www.w3.org/ns/activitystreams#duration", type_mapping: "http://www.w3.org/2001/XMLSchema#duration"),
|
86
|
+
"endTime" => TermDefinition.new("endTime", id: "https://www.w3.org/ns/activitystreams#endTime", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
|
87
|
+
"endpoints" => TermDefinition.new("endpoints", id: "https://www.w3.org/ns/activitystreams#endpoints", type_mapping: "@id"),
|
88
|
+
"first" => TermDefinition.new("first", id: "https://www.w3.org/ns/activitystreams#first", type_mapping: "@id"),
|
89
|
+
"followers" => TermDefinition.new("followers", id: "https://www.w3.org/ns/activitystreams#followers", type_mapping: "@id"),
|
90
|
+
"following" => TermDefinition.new("following", id: "https://www.w3.org/ns/activitystreams#following", type_mapping: "@id"),
|
91
|
+
"formerType" => TermDefinition.new("formerType", id: "https://www.w3.org/ns/activitystreams#formerType", type_mapping: "@id"),
|
92
|
+
"generator" => TermDefinition.new("generator", id: "https://www.w3.org/ns/activitystreams#generator", type_mapping: "@id"),
|
93
|
+
"height" => TermDefinition.new("height", id: "https://www.w3.org/ns/activitystreams#height", type_mapping: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"),
|
94
|
+
"href" => TermDefinition.new("href", id: "https://www.w3.org/ns/activitystreams#href", type_mapping: "@id"),
|
95
|
+
"hreflang" => TermDefinition.new("hreflang", id: "https://www.w3.org/ns/activitystreams#hreflang", simple: true),
|
96
|
+
"icon" => TermDefinition.new("icon", id: "https://www.w3.org/ns/activitystreams#icon", type_mapping: "@id"),
|
97
|
+
"id" => TermDefinition.new("id", id: "@id", simple: true),
|
98
|
+
"image" => TermDefinition.new("image", id: "https://www.w3.org/ns/activitystreams#image", type_mapping: "@id"),
|
99
|
+
"inReplyTo" => TermDefinition.new("inReplyTo", id: "https://www.w3.org/ns/activitystreams#inReplyTo", type_mapping: "@id"),
|
100
|
+
"inbox" => TermDefinition.new("inbox", id: "http://www.w3.org/ns/ldp#inbox", type_mapping: "@id"),
|
101
|
+
"instrument" => TermDefinition.new("instrument", id: "https://www.w3.org/ns/activitystreams#instrument", type_mapping: "@id"),
|
102
|
+
"items" => TermDefinition.new("items", id: "https://www.w3.org/ns/activitystreams#items", type_mapping: "@id"),
|
103
|
+
"last" => TermDefinition.new("last", id: "https://www.w3.org/ns/activitystreams#last", type_mapping: "@id"),
|
104
|
+
"latitude" => TermDefinition.new("latitude", id: "https://www.w3.org/ns/activitystreams#latitude", type_mapping: "http://www.w3.org/2001/XMLSchema#float"),
|
105
|
+
"ldp" => TermDefinition.new("ldp", id: "http://www.w3.org/ns/ldp#", simple: true, prefix: true),
|
106
|
+
"liked" => TermDefinition.new("liked", id: "https://www.w3.org/ns/activitystreams#liked", type_mapping: "@id"),
|
107
|
+
"likes" => TermDefinition.new("likes", id: "https://www.w3.org/ns/activitystreams#likes", type_mapping: "@id"),
|
108
|
+
"location" => TermDefinition.new("location", id: "https://www.w3.org/ns/activitystreams#location", type_mapping: "@id"),
|
109
|
+
"longitude" => TermDefinition.new("longitude", id: "https://www.w3.org/ns/activitystreams#longitude", type_mapping: "http://www.w3.org/2001/XMLSchema#float"),
|
110
|
+
"mediaType" => TermDefinition.new("mediaType", id: "https://www.w3.org/ns/activitystreams#mediaType", simple: true),
|
111
|
+
"name" => TermDefinition.new("name", id: "https://www.w3.org/ns/activitystreams#name", simple: true),
|
112
|
+
"nameMap" => TermDefinition.new("nameMap", id: "https://www.w3.org/ns/activitystreams#name", container_mapping: "@language"),
|
113
|
+
"next" => TermDefinition.new("next", id: "https://www.w3.org/ns/activitystreams#next", type_mapping: "@id"),
|
114
|
+
"oauthAuthorizationEndpoint" => TermDefinition.new("oauthAuthorizationEndpoint", id: "https://www.w3.org/ns/activitystreams#oauthAuthorizationEndpoint", type_mapping: "@id"),
|
115
|
+
"oauthTokenEndpoint" => TermDefinition.new("oauthTokenEndpoint", id: "https://www.w3.org/ns/activitystreams#oauthTokenEndpoint", type_mapping: "@id"),
|
116
|
+
"object" => TermDefinition.new("object", id: "https://www.w3.org/ns/activitystreams#object", type_mapping: "@id"),
|
117
|
+
"oneOf" => TermDefinition.new("oneOf", id: "https://www.w3.org/ns/activitystreams#oneOf", type_mapping: "@id"),
|
118
|
+
"orderedItems" => TermDefinition.new("orderedItems", id: "https://www.w3.org/ns/activitystreams#items", type_mapping: "@id", container_mapping: "@list"),
|
119
|
+
"origin" => TermDefinition.new("origin", id: "https://www.w3.org/ns/activitystreams#origin", type_mapping: "@id"),
|
120
|
+
"outbox" => TermDefinition.new("outbox", id: "https://www.w3.org/ns/activitystreams#outbox", type_mapping: "@id"),
|
121
|
+
"partOf" => TermDefinition.new("partOf", id: "https://www.w3.org/ns/activitystreams#partOf", type_mapping: "@id"),
|
122
|
+
"preferredUsername" => TermDefinition.new("preferredUsername", id: "https://www.w3.org/ns/activitystreams#preferredUsername", simple: true),
|
123
|
+
"prev" => TermDefinition.new("prev", id: "https://www.w3.org/ns/activitystreams#prev", type_mapping: "@id"),
|
124
|
+
"preview" => TermDefinition.new("preview", id: "https://www.w3.org/ns/activitystreams#preview", type_mapping: "@id"),
|
125
|
+
"provideClientKey" => TermDefinition.new("provideClientKey", id: "https://www.w3.org/ns/activitystreams#provideClientKey", type_mapping: "@id"),
|
126
|
+
"proxyUrl" => TermDefinition.new("proxyUrl", id: "https://www.w3.org/ns/activitystreams#proxyUrl", type_mapping: "@id"),
|
127
|
+
"published" => TermDefinition.new("published", id: "https://www.w3.org/ns/activitystreams#published", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
|
128
|
+
"radius" => TermDefinition.new("radius", id: "https://www.w3.org/ns/activitystreams#radius", type_mapping: "http://www.w3.org/2001/XMLSchema#float"),
|
129
|
+
"rel" => TermDefinition.new("rel", id: "https://www.w3.org/ns/activitystreams#rel", simple: true),
|
130
|
+
"relationship" => TermDefinition.new("relationship", id: "https://www.w3.org/ns/activitystreams#relationship", type_mapping: "@id"),
|
131
|
+
"replies" => TermDefinition.new("replies", id: "https://www.w3.org/ns/activitystreams#replies", type_mapping: "@id"),
|
132
|
+
"result" => TermDefinition.new("result", id: "https://www.w3.org/ns/activitystreams#result", type_mapping: "@id"),
|
133
|
+
"sharedInbox" => TermDefinition.new("sharedInbox", id: "https://www.w3.org/ns/activitystreams#sharedInbox", type_mapping: "@id"),
|
134
|
+
"shares" => TermDefinition.new("shares", id: "https://www.w3.org/ns/activitystreams#shares", type_mapping: "@id"),
|
135
|
+
"signClientKey" => TermDefinition.new("signClientKey", id: "https://www.w3.org/ns/activitystreams#signClientKey", type_mapping: "@id"),
|
136
|
+
"source" => TermDefinition.new("source", id: "https://www.w3.org/ns/activitystreams#source", simple: true),
|
137
|
+
"startIndex" => TermDefinition.new("startIndex", id: "https://www.w3.org/ns/activitystreams#startIndex", type_mapping: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"),
|
138
|
+
"startTime" => TermDefinition.new("startTime", id: "https://www.w3.org/ns/activitystreams#startTime", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
|
139
|
+
"streams" => TermDefinition.new("streams", id: "https://www.w3.org/ns/activitystreams#streams", type_mapping: "@id"),
|
140
|
+
"subject" => TermDefinition.new("subject", id: "https://www.w3.org/ns/activitystreams#subject", type_mapping: "@id"),
|
141
|
+
"summary" => TermDefinition.new("summary", id: "https://www.w3.org/ns/activitystreams#summary", simple: true),
|
142
|
+
"summaryMap" => TermDefinition.new("summaryMap", id: "https://www.w3.org/ns/activitystreams#summary", container_mapping: "@language"),
|
143
|
+
"tag" => TermDefinition.new("tag", id: "https://www.w3.org/ns/activitystreams#tag", type_mapping: "@id"),
|
144
|
+
"target" => TermDefinition.new("target", id: "https://www.w3.org/ns/activitystreams#target", type_mapping: "@id"),
|
145
|
+
"to" => TermDefinition.new("to", id: "https://www.w3.org/ns/activitystreams#to", type_mapping: "@id"),
|
146
|
+
"totalItems" => TermDefinition.new("totalItems", id: "https://www.w3.org/ns/activitystreams#totalItems", type_mapping: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"),
|
147
|
+
"type" => TermDefinition.new("type", id: "@type", simple: true),
|
148
|
+
"units" => TermDefinition.new("units", id: "https://www.w3.org/ns/activitystreams#units", simple: true),
|
149
|
+
"updated" => TermDefinition.new("updated", id: "https://www.w3.org/ns/activitystreams#updated", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
|
150
|
+
"uploadMedia" => TermDefinition.new("uploadMedia", id: "https://www.w3.org/ns/activitystreams#uploadMedia", type_mapping: "@id"),
|
151
|
+
"url" => TermDefinition.new("url", id: "https://www.w3.org/ns/activitystreams#url", type_mapping: "@id"),
|
152
|
+
"width" => TermDefinition.new("width", id: "https://www.w3.org/ns/activitystreams#width", type_mapping: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"),
|
153
|
+
"xsd" => TermDefinition.new("xsd", id: "http://www.w3.org/2001/XMLSchema#", simple: true, prefix: true)
|
154
|
+
})
|
155
|
+
end
|
156
|
+
alias_preloaded("https://www.w3.org/ns/activitystreams", "http://www.w3.org/ns/activitystreams")
|
157
|
+
end
|
@@ -0,0 +1,182 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
# frozen_string_literal: true
|
3
|
+
# This file generated automatically from http://www.w3.org/ns/csvw
|
4
|
+
require 'json/ld'
|
5
|
+
class JSON::LD::Context
|
6
|
+
add_preloaded("http://www.w3.org/ns/csvw") do
|
7
|
+
new(term_definitions: {
|
8
|
+
"Cell" => TermDefinition.new("Cell", id: "http://www.w3.org/ns/csvw#Cell", simple: true),
|
9
|
+
"Column" => TermDefinition.new("Column", id: "http://www.w3.org/ns/csvw#Column", simple: true),
|
10
|
+
"Datatype" => TermDefinition.new("Datatype", id: "http://www.w3.org/ns/csvw#Datatype", simple: true),
|
11
|
+
"Dialect" => TermDefinition.new("Dialect", id: "http://www.w3.org/ns/csvw#Dialect", simple: true),
|
12
|
+
"Direction" => TermDefinition.new("Direction", id: "http://www.w3.org/ns/csvw#Direction", simple: true),
|
13
|
+
"ForeignKey" => TermDefinition.new("ForeignKey", id: "http://www.w3.org/ns/csvw#ForeignKey", simple: true),
|
14
|
+
"JSON" => TermDefinition.new("JSON", id: "http://www.w3.org/ns/csvw#JSON", simple: true),
|
15
|
+
"NCName" => TermDefinition.new("NCName", id: "http://www.w3.org/2001/XMLSchema#NCName", simple: true),
|
16
|
+
"NMTOKEN" => TermDefinition.new("NMTOKEN", id: "http://www.w3.org/2001/XMLSchema#NMTOKEN", simple: true),
|
17
|
+
"Name" => TermDefinition.new("Name", id: "http://www.w3.org/2001/XMLSchema#Name", simple: true),
|
18
|
+
"NumericFormat" => TermDefinition.new("NumericFormat", id: "http://www.w3.org/ns/csvw#NumericFormat", simple: true),
|
19
|
+
"QName" => TermDefinition.new("QName", id: "http://www.w3.org/2001/XMLSchema#QName", simple: true),
|
20
|
+
"Row" => TermDefinition.new("Row", id: "http://www.w3.org/ns/csvw#Row", simple: true),
|
21
|
+
"Schema" => TermDefinition.new("Schema", id: "http://www.w3.org/ns/csvw#Schema", simple: true),
|
22
|
+
"Table" => TermDefinition.new("Table", id: "http://www.w3.org/ns/csvw#Table", simple: true),
|
23
|
+
"TableGroup" => TermDefinition.new("TableGroup", id: "http://www.w3.org/ns/csvw#TableGroup", simple: true),
|
24
|
+
"TableReference" => TermDefinition.new("TableReference", id: "http://www.w3.org/ns/csvw#TableReference", simple: true),
|
25
|
+
"Transformation" => TermDefinition.new("Transformation", id: "http://www.w3.org/ns/csvw#Transformation", simple: true),
|
26
|
+
"aboutUrl" => TermDefinition.new("aboutUrl", id: "http://www.w3.org/ns/csvw#aboutUrl", type_mapping: "http://www.w3.org/ns/csvw#uriTemplate"),
|
27
|
+
"any" => TermDefinition.new("any", id: "http://www.w3.org/2001/XMLSchema#anyAtomicType", simple: true),
|
28
|
+
"anyAtomicType" => TermDefinition.new("anyAtomicType", id: "http://www.w3.org/2001/XMLSchema#anyAtomicType", simple: true),
|
29
|
+
"anyURI" => TermDefinition.new("anyURI", id: "http://www.w3.org/2001/XMLSchema#anyURI", simple: true),
|
30
|
+
"as" => TermDefinition.new("as", id: "https://www.w3.org/ns/activitystreams#", simple: true, prefix: true),
|
31
|
+
"base" => TermDefinition.new("base", id: "http://www.w3.org/ns/csvw#base"),
|
32
|
+
"base64Binary" => TermDefinition.new("base64Binary", id: "http://www.w3.org/2001/XMLSchema#base64Binary", simple: true),
|
33
|
+
"binary" => TermDefinition.new("binary", id: "http://www.w3.org/2001/XMLSchema#base64Binary", simple: true),
|
34
|
+
"boolean" => TermDefinition.new("boolean", id: "http://www.w3.org/2001/XMLSchema#boolean", simple: true),
|
35
|
+
"byte" => TermDefinition.new("byte", id: "http://www.w3.org/2001/XMLSchema#byte", simple: true),
|
36
|
+
"cc" => TermDefinition.new("cc", id: "http://creativecommons.org/ns#", simple: true, prefix: true),
|
37
|
+
"columnReference" => TermDefinition.new("columnReference", id: "http://www.w3.org/ns/csvw#columnReference", container_mapping: "@list"),
|
38
|
+
"columns" => TermDefinition.new("columns", id: "http://www.w3.org/ns/csvw#column", type_mapping: "@id", container_mapping: "@list"),
|
39
|
+
"commentPrefix" => TermDefinition.new("commentPrefix", id: "http://www.w3.org/ns/csvw#commentPrefix"),
|
40
|
+
"csvw" => TermDefinition.new("csvw", id: "http://www.w3.org/ns/csvw#", simple: true, prefix: true),
|
41
|
+
"ctag" => TermDefinition.new("ctag", id: "http://commontag.org/ns#", simple: true, prefix: true),
|
42
|
+
"datatype" => TermDefinition.new("datatype", id: "http://www.w3.org/ns/csvw#datatype", type_mapping: "@vocab"),
|
43
|
+
"date" => TermDefinition.new("date", id: "http://www.w3.org/2001/XMLSchema#date", simple: true),
|
44
|
+
"dateTime" => TermDefinition.new("dateTime", id: "http://www.w3.org/2001/XMLSchema#dateTime", simple: true),
|
45
|
+
"dateTimeStamp" => TermDefinition.new("dateTimeStamp", id: "http://www.w3.org/2001/XMLSchema#dateTimeStamp", simple: true),
|
46
|
+
"datetime" => TermDefinition.new("datetime", id: "http://www.w3.org/2001/XMLSchema#dateTime", simple: true),
|
47
|
+
"dayTimeDuration" => TermDefinition.new("dayTimeDuration", id: "http://www.w3.org/2001/XMLSchema#dayTimeDuration", simple: true),
|
48
|
+
"dc" => TermDefinition.new("dc", id: "http://purl.org/dc/terms/", simple: true, prefix: true),
|
49
|
+
"dc11" => TermDefinition.new("dc11", id: "http://purl.org/dc/elements/1.1/", simple: true, prefix: true),
|
50
|
+
"dcat" => TermDefinition.new("dcat", id: "http://www.w3.org/ns/dcat#", simple: true, prefix: true),
|
51
|
+
"dcterms" => TermDefinition.new("dcterms", id: "http://purl.org/dc/terms/", simple: true, prefix: true),
|
52
|
+
"dctypes" => TermDefinition.new("dctypes", id: "http://purl.org/dc/dcmitype/", simple: true, prefix: true),
|
53
|
+
"decimal" => TermDefinition.new("decimal", id: "http://www.w3.org/2001/XMLSchema#decimal", simple: true),
|
54
|
+
"decimalChar" => TermDefinition.new("decimalChar", id: "http://www.w3.org/ns/csvw#decimalChar"),
|
55
|
+
"default" => TermDefinition.new("default", id: "http://www.w3.org/ns/csvw#default"),
|
56
|
+
"delimiter" => TermDefinition.new("delimiter", id: "http://www.w3.org/ns/csvw#delimiter"),
|
57
|
+
"describedby" => TermDefinition.new("describedby", id: "http://www.w3.org/2007/05/powder-s#describedby", simple: true),
|
58
|
+
"describes" => TermDefinition.new("describes", id: "http://www.w3.org/ns/csvw#describes"),
|
59
|
+
"dialect" => TermDefinition.new("dialect", id: "http://www.w3.org/ns/csvw#dialect", type_mapping: "@id"),
|
60
|
+
"double" => TermDefinition.new("double", id: "http://www.w3.org/2001/XMLSchema#double", simple: true),
|
61
|
+
"doubleQuote" => TermDefinition.new("doubleQuote", id: "http://www.w3.org/ns/csvw#doubleQuote", type_mapping: "http://www.w3.org/2001/XMLSchema#boolean"),
|
62
|
+
"dqv" => TermDefinition.new("dqv", id: "http://www.w3.org/ns/dqv#", simple: true, prefix: true),
|
63
|
+
"duration" => TermDefinition.new("duration", id: "http://www.w3.org/2001/XMLSchema#duration", simple: true),
|
64
|
+
"duv" => TermDefinition.new("duv", id: "https://www.w3.org/TR/vocab-duv#", simple: true, prefix: true),
|
65
|
+
"encoding" => TermDefinition.new("encoding", id: "http://www.w3.org/ns/csvw#encoding"),
|
66
|
+
"float" => TermDefinition.new("float", id: "http://www.w3.org/2001/XMLSchema#float", simple: true),
|
67
|
+
"foaf" => TermDefinition.new("foaf", id: "http://xmlns.com/foaf/0.1/", simple: true, prefix: true),
|
68
|
+
"foreignKeys" => TermDefinition.new("foreignKeys", id: "http://www.w3.org/ns/csvw#foreignKey", type_mapping: "@id"),
|
69
|
+
"format" => TermDefinition.new("format", id: "http://www.w3.org/ns/csvw#format"),
|
70
|
+
"gDay" => TermDefinition.new("gDay", id: "http://www.w3.org/2001/XMLSchema#gDay", simple: true),
|
71
|
+
"gMonth" => TermDefinition.new("gMonth", id: "http://www.w3.org/2001/XMLSchema#gMonth", simple: true),
|
72
|
+
"gMonthDay" => TermDefinition.new("gMonthDay", id: "http://www.w3.org/2001/XMLSchema#gMonthDay", simple: true),
|
73
|
+
"gYear" => TermDefinition.new("gYear", id: "http://www.w3.org/2001/XMLSchema#gYear", simple: true),
|
74
|
+
"gYearMonth" => TermDefinition.new("gYearMonth", id: "http://www.w3.org/2001/XMLSchema#gYearMonth", simple: true),
|
75
|
+
"gr" => TermDefinition.new("gr", id: "http://purl.org/goodrelations/v1#", simple: true, prefix: true),
|
76
|
+
"grddl" => TermDefinition.new("grddl", id: "http://www.w3.org/2003/g/data-view#", simple: true, prefix: true),
|
77
|
+
"groupChar" => TermDefinition.new("groupChar", id: "http://www.w3.org/ns/csvw#groupChar", type_mapping: "NumericFormat,xsd:string"),
|
78
|
+
"header" => TermDefinition.new("header", id: "http://www.w3.org/ns/csvw#header", type_mapping: "http://www.w3.org/2001/XMLSchema#boolean"),
|
79
|
+
"headerRowCount" => TermDefinition.new("headerRowCount", id: "http://www.w3.org/ns/csvw#headerRowCount", type_mapping: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"),
|
80
|
+
"hexBinary" => TermDefinition.new("hexBinary", id: "http://www.w3.org/2001/XMLSchema#hexBinary", simple: true),
|
81
|
+
"html" => TermDefinition.new("html", id: "http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML", simple: true),
|
82
|
+
"ical" => TermDefinition.new("ical", id: "http://www.w3.org/2002/12/cal/icaltzd#", simple: true, prefix: true),
|
83
|
+
"int" => TermDefinition.new("int", id: "http://www.w3.org/2001/XMLSchema#int", simple: true),
|
84
|
+
"integer" => TermDefinition.new("integer", id: "http://www.w3.org/2001/XMLSchema#integer", simple: true),
|
85
|
+
"json" => TermDefinition.new("json", id: "http://www.w3.org/ns/csvw#JSON", simple: true),
|
86
|
+
"lang" => TermDefinition.new("lang", id: "http://www.w3.org/ns/csvw#lang"),
|
87
|
+
"language" => TermDefinition.new("language", id: "http://www.w3.org/2001/XMLSchema#language", simple: true),
|
88
|
+
"ldp" => TermDefinition.new("ldp", id: "http://www.w3.org/ns/ldp#", simple: true, prefix: true),
|
89
|
+
"length" => TermDefinition.new("length", id: "http://www.w3.org/ns/csvw#length", type_mapping: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"),
|
90
|
+
"license" => TermDefinition.new("license", id: "http://www.w3.org/1999/xhtml/vocab#license", simple: true),
|
91
|
+
"lineTerminators" => TermDefinition.new("lineTerminators", id: "http://www.w3.org/ns/csvw#lineTerminators"),
|
92
|
+
"long" => TermDefinition.new("long", id: "http://www.w3.org/2001/XMLSchema#long", simple: true),
|
93
|
+
"ma" => TermDefinition.new("ma", id: "http://www.w3.org/ns/ma-ont#", simple: true, prefix: true),
|
94
|
+
"maxExclusive" => TermDefinition.new("maxExclusive", id: "http://www.w3.org/ns/csvw#maxExclusive", type_mapping: "http://www.w3.org/2001/XMLSchema#integer"),
|
95
|
+
"maxInclusive" => TermDefinition.new("maxInclusive", id: "http://www.w3.org/ns/csvw#maxInclusive", type_mapping: "http://www.w3.org/2001/XMLSchema#integer"),
|
96
|
+
"maxLength" => TermDefinition.new("maxLength", id: "http://www.w3.org/ns/csvw#maxLength", type_mapping: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"),
|
97
|
+
"maximum" => TermDefinition.new("maximum", id: "http://www.w3.org/ns/csvw#maxInclusive", simple: true),
|
98
|
+
"minExclusive" => TermDefinition.new("minExclusive", id: "http://www.w3.org/ns/csvw#minExclusive", type_mapping: "http://www.w3.org/2001/XMLSchema#integer"),
|
99
|
+
"minInclusive" => TermDefinition.new("minInclusive", id: "http://www.w3.org/ns/csvw#minInclusive", type_mapping: "http://www.w3.org/2001/XMLSchema#integer"),
|
100
|
+
"minLength" => TermDefinition.new("minLength", id: "http://www.w3.org/ns/csvw#minLength", type_mapping: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"),
|
101
|
+
"minimum" => TermDefinition.new("minimum", id: "http://www.w3.org/ns/csvw#minInclusive", simple: true),
|
102
|
+
"name" => TermDefinition.new("name", id: "http://www.w3.org/ns/csvw#name"),
|
103
|
+
"negativeInteger" => TermDefinition.new("negativeInteger", id: "http://www.w3.org/2001/XMLSchema#negativeInteger", simple: true),
|
104
|
+
"nonNegativeInteger" => TermDefinition.new("nonNegativeInteger", id: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger", simple: true),
|
105
|
+
"nonPositiveInteger" => TermDefinition.new("nonPositiveInteger", id: "http://www.w3.org/2001/XMLSchema#nonPositiveInteger", simple: true),
|
106
|
+
"normalizedString" => TermDefinition.new("normalizedString", id: "http://www.w3.org/2001/XMLSchema#normalizedString", simple: true),
|
107
|
+
"notes" => TermDefinition.new("notes", id: "http://www.w3.org/ns/csvw#note"),
|
108
|
+
"null" => TermDefinition.new("null", id: "http://www.w3.org/ns/csvw#null"),
|
109
|
+
"number" => TermDefinition.new("number", id: "http://www.w3.org/2001/XMLSchema#double", simple: true),
|
110
|
+
"oa" => TermDefinition.new("oa", id: "http://www.w3.org/ns/oa#", simple: true, prefix: true),
|
111
|
+
"og" => TermDefinition.new("og", id: "http://ogp.me/ns#", simple: true, prefix: true),
|
112
|
+
"ordered" => TermDefinition.new("ordered", id: "http://www.w3.org/ns/csvw#ordered", type_mapping: "http://www.w3.org/2001/XMLSchema#boolean"),
|
113
|
+
"org" => TermDefinition.new("org", id: "http://www.w3.org/ns/org#", simple: true, prefix: true),
|
114
|
+
"owl" => TermDefinition.new("owl", id: "http://www.w3.org/2002/07/owl#", simple: true, prefix: true),
|
115
|
+
"pattern" => TermDefinition.new("pattern", id: "http://www.w3.org/ns/csvw#pattern"),
|
116
|
+
"positiveInteger" => TermDefinition.new("positiveInteger", id: "http://www.w3.org/2001/XMLSchema#positiveInteger", simple: true),
|
117
|
+
"primaryKey" => TermDefinition.new("primaryKey", id: "http://www.w3.org/ns/csvw#primaryKey"),
|
118
|
+
"propertyUrl" => TermDefinition.new("propertyUrl", id: "http://www.w3.org/ns/csvw#propertyUrl", type_mapping: "http://www.w3.org/ns/csvw#uriTemplate"),
|
119
|
+
"prov" => TermDefinition.new("prov", id: "http://www.w3.org/ns/prov#", simple: true, prefix: true),
|
120
|
+
"qb" => TermDefinition.new("qb", id: "http://purl.org/linked-data/cube#", simple: true, prefix: true),
|
121
|
+
"quoteChar" => TermDefinition.new("quoteChar", id: "http://www.w3.org/ns/csvw#quoteChar"),
|
122
|
+
"rdf" => TermDefinition.new("rdf", id: "http://www.w3.org/1999/02/22-rdf-syntax-ns#", simple: true, prefix: true),
|
123
|
+
"rdfa" => TermDefinition.new("rdfa", id: "http://www.w3.org/ns/rdfa#", simple: true, prefix: true),
|
124
|
+
"rdfs" => TermDefinition.new("rdfs", id: "http://www.w3.org/2000/01/rdf-schema#", simple: true, prefix: true),
|
125
|
+
"reference" => TermDefinition.new("reference", id: "http://www.w3.org/ns/csvw#reference", type_mapping: "@id"),
|
126
|
+
"referencedRows" => TermDefinition.new("referencedRows", id: "http://www.w3.org/ns/csvw#referencedRow"),
|
127
|
+
"required" => TermDefinition.new("required", id: "http://www.w3.org/ns/csvw#required", type_mapping: "http://www.w3.org/2001/XMLSchema#boolean"),
|
128
|
+
"resource" => TermDefinition.new("resource", id: "http://www.w3.org/ns/csvw#resource", type_mapping: "http://www.w3.org/2001/XMLSchema#anyURI"),
|
129
|
+
"rev" => TermDefinition.new("rev", id: "http://purl.org/stuff/rev#", simple: true, prefix: true),
|
130
|
+
"rif" => TermDefinition.new("rif", id: "http://www.w3.org/2007/rif#", simple: true, prefix: true),
|
131
|
+
"role" => TermDefinition.new("role", id: "http://www.w3.org/1999/xhtml/vocab#role", simple: true),
|
132
|
+
"row" => TermDefinition.new("row", id: "http://www.w3.org/ns/csvw#row", type_mapping: "@id", container_mapping: "@set"),
|
133
|
+
"rowTitles" => TermDefinition.new("rowTitles", id: "http://www.w3.org/ns/csvw#rowTitle"),
|
134
|
+
"rownum" => TermDefinition.new("rownum", id: "http://www.w3.org/ns/csvw#rownum", type_mapping: "http://www.w3.org/2001/XMLSchema#integer"),
|
135
|
+
"rr" => TermDefinition.new("rr", id: "http://www.w3.org/ns/r2rml#", simple: true, prefix: true),
|
136
|
+
"schema" => TermDefinition.new("schema", id: "http://schema.org/", simple: true, prefix: true),
|
137
|
+
"schemaReference" => TermDefinition.new("schemaReference", id: "http://www.w3.org/ns/csvw#schemaReference", type_mapping: "http://www.w3.org/2001/XMLSchema#anyURI"),
|
138
|
+
"scriptFormat" => TermDefinition.new("scriptFormat", id: "http://www.w3.org/ns/csvw#scriptFormat", type_mapping: "http://www.w3.org/2001/XMLSchema#anyURI"),
|
139
|
+
"sd" => TermDefinition.new("sd", id: "http://www.w3.org/ns/sparql-service-description#", simple: true, prefix: true),
|
140
|
+
"separator" => TermDefinition.new("separator", id: "http://www.w3.org/ns/csvw#separator"),
|
141
|
+
"short" => TermDefinition.new("short", id: "http://www.w3.org/2001/XMLSchema#short", simple: true),
|
142
|
+
"sioc" => TermDefinition.new("sioc", id: "http://rdfs.org/sioc/ns#", simple: true, prefix: true),
|
143
|
+
"skipBlankRows" => TermDefinition.new("skipBlankRows", id: "http://www.w3.org/ns/csvw#skipBlankRows", type_mapping: "http://www.w3.org/2001/XMLSchema#boolean"),
|
144
|
+
"skipColumns" => TermDefinition.new("skipColumns", id: "http://www.w3.org/ns/csvw#skipColumns", type_mapping: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"),
|
145
|
+
"skipInitialSpace" => TermDefinition.new("skipInitialSpace", id: "http://www.w3.org/ns/csvw#skipInitialSpace", type_mapping: "http://www.w3.org/2001/XMLSchema#boolean"),
|
146
|
+
"skipRows" => TermDefinition.new("skipRows", id: "http://www.w3.org/ns/csvw#skipRows", type_mapping: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"),
|
147
|
+
"skos" => TermDefinition.new("skos", id: "http://www.w3.org/2004/02/skos/core#", simple: true, prefix: true),
|
148
|
+
"skosxl" => TermDefinition.new("skosxl", id: "http://www.w3.org/2008/05/skos-xl#", simple: true, prefix: true),
|
149
|
+
"source" => TermDefinition.new("source", id: "http://www.w3.org/ns/csvw#source"),
|
150
|
+
"string" => TermDefinition.new("string", id: "http://www.w3.org/2001/XMLSchema#string", simple: true),
|
151
|
+
"suppressOutput" => TermDefinition.new("suppressOutput", id: "http://www.w3.org/ns/csvw#suppressOutput", type_mapping: "http://www.w3.org/2001/XMLSchema#boolean"),
|
152
|
+
"tableDirection" => TermDefinition.new("tableDirection", id: "http://www.w3.org/ns/csvw#tableDirection", type_mapping: "@vocab"),
|
153
|
+
"tableSchema" => TermDefinition.new("tableSchema", id: "http://www.w3.org/ns/csvw#tableSchema", type_mapping: "@id"),
|
154
|
+
"tables" => TermDefinition.new("tables", id: "http://www.w3.org/ns/csvw#table", type_mapping: "@id", container_mapping: "@set"),
|
155
|
+
"targetFormat" => TermDefinition.new("targetFormat", id: "http://www.w3.org/ns/csvw#targetFormat", type_mapping: "http://www.w3.org/2001/XMLSchema#anyURI"),
|
156
|
+
"textDirection" => TermDefinition.new("textDirection", id: "http://www.w3.org/ns/csvw#textDirection", type_mapping: "@vocab"),
|
157
|
+
"time" => TermDefinition.new("time", id: "http://www.w3.org/2001/XMLSchema#time", simple: true),
|
158
|
+
"titles" => TermDefinition.new("titles", id: "http://www.w3.org/ns/csvw#title", container_mapping: "@language"),
|
159
|
+
"token" => TermDefinition.new("token", id: "http://www.w3.org/2001/XMLSchema#token", simple: true),
|
160
|
+
"transformations" => TermDefinition.new("transformations", id: "http://www.w3.org/ns/csvw#transformations", type_mapping: "@id"),
|
161
|
+
"trim" => TermDefinition.new("trim", id: "http://www.w3.org/ns/csvw#trim", type_mapping: "http://www.w3.org/2001/XMLSchema#boolean"),
|
162
|
+
"unsignedByte" => TermDefinition.new("unsignedByte", id: "http://www.w3.org/2001/XMLSchema#unsignedByte", simple: true),
|
163
|
+
"unsignedInt" => TermDefinition.new("unsignedInt", id: "http://www.w3.org/2001/XMLSchema#unsignedInt", simple: true),
|
164
|
+
"unsignedLong" => TermDefinition.new("unsignedLong", id: "http://www.w3.org/2001/XMLSchema#unsignedLong", simple: true),
|
165
|
+
"unsignedShort" => TermDefinition.new("unsignedShort", id: "http://www.w3.org/2001/XMLSchema#unsignedShort", simple: true),
|
166
|
+
"uriTemplate" => TermDefinition.new("uriTemplate", id: "http://www.w3.org/ns/csvw#uriTemplate", simple: true),
|
167
|
+
"url" => TermDefinition.new("url", id: "http://www.w3.org/ns/csvw#url", type_mapping: "http://www.w3.org/2001/XMLSchema#anyURI"),
|
168
|
+
"v" => TermDefinition.new("v", id: "http://rdf.data-vocabulary.org/#", simple: true, prefix: true),
|
169
|
+
"valueUrl" => TermDefinition.new("valueUrl", id: "http://www.w3.org/ns/csvw#valueUrl", type_mapping: "http://www.w3.org/ns/csvw#uriTemplate"),
|
170
|
+
"vcard" => TermDefinition.new("vcard", id: "http://www.w3.org/2006/vcard/ns#", simple: true, prefix: true),
|
171
|
+
"virtual" => TermDefinition.new("virtual", id: "http://www.w3.org/ns/csvw#virtual", type_mapping: "http://www.w3.org/2001/XMLSchema#boolean"),
|
172
|
+
"void" => TermDefinition.new("void", id: "http://rdfs.org/ns/void#", simple: true, prefix: true),
|
173
|
+
"wdr" => TermDefinition.new("wdr", id: "http://www.w3.org/2007/05/powder#", simple: true, prefix: true),
|
174
|
+
"wrds" => TermDefinition.new("wrds", id: "http://www.w3.org/2007/05/powder-s#", simple: true, prefix: true),
|
175
|
+
"xhv" => TermDefinition.new("xhv", id: "http://www.w3.org/1999/xhtml/vocab#", simple: true, prefix: true),
|
176
|
+
"xml" => TermDefinition.new("xml", id: "http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral", simple: true),
|
177
|
+
"xsd" => TermDefinition.new("xsd", id: "http://www.w3.org/2001/XMLSchema#", simple: true, prefix: true),
|
178
|
+
"yearMonthDuration" => TermDefinition.new("yearMonthDuration", id: "http://www.w3.org/2001/XMLSchema#yearMonthDuration", simple: true)
|
179
|
+
})
|
180
|
+
end
|
181
|
+
alias_preloaded("https://www.w3.org/ns/csvw", "http://www.w3.org/ns/csvw")
|
182
|
+
end
|