chronicle-core 0.2.2 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rspec.yml +1 -1
- data/.gitignore +3 -1
- data/.rubocop-plugin.yml +4 -0
- data/.rubocop.yml +16 -2
- data/Gemfile +2 -2
- data/Guardfile +3 -3
- data/LICENSE.txt +1 -1
- data/README.md +87 -2
- data/Rakefile +63 -1
- data/bin/console +6 -6
- data/chronicle-core.gemspec +32 -26
- data/lib/chronicle/core/version.rb +1 -3
- data/lib/chronicle/core.rb +1 -3
- data/lib/chronicle/models/base.rb +96 -0
- data/lib/chronicle/models/builder.rb +35 -0
- data/lib/chronicle/models/generation.rb +89 -0
- data/lib/chronicle/models/model_factory.rb +65 -0
- data/lib/chronicle/models.rb +17 -0
- data/lib/chronicle/schema/rdf_parsing/graph_transformer.rb +122 -0
- data/lib/chronicle/schema/rdf_parsing/rdf_serializer.rb +138 -0
- data/lib/chronicle/schema/rdf_parsing/schemaorg.rb +47 -0
- data/lib/chronicle/schema/rdf_parsing/ttl_graph_builder.rb +142 -0
- data/lib/chronicle/schema/rdf_parsing.rb +11 -0
- data/lib/chronicle/schema/schema_graph.rb +145 -0
- data/lib/chronicle/schema/schema_property.rb +81 -0
- data/lib/chronicle/schema/schema_type.rb +110 -0
- data/lib/chronicle/schema/types.rb +9 -0
- data/lib/chronicle/schema/validation/base_contract.rb +22 -0
- data/lib/chronicle/schema/validation/contract_factory.rb +133 -0
- data/lib/chronicle/schema/validation/edge_validator.rb +53 -0
- data/lib/chronicle/schema/validation/generation.rb +29 -0
- data/lib/chronicle/schema/validation/validator.rb +23 -0
- data/lib/chronicle/schema/validation.rb +41 -0
- data/lib/chronicle/schema.rb +9 -2
- data/lib/chronicle/serialization/hash_serializer.rb +5 -11
- data/lib/chronicle/serialization/jsonapi_serializer.rb +41 -26
- data/lib/chronicle/serialization/jsonld_serializer.rb +38 -0
- data/lib/chronicle/serialization/record.rb +90 -0
- data/lib/chronicle/serialization/serializer.rb +31 -18
- data/lib/chronicle/serialization.rb +6 -4
- data/lib/chronicle/utils/hash_utils.rb +19 -16
- data/schema/chronicle_schema_v1.json +1283 -0
- data/schema/chronicle_schema_v1.rb +183 -0
- data/schema/chronicle_schema_v1.ttl +720 -0
- metadata +107 -15
- data/lib/chronicle/schema/activity.rb +0 -5
- data/lib/chronicle/schema/base.rb +0 -79
- data/lib/chronicle/schema/entity.rb +0 -5
- data/lib/chronicle/schema/raw.rb +0 -9
- data/lib/chronicle/schema/validator.rb +0 -55
@@ -0,0 +1,720 @@
|
|
1
|
+
# This file was generated from schema/chronicle_schema_v1.rb.
|
2
|
+
#
|
3
|
+
# Do not edit this file directly, as it will be overwritten.
|
4
|
+
#
|
5
|
+
# To generate a new version, run `rake generate`
|
6
|
+
|
7
|
+
@prefix : <https://schema.chronicle.app/> .
|
8
|
+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
9
|
+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
10
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
11
|
+
@prefix schemaorg: <https://schema.org/> .
|
12
|
+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
13
|
+
|
14
|
+
:Action a rdfs:Class;
|
15
|
+
rdfs:comment "An action performed by a direct agent and indirect participants upon a direct object. Optionally happens at a location with the help of an inanimate instrument. The execution of the action may produce a result. Specific action sub-type documentation specifies the exact expectation of each argument/role.\\n\\nSee also [blog post](http://blog.schema.org/2014/04/announcing-schemaorg-actions.html) and [Actions overview document](https://schema.org/docs/actions.html).";
|
16
|
+
rdfs:seeAlso schemaorg:Action;
|
17
|
+
rdfs:subClassOf :Thing .
|
18
|
+
|
19
|
+
:AddAction a rdfs:Class;
|
20
|
+
rdfs:comment "The act of editing by adding an object to a collection.";
|
21
|
+
rdfs:seeAlso schemaorg:AddAction;
|
22
|
+
rdfs:subClassOf :UpdateAction .
|
23
|
+
|
24
|
+
:AdministrativeArea a rdfs:Class;
|
25
|
+
rdfs:comment "A geographical region, typically under the jurisdiction of a particular government.";
|
26
|
+
rdfs:seeAlso schemaorg:AdministrativeArea;
|
27
|
+
rdfs:subClassOf :Place .
|
28
|
+
|
29
|
+
:AssessAction a rdfs:Class;
|
30
|
+
rdfs:comment "The act of forming one's opinion, reaction or sentiment.";
|
31
|
+
rdfs:seeAlso schemaorg:AssessAction;
|
32
|
+
rdfs:subClassOf :Action .
|
33
|
+
|
34
|
+
:AudioObject a rdfs:Class;
|
35
|
+
rdfs:comment "An audio file.";
|
36
|
+
rdfs:seeAlso schemaorg:AudioObject;
|
37
|
+
rdfs:subClassOf :MediaObject .
|
38
|
+
|
39
|
+
:Book a rdfs:Class;
|
40
|
+
rdfs:comment "A book.";
|
41
|
+
rdfs:seeAlso schemaorg:Book;
|
42
|
+
rdfs:subClassOf :CreativeWork .
|
43
|
+
|
44
|
+
:Boolean a rdfs:Class;
|
45
|
+
rdfs:comment "Boolean: True or False.";
|
46
|
+
rdfs:seeAlso schemaorg:Boolean;
|
47
|
+
rdfs:subClassOf :DataType .
|
48
|
+
|
49
|
+
:CheckInAction a rdfs:Class;
|
50
|
+
rdfs:comment "The act of an agent communicating (service provider, social media, etc) their arrival by registering/confirming for a previously reserved service (e.g. flight check-in) or at a place (e.g. hotel), possibly resulting in a result (boarding pass, etc).\\n\\nRelated actions:\\n\\n* [[CheckOutAction]]: The antonym of CheckInAction.\\n* [[ArriveAction]]: Unlike ArriveAction, CheckInAction implies that the agent is informing/confirming the start of a previously reserved service.\\n* [[ConfirmAction]]: Unlike ConfirmAction, CheckInAction implies that the agent is informing/confirming the *start* of a previously reserved service rather than its validity/existence.";
|
51
|
+
rdfs:seeAlso schemaorg:CheckInAction;
|
52
|
+
rdfs:subClassOf :CommunicateAction .
|
53
|
+
|
54
|
+
:City a rdfs:Class;
|
55
|
+
rdfs:comment "A city or town.";
|
56
|
+
rdfs:seeAlso schemaorg:City;
|
57
|
+
rdfs:subClassOf :AdministrativeArea .
|
58
|
+
|
59
|
+
:CommunicateAction a rdfs:Class;
|
60
|
+
rdfs:comment "The act of conveying information to another person via a communication medium (instrument) such as speech, email, or telephone conversation.";
|
61
|
+
rdfs:seeAlso schemaorg:CommunicateAction;
|
62
|
+
rdfs:subClassOf :InteractAction .
|
63
|
+
|
64
|
+
:ConsumeAction a rdfs:Class;
|
65
|
+
rdfs:comment "The act of ingesting information/resources/food.";
|
66
|
+
rdfs:seeAlso schemaorg:ConsumeAction;
|
67
|
+
rdfs:subClassOf :Action .
|
68
|
+
|
69
|
+
:ContactPoint a rdfs:Class;
|
70
|
+
rdfs:comment "A contact point—for example, a Customer Complaints department.";
|
71
|
+
rdfs:seeAlso schemaorg:ContactPoint;
|
72
|
+
rdfs:subClassOf :StructuredValue .
|
73
|
+
|
74
|
+
:Country a rdfs:Class;
|
75
|
+
rdfs:comment "A country.";
|
76
|
+
rdfs:seeAlso schemaorg:Country;
|
77
|
+
rdfs:subClassOf :AdministrativeArea .
|
78
|
+
|
79
|
+
:CreativeWork a rdfs:Class;
|
80
|
+
rdfs:comment "The most generic kind of creative work, including books, movies, photographs, software programs, etc.";
|
81
|
+
rdfs:seeAlso schemaorg:CreativeWork;
|
82
|
+
rdfs:subClassOf :Thing .
|
83
|
+
|
84
|
+
:CreativeWorkSeries a rdfs:Class;
|
85
|
+
rdfs:comment """A CreativeWorkSeries in schema.org is a group of related items, typically but not necessarily of the same kind. CreativeWorkSeries are usually organized into some order, often chronological. Unlike [[ItemList]] which is a general purpose data structure for lists of things, the emphasis with CreativeWorkSeries is on published materials (written e.g. books and periodicals, or media such as TV, radio and games).\\n\\nSpecific subtypes are available for describing [[TVSeries]], [[RadioSeries]], [[MovieSeries]], [[BookSeries]], [[Periodical]] and [[VideoGameSeries]]. In each case, the [[hasPart]] / [[isPartOf]] properties can be used to relate the CreativeWorkSeries to its parts. The general CreativeWorkSeries type serves largely just to organize these more specific and practical subtypes.\\n\\nIt is common for properties applicable to an item from the series to be usefully applied to the containing group. Schema.org attempts to anticipate some of these cases, but publishers should be free to apply properties of the series parts to the series as a whole wherever they seem appropriate.
|
86
|
+
""";
|
87
|
+
rdfs:seeAlso schemaorg:CreativeWorkSeries;
|
88
|
+
rdfs:subClassOf :CreativeWork .
|
89
|
+
|
90
|
+
:DataType a rdfs:Class;
|
91
|
+
rdfs:comment "The basic data types such as Integers, Strings, etc.";
|
92
|
+
rdfs:seeAlso schemaorg:DataType .
|
93
|
+
|
94
|
+
:Date a rdfs:Class;
|
95
|
+
rdfs:comment "A date value in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).";
|
96
|
+
rdfs:seeAlso schemaorg:Date;
|
97
|
+
rdfs:subClassOf :DataType .
|
98
|
+
|
99
|
+
:DateTime a rdfs:Class;
|
100
|
+
rdfs:comment "A combination of date and time of day in the form [-]CCYY-MM-DDThh:mm:ss[Z|(+|-)hh:mm] (see Chapter 5.4 of ISO 8601).";
|
101
|
+
rdfs:seeAlso schemaorg:DateTime;
|
102
|
+
rdfs:subClassOf :DataType .
|
103
|
+
|
104
|
+
:Distance a rdfs:Class;
|
105
|
+
rdfs:comment "Properties that take Distances as values are of the form '<Number> <Length unit of measure>'. E.g., '7 ft'.";
|
106
|
+
rdfs:seeAlso schemaorg:Distance;
|
107
|
+
rdfs:subClassOf :Quantity .
|
108
|
+
|
109
|
+
:Duration a rdfs:Class;
|
110
|
+
rdfs:comment "Quantity: Duration (use [ISO 8601 duration format](http://en.wikipedia.org/wiki/ISO_8601)).";
|
111
|
+
rdfs:seeAlso schemaorg:Duration;
|
112
|
+
rdfs:subClassOf :Quantity .
|
113
|
+
|
114
|
+
:Energy a rdfs:Class;
|
115
|
+
rdfs:comment "Properties that take Energy as values are of the form '<Number> <Energy unit of measure>'.";
|
116
|
+
rdfs:seeAlso schemaorg:Energy;
|
117
|
+
rdfs:subClassOf :Quantity .
|
118
|
+
|
119
|
+
:Episode a rdfs:Class;
|
120
|
+
rdfs:comment "A media episode (e.g. TV, radio, video game) which can be part of a series or season.";
|
121
|
+
rdfs:seeAlso schemaorg:Episode;
|
122
|
+
rdfs:subClassOf :CreativeWork .
|
123
|
+
|
124
|
+
:Event a rdfs:Class;
|
125
|
+
rdfs:comment "An event happening at a certain time and location, such as a concert, lecture, or festival. Ticketing information may be added via the [[offers]] property. Repeated events may be structured as separate Event objects.";
|
126
|
+
rdfs:seeAlso schemaorg:Event;
|
127
|
+
rdfs:subClassOf :Thing .
|
128
|
+
|
129
|
+
:Float a rdfs:Class;
|
130
|
+
rdfs:comment "Data type: Floating number.";
|
131
|
+
rdfs:seeAlso schemaorg:Float;
|
132
|
+
rdfs:subClassOf :Number .
|
133
|
+
|
134
|
+
:ImageObject a rdfs:Class;
|
135
|
+
rdfs:comment "An image file.";
|
136
|
+
rdfs:seeAlso schemaorg:ImageObject;
|
137
|
+
rdfs:subClassOf :MediaObject .
|
138
|
+
|
139
|
+
:InsertAction a rdfs:Class;
|
140
|
+
rdfs:comment "The act of adding at a specific location in an ordered collection.";
|
141
|
+
rdfs:seeAlso schemaorg:InsertAction;
|
142
|
+
rdfs:subClassOf :AddAction .
|
143
|
+
|
144
|
+
:Intangible a rdfs:Class;
|
145
|
+
rdfs:comment "A utility class that serves as the umbrella for a number of 'intangible' things such as quantities, structured values, etc.";
|
146
|
+
rdfs:seeAlso schemaorg:Intangible;
|
147
|
+
rdfs:subClassOf :Thing .
|
148
|
+
|
149
|
+
:Integer a rdfs:Class;
|
150
|
+
rdfs:comment "Data type: Integer.";
|
151
|
+
rdfs:seeAlso schemaorg:Integer;
|
152
|
+
rdfs:subClassOf :Number .
|
153
|
+
|
154
|
+
:InteractAction a rdfs:Class;
|
155
|
+
rdfs:comment "The act of interacting with another person or organization.";
|
156
|
+
rdfs:seeAlso schemaorg:InteractAction;
|
157
|
+
rdfs:subClassOf :Action .
|
158
|
+
|
159
|
+
:LikeAction a rdfs:Class;
|
160
|
+
rdfs:comment "The act of expressing a positive sentiment about the object. An agent likes an object (a proposition, topic or theme) with participants.";
|
161
|
+
rdfs:seeAlso schemaorg:LikeAction;
|
162
|
+
rdfs:subClassOf :ReactAction .
|
163
|
+
|
164
|
+
:ListenAction a rdfs:Class;
|
165
|
+
rdfs:comment "The act of consuming audio content.";
|
166
|
+
rdfs:seeAlso schemaorg:ListenAction;
|
167
|
+
rdfs:subClassOf :ConsumeAction .
|
168
|
+
|
169
|
+
:Mass a rdfs:Class;
|
170
|
+
rdfs:comment "Properties that take Mass as values are of the form '<Number> <Mass unit of measure>'. E.g., '7 kg'.";
|
171
|
+
rdfs:seeAlso schemaorg:Mass;
|
172
|
+
rdfs:subClassOf :Quantity .
|
173
|
+
|
174
|
+
:MediaObject a rdfs:Class;
|
175
|
+
rdfs:comment "A media object, such as an image, video, audio, or text object embedded in a web page or a downloadable dataset i.e. DataDownload. Note that a creative work may have many media objects associated with it on the same web page. For example, a page about a single song (MusicRecording) may have a music video (VideoObject), and a high and low bandwidth audio stream (2 AudioObject's).";
|
176
|
+
rdfs:seeAlso schemaorg:MediaObject;
|
177
|
+
rdfs:subClassOf :CreativeWork .
|
178
|
+
|
179
|
+
:Message a rdfs:Class;
|
180
|
+
rdfs:comment "A single message from a sender to one or more organizations or people.";
|
181
|
+
rdfs:seeAlso schemaorg:Message;
|
182
|
+
rdfs:subClassOf :CreativeWork .
|
183
|
+
|
184
|
+
:MusicAlbum a rdfs:Class;
|
185
|
+
rdfs:comment "A collection of music tracks.";
|
186
|
+
rdfs:seeAlso schemaorg:MusicAlbum;
|
187
|
+
rdfs:subClassOf :MusicPlaylist .
|
188
|
+
|
189
|
+
:MusicGroup a rdfs:Class;
|
190
|
+
rdfs:comment "A musical group, such as a band, an orchestra, or a choir. Can also be a solo musician.";
|
191
|
+
rdfs:seeAlso schemaorg:MusicGroup;
|
192
|
+
rdfs:subClassOf :PerformingGroup .
|
193
|
+
|
194
|
+
:MusicPlaylist a rdfs:Class;
|
195
|
+
rdfs:comment "A collection of music tracks in playlist form.";
|
196
|
+
rdfs:seeAlso schemaorg:MusicPlaylist;
|
197
|
+
rdfs:subClassOf :CreativeWork .
|
198
|
+
|
199
|
+
:MusicRecording a rdfs:Class;
|
200
|
+
rdfs:comment "A music recording (track), usually a single song.";
|
201
|
+
rdfs:seeAlso schemaorg:MusicRecording;
|
202
|
+
rdfs:subClassOf :CreativeWork .
|
203
|
+
|
204
|
+
:Number a rdfs:Class;
|
205
|
+
rdfs:comment "Data type: Number.\\n\\nUsage guidelines:\\n\\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.";
|
206
|
+
rdfs:seeAlso schemaorg:Number;
|
207
|
+
rdfs:subClassOf :DataType .
|
208
|
+
|
209
|
+
:Organization a rdfs:Class;
|
210
|
+
rdfs:comment "An organization such as a school, NGO, corporation, club, etc.";
|
211
|
+
rdfs:seeAlso schemaorg:Organization;
|
212
|
+
rdfs:subClassOf :Thing .
|
213
|
+
|
214
|
+
:PerformingGroup a rdfs:Class;
|
215
|
+
rdfs:comment "A performance group, such as a band, an orchestra, or a circus.";
|
216
|
+
rdfs:seeAlso schemaorg:PerformingGroup;
|
217
|
+
rdfs:subClassOf :Organization .
|
218
|
+
|
219
|
+
:Person a rdfs:Class;
|
220
|
+
rdfs:comment "A person (alive, dead, undead, or fictional).";
|
221
|
+
rdfs:seeAlso schemaorg:Person;
|
222
|
+
rdfs:subClassOf :Thing .
|
223
|
+
|
224
|
+
:Place a rdfs:Class;
|
225
|
+
rdfs:comment "Entities that have a somewhat fixed, physical extension.";
|
226
|
+
rdfs:seeAlso schemaorg:Place;
|
227
|
+
rdfs:subClassOf :Thing .
|
228
|
+
|
229
|
+
:PodcastEpisode a rdfs:Class;
|
230
|
+
rdfs:comment "A single episode of a podcast series.";
|
231
|
+
rdfs:seeAlso schemaorg:PodcastEpisode;
|
232
|
+
rdfs:subClassOf :Episode .
|
233
|
+
|
234
|
+
:PodcastSeries a rdfs:Class;
|
235
|
+
rdfs:comment "A podcast is an episodic series of digital audio or video files which a user can download and listen to.";
|
236
|
+
rdfs:seeAlso schemaorg:PodcastSeries;
|
237
|
+
rdfs:subClassOf :CreativeWorkSeries .
|
238
|
+
|
239
|
+
:PostalAddress a rdfs:Class;
|
240
|
+
rdfs:comment "The mailing address.";
|
241
|
+
rdfs:seeAlso schemaorg:PostalAddress;
|
242
|
+
rdfs:subClassOf :ContactPoint .
|
243
|
+
|
244
|
+
:QuantitativeValue a rdfs:Class;
|
245
|
+
rdfs:comment " A point value or interval for product characteristics and other purposes.";
|
246
|
+
rdfs:seeAlso schemaorg:QuantitativeValue;
|
247
|
+
rdfs:subClassOf :StructuredValue .
|
248
|
+
|
249
|
+
:Quantity a rdfs:Class;
|
250
|
+
rdfs:comment "Quantities such as distance, time, mass, weight, etc. Particular instances of say Mass are entities like '3 kg' or '4 milligrams'.";
|
251
|
+
rdfs:seeAlso schemaorg:Quantity;
|
252
|
+
rdfs:subClassOf :Intangible .
|
253
|
+
|
254
|
+
:ReactAction a rdfs:Class;
|
255
|
+
rdfs:comment "The act of responding instinctively and emotionally to an object, expressing a sentiment.";
|
256
|
+
rdfs:seeAlso schemaorg:ReactAction;
|
257
|
+
rdfs:subClassOf :AssessAction .
|
258
|
+
|
259
|
+
:ReadAction a rdfs:Class;
|
260
|
+
rdfs:comment "The act of consuming written content.";
|
261
|
+
rdfs:seeAlso schemaorg:ReadAction;
|
262
|
+
rdfs:subClassOf :ConsumeAction .
|
263
|
+
|
264
|
+
:SchoolDistrict a rdfs:Class;
|
265
|
+
rdfs:comment "A School District is an administrative area for the administration of schools.";
|
266
|
+
rdfs:seeAlso schemaorg:SchoolDistrict;
|
267
|
+
rdfs:subClassOf :AdministrativeArea .
|
268
|
+
|
269
|
+
:State a rdfs:Class;
|
270
|
+
rdfs:comment "A state or province of a country.";
|
271
|
+
rdfs:seeAlso schemaorg:State;
|
272
|
+
rdfs:subClassOf :AdministrativeArea .
|
273
|
+
|
274
|
+
:StructuredValue a rdfs:Class;
|
275
|
+
rdfs:comment "Structured values are used when the value of a property has a more complex structure than simply being a textual value or a reference to another thing.";
|
276
|
+
rdfs:seeAlso schemaorg:StructuredValue;
|
277
|
+
rdfs:subClassOf :Intangible .
|
278
|
+
|
279
|
+
:Text a rdfs:Class;
|
280
|
+
rdfs:comment "Data type: Text.";
|
281
|
+
rdfs:seeAlso schemaorg:Text;
|
282
|
+
rdfs:subClassOf :DataType .
|
283
|
+
|
284
|
+
:Thing a rdfs:Class;
|
285
|
+
rdfs:comment "The most generic type of item.";
|
286
|
+
rdfs:seeAlso schemaorg:Thing .
|
287
|
+
|
288
|
+
:URL a rdfs:Class;
|
289
|
+
rdfs:comment "Data type: URL.";
|
290
|
+
rdfs:seeAlso schemaorg:URL;
|
291
|
+
rdfs:subClassOf :Text .
|
292
|
+
|
293
|
+
:UpdateAction a rdfs:Class;
|
294
|
+
rdfs:comment "The act of managing by changing/editing the state of the object.";
|
295
|
+
rdfs:seeAlso schemaorg:UpdateAction;
|
296
|
+
rdfs:subClassOf :Action .
|
297
|
+
|
298
|
+
:UseAction a rdfs:Class;
|
299
|
+
rdfs:comment "The act of applying an object to its intended purpose.";
|
300
|
+
rdfs:seeAlso schemaorg:UseAction;
|
301
|
+
rdfs:subClassOf :ConsumeAction .
|
302
|
+
|
303
|
+
:VideoObject a rdfs:Class;
|
304
|
+
rdfs:comment "A video file.";
|
305
|
+
rdfs:seeAlso schemaorg:VideoObject;
|
306
|
+
rdfs:subClassOf :MediaObject .
|
307
|
+
|
308
|
+
:ViewAction a rdfs:Class;
|
309
|
+
rdfs:comment "The act of consuming static visual content.";
|
310
|
+
rdfs:seeAlso schemaorg:ViewAction;
|
311
|
+
rdfs:subClassOf :ConsumeAction .
|
312
|
+
|
313
|
+
:WatchAction a rdfs:Class;
|
314
|
+
rdfs:comment "The act of consuming dynamic/moving visual content.";
|
315
|
+
rdfs:seeAlso schemaorg:WatchAction;
|
316
|
+
rdfs:subClassOf :ConsumeAction .
|
317
|
+
|
318
|
+
<https://schema.chronicle.app> a owl:Ontology;
|
319
|
+
owl:versionInfo "1" .
|
320
|
+
|
321
|
+
:about a rdf:Property;
|
322
|
+
rdfs:comment "The subject matter of the content.";
|
323
|
+
rdfs:seeAlso schemaorg:about;
|
324
|
+
:domainIncludes :CreativeWork;
|
325
|
+
:rangeIncludes :Thing .
|
326
|
+
|
327
|
+
:address a rdf:Property;
|
328
|
+
rdfs:comment "Physical address of the item.";
|
329
|
+
rdfs:seeAlso schemaorg:address;
|
330
|
+
owl:maxCardinality 1;
|
331
|
+
:domainIncludes :Person,
|
332
|
+
:Place;
|
333
|
+
:rangeIncludes :PostalAddress,
|
334
|
+
:Text .
|
335
|
+
|
336
|
+
:addressCountry a rdf:Property;
|
337
|
+
rdfs:comment "The country. For example, USA. You can also provide the two-letter [ISO 3166-1 alpha-2 country code](http://en.wikipedia.org/wiki/ISO_3166-1).";
|
338
|
+
rdfs:seeAlso schemaorg:addressCountry;
|
339
|
+
owl:maxCardinality 1;
|
340
|
+
:domainIncludes :PostalAddress;
|
341
|
+
:rangeIncludes :Country,
|
342
|
+
:Text .
|
343
|
+
|
344
|
+
:addressLocality a rdf:Property;
|
345
|
+
rdfs:comment "The locality in which the street address is, and which is in the region. For example, Mountain View.";
|
346
|
+
rdfs:seeAlso schemaorg:addressLocality;
|
347
|
+
owl:maxCardinality 1;
|
348
|
+
:domainIncludes :PostalAddress;
|
349
|
+
:rangeIncludes :Text .
|
350
|
+
|
351
|
+
:addressRegion a rdf:Property;
|
352
|
+
rdfs:comment "The region in which the locality is, and which is in the country. For example, California or another appropriate first-level [Administrative division](https://en.wikipedia.org/wiki/List_of_administrative_divisions_by_country).";
|
353
|
+
rdfs:seeAlso schemaorg:addressRegion;
|
354
|
+
owl:maxCardinality 1;
|
355
|
+
:domainIncludes :PostalAddress;
|
356
|
+
:rangeIncludes :Text .
|
357
|
+
|
358
|
+
:agent a rdf:Property;
|
359
|
+
rdfs:comment "The direct performer or driver of the action (animate or inanimate). E.g. *John* wrote a book.";
|
360
|
+
rdfs:seeAlso schemaorg:agent;
|
361
|
+
owl:maxCardinality 1;
|
362
|
+
owl:minCardinality 1;
|
363
|
+
:domainIncludes :Action;
|
364
|
+
:rangeIncludes :Organization,
|
365
|
+
:Person .
|
366
|
+
|
367
|
+
:aggregateRating a rdf:Property;
|
368
|
+
rdfs:comment "The overall rating, based on a collection of reviews or ratings, of the item.";
|
369
|
+
rdfs:seeAlso schemaorg:aggregateRating;
|
370
|
+
owl:maxCardinality 1;
|
371
|
+
:domainIncludes :CreativeWork .
|
372
|
+
|
373
|
+
:album a rdf:Property;
|
374
|
+
rdfs:comment "A music album.";
|
375
|
+
rdfs:seeAlso schemaorg:album;
|
376
|
+
:domainIncludes :MusicGroup;
|
377
|
+
:rangeIncludes :MusicAlbum .
|
378
|
+
|
379
|
+
:alternateName a rdf:Property;
|
380
|
+
rdfs:comment "An alias for the item.";
|
381
|
+
rdfs:seeAlso schemaorg:alternateName;
|
382
|
+
owl:maxCardinality 1;
|
383
|
+
:domainIncludes :Thing;
|
384
|
+
:rangeIncludes :Text .
|
385
|
+
|
386
|
+
:author a rdf:Property;
|
387
|
+
rdfs:comment "The author of this content or rating. Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.";
|
388
|
+
rdfs:seeAlso schemaorg:author;
|
389
|
+
:domainIncludes :CreativeWork;
|
390
|
+
:rangeIncludes :Organization,
|
391
|
+
:Person .
|
392
|
+
|
393
|
+
:byArtist a rdf:Property;
|
394
|
+
rdfs:comment "The artist that performed this album or recording.";
|
395
|
+
rdfs:seeAlso schemaorg:byArtist;
|
396
|
+
:domainIncludes :MusicAlbum,
|
397
|
+
:MusicRecording;
|
398
|
+
:rangeIncludes :MusicGroup,
|
399
|
+
:Person .
|
400
|
+
|
401
|
+
:contentLocation a rdf:Property;
|
402
|
+
rdfs:comment "The location depicted or described in the content. For example, the location in a photograph or painting.";
|
403
|
+
rdfs:seeAlso schemaorg:contentLocation;
|
404
|
+
:domainIncludes :CreativeWork;
|
405
|
+
:rangeIncludes :Place .
|
406
|
+
|
407
|
+
:contributor a rdf:Property;
|
408
|
+
rdfs:comment "A secondary contributor to the CreativeWork or Event.";
|
409
|
+
rdfs:seeAlso schemaorg:contributor;
|
410
|
+
:domainIncludes :CreativeWork;
|
411
|
+
:rangeIncludes :Organization,
|
412
|
+
:Person .
|
413
|
+
|
414
|
+
:creator a rdf:Property;
|
415
|
+
rdfs:comment "The creator/author of this CreativeWork. This is the same as the Author property for CreativeWork.";
|
416
|
+
rdfs:seeAlso schemaorg:creator;
|
417
|
+
:domainIncludes :CreativeWork;
|
418
|
+
:rangeIncludes :Organization,
|
419
|
+
:Person .
|
420
|
+
|
421
|
+
:description a rdf:Property;
|
422
|
+
rdfs:comment "A description of the item.";
|
423
|
+
rdfs:seeAlso schemaorg:description;
|
424
|
+
owl:maxCardinality 1;
|
425
|
+
:domainIncludes :Thing;
|
426
|
+
:rangeIncludes :Text .
|
427
|
+
|
428
|
+
:duration a rdf:Property;
|
429
|
+
rdfs:comment "The duration of the item (movie, audio recording, event, etc.) in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601).";
|
430
|
+
rdfs:seeAlso schemaorg:duration;
|
431
|
+
owl:maxCardinality 1;
|
432
|
+
:domainIncludes :Episode,
|
433
|
+
:MediaObject,
|
434
|
+
:MusicRecording;
|
435
|
+
:rangeIncludes :Duration .
|
436
|
+
|
437
|
+
:endDate a rdf:Property;
|
438
|
+
rdfs:comment "The end date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).";
|
439
|
+
rdfs:seeAlso schemaorg:endDate;
|
440
|
+
owl:maxCardinality 1;
|
441
|
+
:domainIncludes :Event;
|
442
|
+
:rangeIncludes :Date,
|
443
|
+
:DateTime .
|
444
|
+
|
445
|
+
:endTime a rdf:Property;
|
446
|
+
rdfs:comment "The endTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to end. For actions that span a period of time, when the action was performed. E.g. John wrote a book from January to *December*. For media, including audio and video, it's the time offset of the end of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.";
|
447
|
+
rdfs:seeAlso schemaorg:endTime;
|
448
|
+
owl:maxCardinality 1;
|
449
|
+
:domainIncludes :Action;
|
450
|
+
:rangeIncludes :DateTime .
|
451
|
+
|
452
|
+
:episodeNumber a rdf:Property;
|
453
|
+
rdfs:comment "Position of the episode within an ordered group of episodes.";
|
454
|
+
rdfs:seeAlso schemaorg:episodeNumber;
|
455
|
+
owl:maxCardinality 1;
|
456
|
+
:domainIncludes :Episode;
|
457
|
+
:rangeIncludes :Integer,
|
458
|
+
:Text .
|
459
|
+
|
460
|
+
:height a rdf:Property;
|
461
|
+
rdfs:comment "The height of the item.";
|
462
|
+
rdfs:seeAlso schemaorg:height;
|
463
|
+
owl:maxCardinality 1;
|
464
|
+
:domainIncludes :MediaObject;
|
465
|
+
:rangeIncludes :Distance,
|
466
|
+
:QuantitativeValue .
|
467
|
+
|
468
|
+
:identifier a rdf:Property;
|
469
|
+
rdfs:comment """The identifier property represents any kind of identifier for any kind of [[Thing]], such as ISBNs, GTIN codes, UUIDs etc. Schema.org provides dedicated properties for representing many of these, either as textual strings or as URL (URI) links. See [background notes](/docs/datamodel.html#identifierBg) for more details.
|
470
|
+
""";
|
471
|
+
rdfs:seeAlso schemaorg:identifier;
|
472
|
+
owl:maxCardinality 1;
|
473
|
+
:domainIncludes :Thing;
|
474
|
+
:rangeIncludes :Text,
|
475
|
+
:URL .
|
476
|
+
|
477
|
+
:image a rdf:Property;
|
478
|
+
rdfs:comment "An image of the item. This can be a [[URL]] or a fully described [[ImageObject]].";
|
479
|
+
rdfs:seeAlso schemaorg:image;
|
480
|
+
owl:maxCardinality 1;
|
481
|
+
:domainIncludes :Thing;
|
482
|
+
:rangeIncludes :ImageObject,
|
483
|
+
:URL .
|
484
|
+
|
485
|
+
:inAlbum a rdf:Property;
|
486
|
+
rdfs:comment "The album to which this recording belongs.";
|
487
|
+
rdfs:seeAlso schemaorg:inAlbum;
|
488
|
+
:domainIncludes :MusicRecording;
|
489
|
+
:rangeIncludes :MusicAlbum .
|
490
|
+
|
491
|
+
:inLanguage a rdf:Property;
|
492
|
+
rdfs:comment "The language of the content or performance or used in an action. Please use one of the language codes from the [IETF BCP 47 standard](http://tools.ietf.org/html/bcp47). See also [[availableLanguage]].";
|
493
|
+
rdfs:seeAlso schemaorg:inLanguage;
|
494
|
+
:domainIncludes :CreativeWork;
|
495
|
+
:rangeIncludes :Text .
|
496
|
+
|
497
|
+
:instrument a rdf:Property;
|
498
|
+
rdfs:comment "The object that helped the agent perform the action. E.g. John wrote a book with *a pen*.";
|
499
|
+
rdfs:seeAlso schemaorg:instrument;
|
500
|
+
owl:maxCardinality 1;
|
501
|
+
:domainIncludes :Action;
|
502
|
+
:rangeIncludes :Thing .
|
503
|
+
|
504
|
+
:isPartOf a rdf:Property;
|
505
|
+
rdfs:comment "Indicates an item or CreativeWork that this item, or CreativeWork (in some sense), is part of.";
|
506
|
+
rdfs:seeAlso schemaorg:isPartOf;
|
507
|
+
:domainIncludes :CreativeWork;
|
508
|
+
:rangeIncludes :CreativeWork,
|
509
|
+
:URL .
|
510
|
+
|
511
|
+
:keywords a rdf:Property;
|
512
|
+
rdfs:comment "Keywords or tags used to describe some item. Multiple textual entries in a keywords list are typically delimited by commas, or by repeating the property.";
|
513
|
+
rdfs:seeAlso schemaorg:keywords;
|
514
|
+
:domainIncludes :CreativeWork;
|
515
|
+
:rangeIncludes :Text,
|
516
|
+
:URL .
|
517
|
+
|
518
|
+
:latitude a rdf:Property;
|
519
|
+
rdfs:comment "The latitude of a location. For example ```37.42242``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).";
|
520
|
+
rdfs:seeAlso schemaorg:latitude;
|
521
|
+
owl:maxCardinality 1;
|
522
|
+
:domainIncludes :Place;
|
523
|
+
:rangeIncludes :Number,
|
524
|
+
:Text .
|
525
|
+
|
526
|
+
:location a rdf:Property;
|
527
|
+
rdfs:comment "The location of, for example, where an event is happening, where an organization is located, or where an action takes place.";
|
528
|
+
rdfs:seeAlso schemaorg:location;
|
529
|
+
:domainIncludes :Event,
|
530
|
+
:Organization;
|
531
|
+
:rangeIncludes :Place,
|
532
|
+
:PostalAddress,
|
533
|
+
:Text .
|
534
|
+
|
535
|
+
:longitude a rdf:Property;
|
536
|
+
rdfs:comment "The longitude of a location. For example ```-122.08585``` ([WGS 84](https://en.wikipedia.org/wiki/World_Geodetic_System)).";
|
537
|
+
rdfs:seeAlso schemaorg:longitude;
|
538
|
+
owl:maxCardinality 1;
|
539
|
+
:domainIncludes :Place;
|
540
|
+
:rangeIncludes :Number,
|
541
|
+
:Text .
|
542
|
+
|
543
|
+
:mentions a rdf:Property;
|
544
|
+
rdfs:comment "Indicates that the CreativeWork contains a reference to, but is not necessarily about a concept.";
|
545
|
+
rdfs:seeAlso schemaorg:mentions;
|
546
|
+
:domainIncludes :CreativeWork;
|
547
|
+
:rangeIncludes :Thing .
|
548
|
+
|
549
|
+
:name a rdf:Property;
|
550
|
+
rdfs:comment "The name of the item.";
|
551
|
+
rdfs:seeAlso schemaorg:name;
|
552
|
+
owl:maxCardinality 1;
|
553
|
+
:domainIncludes :Thing;
|
554
|
+
:rangeIncludes :Text .
|
555
|
+
|
556
|
+
:numberOfPages a rdf:Property;
|
557
|
+
rdfs:comment "The number of pages in the book.";
|
558
|
+
rdfs:seeAlso schemaorg:numberOfPages;
|
559
|
+
owl:maxCardinality 1;
|
560
|
+
:domainIncludes :Book;
|
561
|
+
:rangeIncludes :Integer .
|
562
|
+
|
563
|
+
:object a rdf:Property;
|
564
|
+
rdfs:comment "The object upon which the action is carried out, whose state is kept intact or changed. Also known as the semantic roles patient, affected or undergoer (which change their state) or theme (which doesn't). E.g. John read *a book*.";
|
565
|
+
rdfs:seeAlso schemaorg:object;
|
566
|
+
owl:maxCardinality 1;
|
567
|
+
:domainIncludes :Action;
|
568
|
+
:rangeIncludes :Thing .
|
569
|
+
|
570
|
+
:partOfSeason a rdf:Property;
|
571
|
+
rdfs:comment "The season to which this episode belongs.";
|
572
|
+
rdfs:seeAlso schemaorg:partOfSeason;
|
573
|
+
owl:maxCardinality 1;
|
574
|
+
:domainIncludes :Episode .
|
575
|
+
|
576
|
+
:partOfSeries a rdf:Property;
|
577
|
+
rdfs:comment "The series to which this episode or season belongs.";
|
578
|
+
rdfs:seeAlso schemaorg:partOfSeries;
|
579
|
+
owl:maxCardinality 1;
|
580
|
+
:domainIncludes :Episode;
|
581
|
+
:rangeIncludes :CreativeWorkSeries .
|
582
|
+
|
583
|
+
:postOfficeBoxNumber a rdf:Property;
|
584
|
+
rdfs:comment "The post office box number for PO box addresses.";
|
585
|
+
rdfs:seeAlso schemaorg:postOfficeBoxNumber;
|
586
|
+
owl:maxCardinality 1;
|
587
|
+
:domainIncludes :PostalAddress;
|
588
|
+
:rangeIncludes :Text .
|
589
|
+
|
590
|
+
:postalCode a rdf:Property;
|
591
|
+
rdfs:comment "The postal code. For example, 94043.";
|
592
|
+
rdfs:seeAlso schemaorg:postalCode;
|
593
|
+
owl:maxCardinality 1;
|
594
|
+
:domainIncludes :PostalAddress;
|
595
|
+
:rangeIncludes :Text .
|
596
|
+
|
597
|
+
:producer a rdf:Property;
|
598
|
+
rdfs:comment "The person or organization who produced the work (e.g. music album, movie, TV/radio series etc.).";
|
599
|
+
rdfs:seeAlso schemaorg:producer;
|
600
|
+
:domainIncludes :CreativeWork;
|
601
|
+
:rangeIncludes :Organization,
|
602
|
+
:Person .
|
603
|
+
|
604
|
+
:publisher a rdf:Property;
|
605
|
+
rdfs:comment "The publisher of the creative work.";
|
606
|
+
rdfs:seeAlso schemaorg:publisher;
|
607
|
+
:domainIncludes :CreativeWork;
|
608
|
+
:rangeIncludes :Organization,
|
609
|
+
:Person .
|
610
|
+
|
611
|
+
:recipient a rdf:Property;
|
612
|
+
rdfs:comment "A sub property of participant. The participant who is at the receiving end of the action.";
|
613
|
+
rdfs:seeAlso schemaorg:recipient;
|
614
|
+
:domainIncludes :Message;
|
615
|
+
:rangeIncludes :ContactPoint,
|
616
|
+
:Organization,
|
617
|
+
:Person .
|
618
|
+
|
619
|
+
:result a rdf:Property;
|
620
|
+
rdfs:comment "The result produced in the action. E.g. John wrote *a book*.";
|
621
|
+
rdfs:seeAlso schemaorg:result;
|
622
|
+
owl:maxCardinality 1;
|
623
|
+
:domainIncludes :Action;
|
624
|
+
:rangeIncludes :Thing .
|
625
|
+
|
626
|
+
:sender a rdf:Property;
|
627
|
+
rdfs:comment "A sub property of participant. The participant who is at the sending end of the action.";
|
628
|
+
rdfs:seeAlso schemaorg:sender;
|
629
|
+
owl:maxCardinality 1;
|
630
|
+
:domainIncludes :Message;
|
631
|
+
:rangeIncludes :Organization,
|
632
|
+
:Person .
|
633
|
+
|
634
|
+
:slug a rdf:Property;
|
635
|
+
owl:maxCardinality 1;
|
636
|
+
:domainIncludes :Thing;
|
637
|
+
:rangeIncludes :Text .
|
638
|
+
|
639
|
+
:source a rdf:Property;
|
640
|
+
owl:maxCardinality 1;
|
641
|
+
:domainIncludes :Thing;
|
642
|
+
:rangeIncludes :Text .
|
643
|
+
|
644
|
+
:sourceId a rdf:Property;
|
645
|
+
owl:maxCardinality 1;
|
646
|
+
:domainIncludes :Thing;
|
647
|
+
:rangeIncludes :Text .
|
648
|
+
|
649
|
+
:sourceNamespace a rdf:Property;
|
650
|
+
owl:maxCardinality 1;
|
651
|
+
:domainIncludes :Thing;
|
652
|
+
:rangeIncludes :Text .
|
653
|
+
|
654
|
+
:startDate a rdf:Property;
|
655
|
+
rdfs:comment "The start date and time of the item (in [ISO 8601 date format](http://en.wikipedia.org/wiki/ISO_8601)).";
|
656
|
+
rdfs:seeAlso schemaorg:startDate;
|
657
|
+
owl:maxCardinality 1;
|
658
|
+
:domainIncludes :Event;
|
659
|
+
:rangeIncludes :Date,
|
660
|
+
:DateTime .
|
661
|
+
|
662
|
+
:startTime a rdf:Property;
|
663
|
+
rdfs:comment "The startTime of something. For a reserved event or service (e.g. FoodEstablishmentReservation), the time that it is expected to start. For actions that span a period of time, when the action was performed. E.g. John wrote a book from *January* to December. For media, including audio and video, it's the time offset of the start of a clip within a larger file.\\n\\nNote that Event uses startDate/endDate instead of startTime/endTime, even when describing dates with times. This situation may be clarified in future revisions.";
|
664
|
+
rdfs:seeAlso schemaorg:startTime;
|
665
|
+
owl:maxCardinality 1;
|
666
|
+
:domainIncludes :Action;
|
667
|
+
:rangeIncludes :DateTime .
|
668
|
+
|
669
|
+
:streetAddress a rdf:Property;
|
670
|
+
rdfs:comment "The street address. For example, 1600 Amphitheatre Pkwy.";
|
671
|
+
rdfs:seeAlso schemaorg:streetAddress;
|
672
|
+
owl:maxCardinality 1;
|
673
|
+
:domainIncludes :PostalAddress;
|
674
|
+
:rangeIncludes :Text .
|
675
|
+
|
676
|
+
:subjectOf a rdf:Property;
|
677
|
+
rdfs:comment "A CreativeWork or Event about this Thing.";
|
678
|
+
rdfs:seeAlso schemaorg:subjectOf;
|
679
|
+
:domainIncludes :Thing;
|
680
|
+
:rangeIncludes :CreativeWork,
|
681
|
+
:Event .
|
682
|
+
|
683
|
+
:text a rdf:Property;
|
684
|
+
rdfs:comment "The textual content of this CreativeWork.";
|
685
|
+
rdfs:seeAlso schemaorg:text;
|
686
|
+
owl:maxCardinality 1;
|
687
|
+
:domainIncludes :CreativeWork;
|
688
|
+
:rangeIncludes :Text .
|
689
|
+
|
690
|
+
:url a rdf:Property;
|
691
|
+
rdfs:comment "URL of the item.";
|
692
|
+
rdfs:seeAlso schemaorg:url;
|
693
|
+
owl:maxCardinality 1;
|
694
|
+
:domainIncludes :Thing;
|
695
|
+
:rangeIncludes :URL .
|
696
|
+
|
697
|
+
:value a rdf:Property;
|
698
|
+
rdfs:comment "The value of a [[QuantitativeValue]] (including [[Observation]]) or property value node.\\n\\n* For [[QuantitativeValue]] and [[MonetaryAmount]], the recommended type for values is 'Number'.\\n* For [[PropertyValue]], it can be 'Text', 'Number', 'Boolean', or 'StructuredValue'.\\n* Use values from 0123456789 (Unicode 'DIGIT ZERO' (U+0030) to 'DIGIT NINE' (U+0039)) rather than superficially similar Unicode symbols.\\n* Use '.' (Unicode 'FULL STOP' (U+002E)) rather than ',' to indicate a decimal point. Avoid using these symbols as a readability separator.";
|
699
|
+
rdfs:seeAlso schemaorg:value;
|
700
|
+
owl:maxCardinality 1;
|
701
|
+
:domainIncludes :QuantitativeValue;
|
702
|
+
:rangeIncludes :Boolean,
|
703
|
+
:Number,
|
704
|
+
:StructuredValue,
|
705
|
+
:Text .
|
706
|
+
|
707
|
+
:webFeed a rdf:Property;
|
708
|
+
rdfs:comment "The URL for a feed, e.g. associated with a podcast series, blog, or series of date-stamped updates. This is usually RSS or Atom.";
|
709
|
+
rdfs:seeAlso schemaorg:webFeed;
|
710
|
+
owl:maxCardinality 1;
|
711
|
+
:domainIncludes :PodcastSeries;
|
712
|
+
:rangeIncludes :URL .
|
713
|
+
|
714
|
+
:width a rdf:Property;
|
715
|
+
rdfs:comment "The width of the item.";
|
716
|
+
rdfs:seeAlso schemaorg:width;
|
717
|
+
owl:maxCardinality 1;
|
718
|
+
:domainIncludes :MediaObject;
|
719
|
+
:rangeIncludes :Distance,
|
720
|
+
:QuantitativeValue .
|