Skip to content

Commit bc83fd3

Browse files
authored
Merge pull request #10 from CentreForDigitalHumanities/feature/annotation
annotation field and some quick cleanup work
2 parents dce1fc7 + 965646d commit bc83fd3

2 files changed

Lines changed: 49 additions & 47 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*~
2+
/edpop-record-ontology.json

edpop-record-ontology.ttl

Lines changed: 47 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,8 @@ edpoprec:publicURL a rdf:Property ;
7272
# rudimentally converted into JSON, so that it will be possible to show this data in the VRE.
7373
edpoprec:originalData a rdf:Property ;
7474
skos:prefLabel "Original data"@en ;
75-
skos:description "All data from the original catalogue record in JSON format" ;
76-
rdfs:domain edpoprec:Record ;
75+
skos:description "All data from the original catalogue record in JSON format" ;
76+
rdfs:domain edpoprec:Record ;
7777
rdfs:range rdf:JSON .
7878

7979

@@ -84,15 +84,15 @@ edpoprec:originalData a rdf:Property ;
8484
# also a normalized version as a string literal.
8585
# EDPOP VRE note: Fields are supposed to be able to be annotated in the EDPOP VRE.
8686

87-
edpoprec:Field a rdf:Class ;
87+
edpoprec:Field a rdfs:Class ;
8888
skos:prefLabel "Field"@en ;
8989
skos:description "A catalog field" .
9090

