json-ld-preloaded 2.2.3
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 +116 -0
- data/UNLICENSE +24 -0
- data/VERSION +1 -0
- data/lib/json/ld/preloaded.rb +24 -0
- data/lib/json/ld/preloaded/actions.rb +0 -0
- data/lib/json/ld/preloaded/activitystreams.rb +154 -0
- data/lib/json/ld/preloaded/csvw.rb +181 -0
- data/lib/json/ld/preloaded/datacube.rb +52 -0
- data/lib/json/ld/preloaded/entityfacts.rb +62 -0
- data/lib/json/ld/preloaded/foaf.rb +24 -0
- data/lib/json/ld/preloaded/geojson.rb +27 -0
- data/lib/json/ld/preloaded/hydra.rb +76 -0
- data/lib/json/ld/preloaded/identity.rb +86 -0
- data/lib/json/ld/preloaded/iiif.rb +53 -0
- data/lib/json/ld/preloaded/lov.rb +631 -0
- data/lib/json/ld/preloaded/oa.rb +34 -0
- data/lib/json/ld/preloaded/obi.rb +104 -0
- data/lib/json/ld/preloaded/prefix.rb +2073 -0
- data/lib/json/ld/preloaded/presentation.rb +90 -0
- data/lib/json/ld/preloaded/rdfa.rb +62 -0
- data/lib/json/ld/preloaded/research.rb +55 -0
- data/lib/json/ld/preloaded/schema.rb +2276 -0
- data/lib/json/ld/preloaded/vcard.rb +158 -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 +188 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 95aab7598ccb6cc31a47086e8bb10ae9edf01edf
|
4
|
+
data.tar.gz: eb294037a94f9a0cf298b560b130e67078692316
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d1865a8a6fa21223ca4f3950cd112045b451704887dc3a872de4a200284db02eb005ee4354ed5e9d24b488a62284ef935207710006b5e37381bc854b638ef51d
|
7
|
+
data.tar.gz: cceb5fed19186ae5688217d830e284266faf64b1a89641fdc01815693c35698af0d585662aecbf11a8976f4334cfb42af2626a3f721414b2b9378a472179647f
|
data/AUTHORS
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
* Gregg Kellogg <gregg@kellogg-assoc.com>
|
data/README.md
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
# JSON-LD Preloaded
|
2
|
+
JSON-LD with preloaded contexts.
|
3
|
+
|
4
|
+
[![Gem Version](https://badge.fury.io/rb/json-ld-preloaded.png)](http://badge.fury.io/rb/json-ld-preloaded)
|
5
|
+
[![Build Status](https://secure.travis-ci.org/ruby-rdf/json-ld-preloaded.png?branch=master)](http://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": "http://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": "http://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](http://ruby-lang.org/) (>= 2.2.2)
|
78
|
+
* [JSON::LD](http://rubygems.org/gems/json-ld) (>= 2.0.3)
|
79
|
+
|
80
|
+
## Mailing List
|
81
|
+
* <http://lists.w3.org/Archives/Public/public-rdf-ruby/>
|
82
|
+
|
83
|
+
## Author
|
84
|
+
* [Gregg Kellogg](http://github.com/gkellogg) - <http://kellogg-assoc.com/>
|
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
|
+
|
102
|
+
This is free and unencumbered public domain software. For more information,
|
103
|
+
see <http://unlicense.org/> or the accompanying {file:UNLICENSE} file.
|
104
|
+
|
105
|
+
[Ruby]: http://ruby-lang.org/
|
106
|
+
[RDF]: http://www.w3.org/RDF/
|
107
|
+
[YARD]: http://yardoc.org/
|
108
|
+
[YARD-GS]: http://rubydoc.info/docs/yard/file/docs/GettingStarted.md
|
109
|
+
[PDD]: http://lists.w3.org/Archives/Public/public-rdf-ruby/2010May/0013.html
|
110
|
+
[RDF.rb]: http://rubygems.org/gems/rdf
|
111
|
+
[Backports]: http://rubygems.org/gems/backports
|
112
|
+
[JSON-LD]: http://www.w3.org/TR/json-ld/ "JSON-LD 1.0"
|
113
|
+
[JSON-LD API]: http://www.w3.org/TR/json-ld-api/ "JSON-LD 1.0 Processing Algorithms and API"
|
114
|
+
[JSON-LD Framing]: http://json-ld.org/spec/latest/json-ld-framing/ "JSON-LD Framing 1.0"
|
115
|
+
[Promises]: http://dom.spec.whatwg.org/#promises
|
116
|
+
[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
|
+
2.2.3
|
@@ -0,0 +1,24 @@
|
|
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/lov.rb"
|
18
|
+
load "json/ld/preloaded/oa.rb"
|
19
|
+
load "json/ld/preloaded/prefix.rb"
|
20
|
+
load "json/ld/preloaded/presentation.rb"
|
21
|
+
load "json/ld/preloaded/rdfa.rb"
|
22
|
+
load "json/ld/preloaded/research.rb"
|
23
|
+
load "json/ld/preloaded/schema.rb"
|
24
|
+
load "json/ld/preloaded/vcard.rb"
|
File without changes
|
@@ -0,0 +1,154 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
# frozen_string_literal: true
|
3
|
+
# This file generated automatically from https://www.w3.org/ns/activitystreams
|
4
|
+
require 'json/ld'
|
5
|
+
class JSON::LD::Context
|
6
|
+
add_preloaded("https://www.w3.org/ns/activitystreams") do
|
7
|
+
new(vocab: "_:", processingMode: "json-ld-1.0", 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
|
+
"location" => TermDefinition.new("location", id: "https://www.w3.org/ns/activitystreams#location", type_mapping: "@id"),
|
108
|
+
"longitude" => TermDefinition.new("longitude", id: "https://www.w3.org/ns/activitystreams#longitude", type_mapping: "http://www.w3.org/2001/XMLSchema#float"),
|
109
|
+
"mediaType" => TermDefinition.new("mediaType", id: "https://www.w3.org/ns/activitystreams#mediaType", simple: true),
|
110
|
+
"name" => TermDefinition.new("name", id: "https://www.w3.org/ns/activitystreams#name", simple: true),
|
111
|
+
"nameMap" => TermDefinition.new("nameMap", id: "https://www.w3.org/ns/activitystreams#name", container_mapping: "@language"),
|
112
|
+
"next" => TermDefinition.new("next", id: "https://www.w3.org/ns/activitystreams#next", type_mapping: "@id"),
|
113
|
+
"oauthAuthorizationEndpoint" => TermDefinition.new("oauthAuthorizationEndpoint", id: "https://www.w3.org/ns/activitystreams#oauthAuthorizationEndpoint", type_mapping: "@id"),
|
114
|
+
"oauthTokenEndpoint" => TermDefinition.new("oauthTokenEndpoint", id: "https://www.w3.org/ns/activitystreams#oauthTokenEndpoint", type_mapping: "@id"),
|
115
|
+
"object" => TermDefinition.new("object", id: "https://www.w3.org/ns/activitystreams#object", type_mapping: "@id"),
|
116
|
+
"oneOf" => TermDefinition.new("oneOf", id: "https://www.w3.org/ns/activitystreams#oneOf", type_mapping: "@id"),
|
117
|
+
"orderedItems" => TermDefinition.new("orderedItems", id: "https://www.w3.org/ns/activitystreams#items", type_mapping: "@id", container_mapping: "@list"),
|
118
|
+
"origin" => TermDefinition.new("origin", id: "https://www.w3.org/ns/activitystreams#origin", type_mapping: "@id"),
|
119
|
+
"outbox" => TermDefinition.new("outbox", id: "https://www.w3.org/ns/activitystreams#outbox", type_mapping: "@id"),
|
120
|
+
"partOf" => TermDefinition.new("partOf", id: "https://www.w3.org/ns/activitystreams#partOf", type_mapping: "@id"),
|
121
|
+
"preferredUsername" => TermDefinition.new("preferredUsername", id: "https://www.w3.org/ns/activitystreams#preferredUsername", simple: true),
|
122
|
+
"prev" => TermDefinition.new("prev", id: "https://www.w3.org/ns/activitystreams#prev", type_mapping: "@id"),
|
123
|
+
"preview" => TermDefinition.new("preview", id: "https://www.w3.org/ns/activitystreams#preview", type_mapping: "@id"),
|
124
|
+
"provideClientKey" => TermDefinition.new("provideClientKey", id: "https://www.w3.org/ns/activitystreams#provideClientKey", type_mapping: "@id"),
|
125
|
+
"proxyUrl" => TermDefinition.new("proxyUrl", id: "https://www.w3.org/ns/activitystreams#proxyUrl", type_mapping: "@id"),
|
126
|
+
"published" => TermDefinition.new("published", id: "https://www.w3.org/ns/activitystreams#published", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
|
127
|
+
"radius" => TermDefinition.new("radius", id: "https://www.w3.org/ns/activitystreams#radius", type_mapping: "http://www.w3.org/2001/XMLSchema#float"),
|
128
|
+
"rel" => TermDefinition.new("rel", id: "https://www.w3.org/ns/activitystreams#rel", simple: true),
|
129
|
+
"relationship" => TermDefinition.new("relationship", id: "https://www.w3.org/ns/activitystreams#relationship", type_mapping: "@id"),
|
130
|
+
"replies" => TermDefinition.new("replies", id: "https://www.w3.org/ns/activitystreams#replies", type_mapping: "@id"),
|
131
|
+
"result" => TermDefinition.new("result", id: "https://www.w3.org/ns/activitystreams#result", type_mapping: "@id"),
|
132
|
+
"sharedInbox" => TermDefinition.new("sharedInbox", id: "https://www.w3.org/ns/activitystreams#sharedInbox", type_mapping: "@id"),
|
133
|
+
"signClientKey" => TermDefinition.new("signClientKey", id: "https://www.w3.org/ns/activitystreams#signClientKey", type_mapping: "@id"),
|
134
|
+
"source" => TermDefinition.new("source", id: "https://www.w3.org/ns/activitystreams#source", simple: true),
|
135
|
+
"startIndex" => TermDefinition.new("startIndex", id: "https://www.w3.org/ns/activitystreams#startIndex", type_mapping: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"),
|
136
|
+
"startTime" => TermDefinition.new("startTime", id: "https://www.w3.org/ns/activitystreams#startTime", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
|
137
|
+
"streams" => TermDefinition.new("streams", id: "https://www.w3.org/ns/activitystreams#streams", type_mapping: "@id"),
|
138
|
+
"subject" => TermDefinition.new("subject", id: "https://www.w3.org/ns/activitystreams#subject", type_mapping: "@id"),
|
139
|
+
"summary" => TermDefinition.new("summary", id: "https://www.w3.org/ns/activitystreams#summary", simple: true),
|
140
|
+
"summaryMap" => TermDefinition.new("summaryMap", id: "https://www.w3.org/ns/activitystreams#summary", container_mapping: "@language"),
|
141
|
+
"tag" => TermDefinition.new("tag", id: "https://www.w3.org/ns/activitystreams#tag", type_mapping: "@id"),
|
142
|
+
"target" => TermDefinition.new("target", id: "https://www.w3.org/ns/activitystreams#target", type_mapping: "@id"),
|
143
|
+
"to" => TermDefinition.new("to", id: "https://www.w3.org/ns/activitystreams#to", type_mapping: "@id"),
|
144
|
+
"totalItems" => TermDefinition.new("totalItems", id: "https://www.w3.org/ns/activitystreams#totalItems", type_mapping: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"),
|
145
|
+
"type" => TermDefinition.new("type", id: "@type", simple: true),
|
146
|
+
"units" => TermDefinition.new("units", id: "https://www.w3.org/ns/activitystreams#units", simple: true),
|
147
|
+
"updated" => TermDefinition.new("updated", id: "https://www.w3.org/ns/activitystreams#updated", type_mapping: "http://www.w3.org/2001/XMLSchema#dateTime"),
|
148
|
+
"uploadMedia" => TermDefinition.new("uploadMedia", id: "https://www.w3.org/ns/activitystreams#uploadMedia", type_mapping: "@id"),
|
149
|
+
"url" => TermDefinition.new("url", id: "https://www.w3.org/ns/activitystreams#url", type_mapping: "@id"),
|
150
|
+
"width" => TermDefinition.new("width", id: "https://www.w3.org/ns/activitystreams#width", type_mapping: "http://www.w3.org/2001/XMLSchema#nonNegativeInteger"),
|
151
|
+
"xsd" => TermDefinition.new("xsd", id: "http://www.w3.org/2001/XMLSchema#", simple: true, prefix: true)
|
152
|
+
})
|
153
|
+
end
|
154
|
+
end
|
@@ -0,0 +1,181 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
# frozen_string_literal: true
|
3
|
+
# This file generated automatically from https://www.w3.org/ns/csvw
|
4
|
+
require 'json/ld'
|
5
|
+
class JSON::LD::Context
|
6
|
+
add_preloaded("https://www.w3.org/ns/csvw") do
|
7
|
+
new(processingMode: "json-ld-1.0", 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
|
+
end
|