-
Notifications
You must be signed in to change notification settings - Fork 0
/
edpop-record-ontology.ttl
268 lines (209 loc) · 11.3 KB
/
edpop-record-ontology.ttl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix edpoprec: <https://dhstatic.hum.uu.nl/edpop-records/0.1.0/> .
edpoprec: a owl:Ontology .
### CATALOG CLASSES
edpoprec:Catalog a rdfs:Class ;
skos:prefLabel "Catalog"@en ;
skos:description "External repository of bibliographical or biographical data" .
edpoprec:BibliographicalCatalog rdfs:subClassOf edpoprec:Catalog ;
skos:prefLabel "Bibliographical catalog"@en ;
skos:description "External repository of bibliographical data" .
edpoprec:BiographicalCatalog rdfs:subClassOf edpoprec:Catalog ;
skos:preflabel "Biographical catalog"@en ;
skos:description "External repository of biographical data" .
### RECORD CLASSES
# The Record class and its derivatives are seen as describing records,
# rather than directly describing the things that these records represent.
edpoprec:Record a rdfs:Class ;
skos:prefLabel "Record"@en ;
skos:description "Bibliographical or biographical record" .
edpoprec:BibliographicalRecord rdfs:subClassOf edpoprec:Record .
edpoprec:BiographicalRecord rdfs:subClassOf edpoprec:Record .
### COMMON PROPERTIES FOR ALL RECORDS
edpoprec:fromCatalog a rdf:Property ;
skos:prefLabel "From catalog"@en ;
skos:description "The catalog this record was originally taken from" ;
rdfs:domain edpoprec:Record ;
rdfs:range edpoprec:Catalog .
edpoprec:identifier a rdf:Property ;
skos:prefLabel "Identifier"@en ;
skos:description "Unique identifier used by the source catalog" ;
rdfs:domain edpoprec:Record .
edpoprec:publicURL a rdf:Property ;
skos:prefLabel "Public URL"@en ;
skos:description "Public URL in the source catalog" ;
rdfs:domain edpoprec:Record ;
rdfs:range xsd:anyURI .
# Original data: supposed to contain JSON with all (relevant) original data
# rudimentally converted into JSON, so that it will be possible to show this data in the VRE.
edpoprec:originalData a rdf:Property ;
skos:prefLabel "Original data"@en ;
skos:description "All data from the original catalogue record in JSON format" ;
rdfs:domain edpoprec:Record ;
rdfs:range rdf:JSON .
### THE FIELD CLASS
# A Field represents a piece of information from a catalogue record. In its basic form
# the field contains the original inforation from the catalogue and if applicable
# also a normalized version as a string literal.
# EDPOP VRE note: Fields are supposed to be able to be annotated in the EDPOP VRE.
edpoprec:Field a rdf:Class ;
skos:prefLabel "Field"@en ;
skos:description "A catalog field" .
# originalText contains the text as it literally comes from the original database.
# As we require this to be a string literal, there may be cases where the
# string has to be slightly adapted first (such as in case of a title field, where
# the original database has the title split out in title and subtitle).
edpoprec:originalText a rdf:property ;
skos:prefLabel "Original text"@en ;
rdfs:domain edpoprec:Field ;
rdfs:range xsd:string .
# originalText is required and should appear only once:
edpoprec:Field rdfs:subClassOf [
a owl:Restriction ;
owl:onProperty edpoprec:originalText ;
owl:cardinality 1
] .
# normalizedText is a human-readable string representation of a normalization.
# In most cases the normalization will be more complex than just a string, but
# normalizedText provides a fallback if a simple way of rendering is needed in
# a user interface. normalizedText is optional.
edpoprec:normalizedText a rdf:property ;
skos:prefLabel "Normalized text"@en ;
rdfs:domain edpoprec:Field ;
rdfs:range xsd:string .
# unknown: true if the record explicitly mentions that this information is
# not known
edpoprec:unknown a rdf:property ;
skos:prefLabel "Unknown"@en ;
rdfs:domain edpoprec:Field ;
rdfs:range xsd:boolean .
# authorityRecord: link to a record that describes the contributor, such as ISNI or a national thesaurus.
# This information is sometimes available on the record.
edpoprec:authorityRecord a rdf:property ;
skos:prefLabel "Authority record"@en ;
skos:description "Link to an authority record as given in the record" ;
rdfs:domain edpoprec:Field .
# (We may also want to add some sort of a confidence property, to indicate
# the chance that a normalization is correct.)
# (A possible addition would be a property that indicates the part of the original
# record from which the information was taken.)
### FIELD SUBCLASSES
edpoprec:ContributorField rdfs:subClassOf edpoprec:Field ;
skos:prefLabel "Contributor field"@en .
# relation: should be one of the LoC relators or compatible. We may want to
# add another property with the original, non-normalized data.
edpoprec:relation a rdf:property ;
skos:prefLabel "Relation"@en ;
skos:description "Role of the contributor (normalized)" ;
rdfs:domain edpoprec:ContributorField .
edpoprec:DatingField rdfs:subClassOf edpoprec:Field ;
skos:prefLabel "Dating field"@en .
edpoprec:edtfDate a rdf:property ;
skos:prefLabel "EDTF date"@en ;
skos:description "Normalized date in Extended Date/Time Format" ;
rdfs:domain edpoprec:DatingField ;
rdfs:range <http://id.loc.gov/datatypes/edtf/EDTF> .
edpoprec:LanguageField rdfs:subClassOf edpoprec:Field ;
skos:prefLabel "Language"@en .
edpoprec:languageCode a rdf:property ;
skos:prefLabel "Language code"@en ;
skos:description "Three-character language code according to ISO 639-3" ;
rdfs:domain edpoprec:LanguageField ;
rdfs:range xsd:string .
edpoprec:LocationField rdfs:subClassOf edpoprec:Field ;
skos:prefLabel "Location field"@en ;
skos:description "A location, such as a town, country or region" .
edpoprec:LocationType a rdf:class ;
skos:prefLabel "Location type"@en .
edpoprec:locality a edpoprec:LocationType ;
skos:prefLabel "Locality"@en ;
skos:description "A place of residence such as a village, town or city" .
edpoprec:country a edpoprec:LocationType ;
skos:prefLabel "Country"@en .
### FIELDS SPECIFIC FOR BIBLIOGRAPHICAL RECORDS
edpoprec:title a rdf:property ;
skos:prefLabel "Title"@en ;
rdfs:domain edpoprec:BibliographicalRecord ;
rdfs:range edpoprec:Field .
edpoprec:bibliographicalRecord rdfs:subClassOf [
a owl:Restriction ;
owl:onProperty edpoprec:title ;
owl:maxCardinality 1
] .
edpoprec:alternativeTitle a rdf:property ;
skos:prefLabel "Alternative title"@en ;
rdfs:domain edpoprec:BibliographicalRecord ;
rdfs:range edpoprec:Field .
edpoprec:contributor a rdf:property ;
skos:prefLabel "Contributor"@en ;
skos:description "Author or other contributor to the work" ;
rdfs:domain edpoprec:BibliographicalRecord ;
rdfs:range edpoprec:ContributorField .
edpoprec:publisherOrPrinter a rdf:property ;
skos:prefLabel "Publisher or printer"@en ;
rdfs:domain edpoprec:BibliographicalRecord ;
rdfs:range edpoprec:LocationField .
edpoprec:placeOfPublication a rdf:property ;
skos:prefLabel "Place of publication"@en ;
rdfs:domain edpoprec:BibliographicalRecord ;
rdfs:range edpoprec:LocationField .
edpoprec:dating a rdf:property ;
skos:prefLabel "Dating"@en ;
rdfs:domain edpoprec:BibliographicalRecord ;
rdfs:range edpoprec:DatingField .
edpoprec:language a rdf:property ;
skos:prefLabel "Language"@en ;
rdfs:domain edpoprec:BibliographicalRecord ;
rdfs:range edpoprec:LanguageField .
edpoprec:extent a rdf:property ;
skos:prefLabel "Extent"@en ;
skos:description "Number of pages or other way of measuring length" ;
rdfs:domain edpoprec:BibliographicalRecord ;
rdfs:range edpoprec:Field .
edpoprec:size a rdf:property ;
skos:prefLabel "Dimensions"@en ;
skos:description "Length in centimeters or other way of measuring size" ;
rdfs:domain edpoprec:BibliographicalRecord ;
rdfs:range edpoprec:Field .
edpoprec:physicalDescription a rdf:property ;
skos:prefLabel "Physical description"@en ;
skos:description "Comments about the physical appearance of the described item" ;
rdfs:domain edpoprec:BibliographicalRecord ;
rdfs:range edpoprec:Field .
### FIELDS SPECIFIC FOR BIOGRAPHICAL RECORDS
edpoprec:name a rdf:property ;
skos:prefLabel "Name"@en ;
rdfs:domain edpoprec:BiographicalRecord ;
rdfs:range edpoprec:Field .
edpoprec:variantName a rdf:property ;
skos:prefLabel "Name"@en ;
rdfs:domain edpoprec:BiographicalRecord ;
rdfs:range edpoprec:Field .
edpoprec:placeOfBirth a rdf:property ;
skos:prefLabel "Place of birth"@en ;
rdfs:domain edpoprec:BiographicalRecord ;
rdfs:range edpoprec:LocationField .
edpoprec:placeOfDeath a rdf:property ;
skos:prefLabel "Place of death"@en ;
rdfs:domain edpoprec:BiographicalRecord ;
rdfs:range edpoprec:LocationField .
edpoprec:placeOfActivity a rdf:property ;
skos:prefLabel "Place of activity"@en ;
rdfs:domain edpoprec:BiographicalRecord ;
rdfs:range edpoprec:LocationField .
edpoprec:timespan a rdf:property ;
skos:prefLabel "Timespan"@en ;
skos:description "The years that the person was alive or the entity was existing" ;
rdfs:domain edpoprec:BiographicalRecord ;
rdfs:range edpoprec:DatingField .
edpoprec:activity a rdf:property ;
skos:prefLabel "Activity"@en ;
skos:description "An activity that the entity is known for" ;
rdfs:domain edpoprec:BiographicalRecord ;
rdfs:range edpoprec:Field .