9191
# originalText contains the text as it literally comes from the original database.
9292
# As we require this to be a string literal, there may be cases where the
9393
# string has to be slightly adapted first (such as in case of a title field, where
9494
# the original database has the title split out in title and subtitle).
95-
edpoprec:originalText a rdf:property ;
95+
edpoprec:originalText a rdf:Property ;
9696
skos:prefLabel "Original text"@en ;
9797
rdfs:domain edpoprec:Field ;
9898
rdfs:range xsd:string .
@@ -108,21 +108,21 @@ edpoprec:Field rdfs:subClassOf [
108108
# In most cases the normalization will be more complex than just a string, but
109109
# normalizedText provides a fallback if a simple way of rendering is needed in
110110
# a user interface. normalizedText is optional.
111-
edpoprec:normalizedText a rdf:property ;
111+
edpoprec:normalizedText a rdf:Property ;
112112
skos:prefLabel "Normalized text"@en ;
113113
rdfs:domain edpoprec:Field ;
114114
rdfs:range xsd:string .
115115

116116
# unknown: true if the record explicitly mentions that this information is
117117
# not known
118-
edpoprec:unknown a rdf:property ;
118+
edpoprec:unknown a rdf:Property ;
119119
skos:prefLabel "Unknown"@en ;
120120
rdfs:domain edpoprec:Field ;
121121
rdfs:range xsd:boolean .
122122

123123
# authorityRecord: link to a record that describes the contributor, such as ISNI or a national thesaurus.
124124
# This information is sometimes available on the record.
125-
edpoprec:authorityRecord a rdf:property ;
125+
edpoprec:authorityRecord a rdf:Property ;
126126
skos:prefLabel "Authority record"@en ;
127127
skos:description "Link to an authority record as given in the record" ;
128128
rdfs:domain edpoprec:Field .
@@ -141,15 +141,15 @@ edpoprec:ContributorField rdfs:subClassOf edpoprec:Field ;
141141

142142
# relation: should be one of the LoC relators or compatible. We may want to
143143
# add another property with the original, non-normalized data.
144-
edpoprec:relation a rdf:property ;
144+
edpoprec:relation a rdf:Property ;
145145
skos:prefLabel "Relation"@en ;
146146
skos:description "Role of the contributor (normalized)" ;
147147
rdfs:domain edpoprec:ContributorField .
148148

149149
edpoprec:DatingField rdfs:subClassOf edpoprec:Field ;
150150
skos:prefLabel "Dating field"@en .
151151

152-
edpoprec:edtfDate a rdf:property ;
152+
edpoprec:edtfDate a rdf:Property ;
153153
skos:prefLabel "EDTF date"@en ;
154154
skos:description "Normalized date in Extended Date/Time Format" ;
155155
rdfs:domain edpoprec:DatingField ;
@@ -158,7 +158,7 @@ edpoprec:edtfDate a rdf:property ;
158158
edpoprec:LanguageField rdfs:subClassOf edpoprec:Field ;
159159
skos:prefLabel "Language"@en .
160160

161-
edpoprec:languageCode a rdf:property ;
161+
edpoprec:languageCode a rdf:Property ;
162162
skos:prefLabel "Language code"@en ;
163163
skos:description "Three-character language code according to ISO 639-3" ;
164164
rdfs:domain edpoprec:LanguageField ;
@@ -168,7 +168,7 @@ edpoprec:LocationField rdfs:subClassOf edpoprec:Field ;
168168
skos:prefLabel "Location field"@en ;
169169
skos:description "A location, such as a town, country or region" .
170170

171-
edpoprec:LocationType a rdf:class ;
171+
edpoprec:LocationType a rdfs:Class ;
172172
skos:prefLabel "Location type"@en .
173173

174174
edpoprec:locality a edpoprec:LocationType ;
@@ -180,100 +180,100 @@ edpoprec:country a edpoprec:LocationType ;
180180

181181
### FIELDS SPECIFIC FOR BIBLIOGRAPHICAL RECORDS
182182

183-
edpoprec:title a rdf:property ;
183+
edpoprec:title a rdf:Property ;
184184
skos:prefLabel "Title"@en ;
185185
rdfs:domain edpoprec:BibliographicalRecord ;
186186
rdfs:range edpoprec:Field .
187187

188-
edpoprec:bibliographicalRecord rdfs:subClassOf [
189-
a owl:Restriction ;
190-
owl:onProperty edpoprec:title ;
191-
owl:maxCardinality 1
192-
] .
193-
194-
edpoprec:alternativeTitle a rdf:property ;
188+
edpoprec:alternativeTitle a rdf:Property ;
195189
skos:prefLabel "Alternative title"@en ;
196190
rdfs:domain edpoprec:BibliographicalRecord ;
197191
rdfs:range edpoprec:Field .
198192

199-
edpoprec:contributor a rdf:property ;
193+
edpoprec:contributor a rdf:Property ;
200194
skos:prefLabel "Contributor"@en ;
201195
skos:description "Author or other contributor to the work" ;
202196
rdfs:domain edpoprec:BibliographicalRecord ;
203197
rdfs:range edpoprec:ContributorField .
204198

205-
edpoprec:publisherOrPrinter a rdf:property ;
199+
edpoprec:publisherOrPrinter a rdf:Property ;
206200
skos:prefLabel "Publisher or printer"@en ;
207-
rdfs:domain edpoprec:BibliographicalRecord ;
208-
rdfs:range edpoprec:LocationField .
201+
rdfs:domain edpoprec:BibliographicalRecord ;
202+
rdfs:range edpoprec:LocationField .
209203

210-
edpoprec:placeOfPublication a rdf:property ;
204+
edpoprec:placeOfPublication a rdf:Property ;
211205
skos:prefLabel "Place of publication"@en ;
212-
rdfs:domain edpoprec:BibliographicalRecord ;
213-
rdfs:range edpoprec:LocationField .
206+
rdfs:domain edpoprec:BibliographicalRecord ;
207+
rdfs:range edpoprec:LocationField .
214208

215-
edpoprec:dating a rdf:property ;
209+
edpoprec:dating a rdf:Property ;
216210
skos:prefLabel "Dating"@en ;
217-
rdfs:domain edpoprec:BibliographicalRecord ;
218-
rdfs:range edpoprec:DatingField .
211+
rdfs:domain edpoprec:BibliographicalRecord ;
212+
rdfs:range edpoprec:DatingField .
219213

220-
edpoprec:language a rdf:property ;
214+
edpoprec:language a rdf:Property ;
221215
skos:prefLabel "Language"@en ;
222-
rdfs:domain edpoprec:BibliographicalRecord ;
216+
rdfs:domain edpoprec:BibliographicalRecord ;
223217
rdfs:range edpoprec:LanguageField .
224218

225-
edpoprec:extent a rdf:property ;
219+
edpoprec:extent a rdf:Property ;
226220
skos:prefLabel "Extent"@en ;
227221
skos:description "Number of pages or other way of measuring length" ;
228-
rdfs:domain edpoprec:BibliographicalRecord ;
229-
rdfs:range edpoprec:Field .
222+
rdfs:domain edpoprec:BibliographicalRecord ;
223+
rdfs:range edpoprec:Field .
230224

231-
edpoprec:size a rdf:property ;
225+
edpoprec:size a rdf:Property ;
232226
skos:prefLabel "Dimensions"@en ;
233227
skos:description "Length in centimeters or other way of measuring size" ;
234-
rdfs:domain edpoprec:BibliographicalRecord ;
235-
rdfs:range edpoprec:Field .
228+
rdfs:domain edpoprec:BibliographicalRecord ;
229+
rdfs:range edpoprec:Field .
236230

237-
edpoprec:physicalDescription a rdf:property ;
231+
edpoprec:physicalDescription a rdf:Property ;
238232
skos:prefLabel "Physical description"@en ;
239233
skos:description "Comments about the physical appearance of the described item" ;
240234
rdfs:domain edpoprec:BibliographicalRecord ;
241235
rdfs:range edpoprec:Field .
242236

237+
edpoprec:annotations a rdf:Property ;
238+
skos:prefLabel "Annotations"@en ;
239+
skos:description "Annotations that were made on the described item" ;
240+
rdfs:domain edpoprec:BibliographicalRecord ;
241+
rdfs:range edpoprec:Field .
242+
243243
### FIELDS SPECIFIC FOR BIOGRAPHICAL RECORDS
244244

245-
edpoprec:name a rdf:property ;
245+
edpoprec:name a rdf:Property ;
246246
skos:prefLabel "Name"@en ;
247247
rdfs:domain edpoprec:BiographicalRecord ;
248248
rdfs:range edpoprec:Field .
249249

250-
edpoprec:variantName a rdf:property ;
251-
skos:prefLabel "Name"@en ;
250+
edpoprec:variantName a rdf:Property ;
251+
skos:prefLabel "Variant name"@en ;
252252
rdfs:domain edpoprec:BiographicalRecord ;
253253
rdfs:range edpoprec:Field .
254254

255-
edpoprec:placeOfBirth a rdf:property ;
255+
edpoprec:placeOfBirth a rdf:Property ;
256256
skos:prefLabel "Place of birth"@en ;
257257
rdfs:domain edpoprec:BiographicalRecord ;
258258
rdfs:range edpoprec:LocationField .
259259

260-
edpoprec:placeOfDeath a rdf:property ;
260+
edpoprec:placeOfDeath a rdf:Property ;
261261
skos:prefLabel "Place of death"@en ;
262262
rdfs:domain edpoprec:BiographicalRecord ;
263263
rdfs:range edpoprec:LocationField .
264264

265-
edpoprec:placeOfActivity a rdf:property ;
265+
edpoprec:placeOfActivity a rdf:Property ;
266266
skos:prefLabel "Place of activity"@en ;
267267
rdfs:domain edpoprec:BiographicalRecord ;
268268
rdfs:range edpoprec:LocationField .
269269

270-
edpoprec:timespan a rdf:property ;
270+
edpoprec:timespan a rdf:Property ;
271271
skos:prefLabel "Timespan"@en ;
272272
skos:description "The years that the person was alive or the entity was existing" ;
273273
rdfs:domain edpoprec:BiographicalRecord ;
274274
rdfs:range edpoprec:DatingField .
275-
276-
edpoprec:activity a rdf:property ;
275+
276+
edpoprec:activity a rdf:Property ;
277277
skos:prefLabel "Activity"@en ;
278278
skos:description "An activity that the entity is known for" ;
279279
rdfs:domain edpoprec:BiographicalRecord ;

0 commit comments

Comments
 (0)