-
Notifications
You must be signed in to change notification settings - Fork 36
/
ConvSpec-5XX.xspec
337 lines (291 loc) · 34.9 KB
/
ConvSpec-5XX.xspec
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
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
<?xml version="1.0" encoding="UTF-8"?>
<x:description xmlns:x="http://www.jenitennison.com/xslt/xspec"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
xmlns:marc="http://www.loc.gov/MARC21/slim"
xmlns:bf="http://id.loc.gov/ontologies/bibframe/"
xmlns:bflc="http://id.loc.gov/ontologies/bflc/"
xmlns:madsrdf="http://www.loc.gov/mads/rdf/v1#"
stylesheet="../xsl/marc2bibframe2.xsl"
xslt-version="1.0">
<x:scenario label="500 - GENERAL NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="500 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[1]/bf:Note/rdfs:label = 'From the papers of the Chase family.'"/>
<x:expect label="$3 creates a bflc:appliesTo property of the Note" test="//bf:Instance[1]/bf:note[1]/bf:Note/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'Some stuff'"/>
<x:expect label="$5 creates a bflc:applicableInstitution property of the Note" test="//bf:Instance[1]/bf:note[1]/bf:Note/bflc:applicableInstitution/bf:Agent/bf:code = 'DLC'"/>
</x:scenario>
<x:scenario label="501 - WITH NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="501 creates a note/Note property of the Instance with noteType 'with'" test="//bf:Instance[1]/bf:note[2]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/with'"/>
<x:expect label="$a creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[2]/bf:Note/rdfs:label = 'With: The reformed school / John Dury. London : Printed for R. Wasnothe, [1850]'"/>
<x:expect label="$5 creates a bflc:applicableInstitution property of the Note" test="//bf:Instance[1]/bf:note[2]/bf:Note/bflc:applicableInstitution/bf:Agent/bf:code = 'DLC'"/>
</x:scenario>
<x:scenario label="502 - DISSERTATION NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="502 creates a dissertation/Dissertation property of the Work" test="count(//bf:Work[1]/bf:dissertation/bf:Dissertation) = 2"/>
<x:expect label="$a creates an rdfs:label property of the Dissertation" test="//bf:Work[1]/bf:dissertation[1]/bf:Dissertation/rdfs:label = 'Karl Schmidt''s thesis (doctoral)--Ludwig-Maximilians-Universität, Munich, 1965.'"/>
<x:expect label="$b creates a degree property of the Dissertation" test="//bf:Work[1]/bf:dissertation[2]/bf:Dissertation/bf:degree = 'Doctoral'"/>
<x:expect label="$c creates a grantingInstitution property of the Dissertation" test="//bf:Work[1]/bf:dissertation[2]/bf:Dissertation/bf:grantingInstitution/bf:Agent/rdfs:label = 'Ludwig-Maximilians-Universität, Munich'"/>
<x:expect label="$d creates a date property of the Dissertation" test="//bf:Work[1]/bf:dissertation[2]/bf:Dissertation/bf:date = '1965'"/>
<x:expect label="$g creates a note property of the Dissertation" test="//bf:Work[1]/bf:dissertation[2]/bf:Dissertation/bf:note/bf:Note/rdfs:label = 'Karl Schmidt''s thesis'"/>
<x:expect label="$o creates an identifiedBy property of the Dissertation" test="//bf:Work[1]/bf:dissertation[2]/bf:Dissertation/bf:identifiedBy/bf:DissertationIdentifier/rdf:value = 'U 58.4033.'"/>
</x:scenario>
<x:scenario label="504 - BIBLIOGRAPHY, ETC. NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="504 creates a rdf type property of the Instance" test="count(//bf:Instance[1]/bf:note[25]/bf:Note/rdf:type[@rdf:resource='http://id.loc.gov/vocabulary/mnotetype/biblio']) = 1"/>
<x:expect label="$a creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[25]/bf:Note/rdfs:label = '"Literature cited": p. 67-68.'"/>
<x:expect label="$b creates a count property of the Note" test="//bf:Instance[1]/bf:note[25]/bf:Note/bf:count = '19'"/>
</x:scenario>
<x:scenario label="505 - FORMATTED CONTENTS NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="505 creates a tableOfContents/TableOfContents property of the Work" test="//bf:Work[1]/bf:tableOfContents[1]/bf:TableOfContents/rdfs:label = 'Quatrain II (16:35) -- Water ways (1:57) / by Stephen Paulus.'"/>
<x:expect label="$u creates an electronicLocator property of the TableOfContents" test="//bf:Work[1]/bf:tableOfContents[1]/bf:TableOfContents/bf:electronicLocator/@rdf:resource = 'https://stephenpaulus.com'"/>
</x:scenario>
<x:scenario label="506 - RESTRICTIONS ON ACCESS NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="506 creates a usageAndAccessPolicy/AccessPolicy property of the Instance" test="//bf:Instance[1]/bf:usageAndAccessPolicy[1]/bf:AccessPolicy/rdfs:label[1] = 'Restricted access; Written permission required; Donor; Members of donor''s family; Title 50, chapter 401, U.S.C. Preview only 20190207 DLC'"/>
<x:expect label="$u creates an electronicLocator property of the AccessPolicy" test="//bf:Instance[1]/bf:usageAndAccessPolicy[1]/bf:AccessPolicy/bf:electronicLocator/@rdf:resource = 'https://www.gnu.org/licenses/gpl-3.0.txt'"/>
<x:expect label="$3 creates a bflc:appliesTo property of the AccessPolicy" test="//bf:Instance[1]/bf:usageAndAccessPolicy[1]/bf:AccessPolicy/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'Office files of Under Secretary'"/>
<x:expect label="$5 creates a bflc:applicableInstitution property of the AccessPolicy" test="//bf:Instance[1]/bf:usageAndAccessPolicy[1]/bf:AccessPolicy/bflc:applicableInstitution/bf:Agent/bf:code = 'MH'"/>
</x:scenario>
<x:scenario label="507 - SCALE NOTE FOR GRAPHIC MATERIAL">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="506 creates a scale property of the Work" test="//bf:Work[1]/bf:scale[1]/bf:Scale/rdfs:label = 'Scale 1:500,000; 1 in. equals 8 miles.'"/>
</x:scenario>
<x:scenario label="508 - CREATION/PRODUCTION CREDITS NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="508 creates a credits property of the Instance" test="//bf:Instance[1]/bf:credits[1] = 'Music, Michael Fishbein ; camera, George Mo.'"/>
</x:scenario>
<x:scenario label="511 - PARTICIPANT OR PERFORMER NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="511 creates a credits property of the Instance, with display constant based on ind1" test="//bf:Instance[1]/bf:credits[2] = 'Cast: Jackie Glanville.'"/>
</x:scenario>
<x:scenario label="513 - TYPE OF REPORT AND PERIOD COVERED NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="513 creates a note/Note property of the Instance with noteType 'report'" test="//bf:Instance[1]/bf:note[3]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/report'"/>
<x:expect label="$ab create an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[3]/bf:Note/rdfs:label = 'Quarterly technical progress report; Jan.-Apr. 1, 1977.'"/>
</x:scenario>
<x:scenario label="515 - NUMBERING PECULIARITIES NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="515 creates a note/Note property of the Instance with noteType 'issuance'" test="//bf:Instance[1]/bf:note[4]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/issuance'"/>
<x:expect label="$a creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[4]/bf:Note/rdfs:label = 'Issued in parts.'"/>
</x:scenario>
<x:scenario label="516 - TYPE OF COMPUTER FILE OR DATA NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="516 creates a note/Note property of the Instance with noteType 'computer'" test="//bf:Instance[1]/bf:note[5]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/computer'"/>
<x:expect label="$a creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[5]/bf:Note/rdfs:label = 'Computer programs.'"/>
</x:scenario>
<x:scenario label="518 - DATE/TIME AND PLACE OF AN EVENT NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="518 creates a capture/Capture property of the Work" test="count(//bf:Work[1]/bf:capture/bf:Capture) = 2"/>
<x:expect label="$a creates an rdfs:label property of the Capture" test="//bf:Work[1]/bf:capture[1]/bf:Capture/rdfs:label = 'Found on March 5, 1975, in Richmond, Tex.'"/>
<x:expect label="$d creates a date property of the Capture" test="//bf:Work[1]/bf:capture[2]/bf:Capture/bf:date = '1976 January through June'"/>
<x:expect label="$o creates a note property of the Capture" test="//bf:Work[1]/bf:capture[2]/bf:Capture/bf:note/bf:Note/rdfs:label = 'Filmed on location'"/>
<x:expect label="$p creates a place property of the Capture" test="//bf:Work[1]/bf:capture[2]/bf:Capture/bf:place/bf:Place/rdfs:label = 'Rome and Venice'"/>
<x:expect label="$3 creates a bflc:appliesTo property of the Capture" test="//bf:Work[1]/bf:capture[2]/bf:Capture/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'Part of the work'"/>
</x:scenario>
<x:scenario label="520 - SUMMARY, ETC.">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="520 creates a summary/Summary property of the Work" test="count(//bf:Work[1]/bf:summary/bf:Summary) = 1"/>
<x:expect label="$abc create an rdfs:label property of the Summary" test="//bf:Work[1]/bf:summary[1]/bf:Summary/rdfs:label = 'Contains swear words, sex scenes and violence, but otherwise it''s ok. Central County Library'"/>
<x:expect label="$u creates an electronicLocator property of the Summary" test="//bf:Work[1]/bf:summary[1]/bf:Summary/bf:electronicLocator/@rdf:resource = 'http://www.mpaa.org'"/>
<x:expect label="$3 creates a bflc:appliesTo property of the Summary" test="//bf:Work[1]/bf:summary[1]/bf:Summary/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'Some other part'"/>
</x:scenario>
<x:scenario label="521 - TARGET AUDIENCE NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="521 creates an intendedAudience/IntendedAudience property of the Work" test="count(//bf:Work[1]/bf:intendedAudience/bf:IntendedAudience) = 1"/>
<x:expect label="$ab creates an rdfs:label property of the IntendedAudience" test="//bf:Work[1]/bf:intendedAudience[1]/bf:IntendedAudience/rdfs:label = 'K-3. 4-6. Follett Library Book Co.'"/>
<x:expect label="ind1 can create a note property of the IntendedAudience" test="//bf:Work[1]/bf:intendedAudience[1]/bf:IntendedAudience/bf:note/bf:Note/rdfs:label = 'interest grade level'"/>
<x:expect label="$3 creates a bflc:appliesTo property of the IntendedAudience" test="//bf:Work[1]/bf:intendedAudience[1]/bf:IntendedAudience/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'Puzzles'"/>
</x:scenario>
<x:scenario label="522 - GEOGRAPHIC COVERAGE NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="522 creates a geographicCoverage/GeographicCoverage property of the Work" test="//bf:Work[1]/bf:geographicCoverage[1]/bf:GeographicCoverage/rdfs:label = 'Canada.'"/>
</x:scenario>
<x:scenario label="524 - PREFERRED CITATION OF DESCRIBED MATERIALS NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="524 creates a preferredCitation property of the Instance" test="//bf:Instance[1]/bf:preferredCitation[1] = 'James Hazen Hyde Papers, 1891-1941, New York Historical Society.'"/>
</x:scenario>
<x:scenario label="525 - SUPPLEMENT NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="525 creates a supplementaryContent/SupplementaryContent property of the Work" test="//bf:Work[1]/bf:supplementaryContent[1]/bf:SupplementaryContent/rdfs:label = 'Has numerous supplements.'"/>
</x:scenario>
<x:scenario label="530 - ADDITIONAL PHYSICAL FORM AVAILABLE NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="530 creates a note property of the Instance, label from $abc" test="//bf:Instance[1]/bf:note[6]/bf:Note/rdfs:label = 'Available in microfilm; National Archives; Standing order account required.'"/>
<x:expect label="...with noteType 'addphys'" test="//bf:Instance[1]/bf:note[6]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/addphys'"/>
<x:expect label="$d creates an identifiedBy/StockNumber property of the Note" test="//bf:Instance[1]/bf:note[6]/bf:Note/bf:identifiedBy/bf:StockNumber/rdf:value = 'M449'"/>
<x:expect label="$u creates an electronicLocator property of the Note" test="//bf:Instance[1]/bf:note[6]/bf:Note/bf:electronicLocator/@rdf:resource = 'http://www.bartleby.com/99/index.html'"/>
<x:expect label="$3 creates a bflc:appliesTo property of the Note" test="//bf:Instance[1]/bf:note[6]/bf:Note/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'Dispatches from U.S. consuls in Batavia, Java, Netherlands East Indies, 1818-1906'"/>
</x:scenario>
<x:scenario label="532 - ACCESSIBILITY NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="532 creates a contentAccessibility/ContentAccessibility property of the Instance" test="//bf:Instance[1]/bf:contentAccessibility[1]/bf:ContentAccessibility/rdfs:label = 'Closed captioning in English'"/>
<x:expect label="532 creates a contentAccessibility/ContentAccessibility property of the Instance" test="//bf:Instance[1]/bf:contentAccessibility[2]/bf:ContentAccessibility/rdfs:label = 'Closed captioning in English of the special DVD'"/>
<x:expect label="...and an appliesTo" test="//bf:Instance[1]/bf:contentAccessibility[2]/bf:ContentAccessibility/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'Special DVD, naturally'"/>
</x:scenario>
<x:scenario label="533 - REPRODUCTION NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="533 creates a note property of the Instance with label from $abcdefn" test="//bf:Instance[1]/bf:note[7]/bf:Note/rdfs:label = 'Microfilm. Middleton, Conn., Wesleyan University Archives, 1973 35 mm. negative. (Current periodical series : publication no. 2313). Issues for 1853-1856 on reel with: Journal of the American Temperance Union and the New York prohibitionist, v. 21, no. 7 (July 1857)-v. 24 (1860).'"/>
<x:expect label="...with noteType 'repro'" test="//bf:Instance[1]/bf:note[7]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/repro'"/>
<x:expect label="$m creates a bflc:appliesTo property of the Note" test="//bf:Instance[1]/bf:note[7]/bf:Note/bflc:appliesTo[1]/bflc:AppliesTo/rdfs:label = '1962-1965'"/>
<x:expect label="$3 creates a bflc:appliesTo property of the Note" test="//bf:Instance[1]/bf:note[7]/bf:Note/bflc:appliesTo[2]/bflc:AppliesTo/rdfs:label = 'Correspondence files'"/>
<x:expect label="$5 creates a bflc:applicableInstitution property of the Note" test="//bf:Instance[1]/bf:note[7]/bf:Note/bflc:applicableInstitution/bf:Agent/bf:code = 'ICU'"/>
</x:scenario>
<x:scenario label="534 - ORIGINAL VERSION NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="534 creates a note property of the Instance with label from $abcefkmnt" test="//bf:Instance[1]/bf:note[8]/bf:Note/rdfs:label = 'Berlin :Eulenspiegel, c1978, 1st ed. Frederick, John. under title: Luck. 1 art original : oil, col. ; 79 x 64 cm. (International series of monographs on electromagnetic waves ; v. 4). American journal of theology & philosophy, at scale 1:50,000.'"/>
<x:expect label="...with noteType 'orig'" test="//bf:Instance[1]/bf:note[8]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/orig'"/>
<x:expect label="$p creates a bflc:appliesTo property of the Note" test="//bf:Instance[1]/bf:note[8]/bf:Note/bflc:appliesTo[1]/bflc:AppliesTo/rdfs:label = 'Reprint. Originally published'"/>
<x:expect label="$x creates an identifiedBy/Issn property of the Note" test="//bf:Instance[1]/bf:note[8]/bf:Note/bf:identifiedBy/bf:Issn/rdf:value = '0228-913X'"/>
<x:expect label="$z creates an identifiedBy/Isbn property of the Note" test="//bf:Instance[1]/bf:note[8]/bf:Note/bf:identifiedBy/bf:Isbn/rdf:value = '0385061781 (v. 1)'"/>
<x:expect label="$3 creates a bflc:appliesTo property of the Note" test="//bf:Instance[1]/bf:note[8]/bf:Note/bflc:appliesTo[2]/bflc:AppliesTo/rdfs:label = 'vol. 2'"/>
</x:scenario>
<x:scenario label="536 - FUNDING INFORMATION NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="536 creates a note/Note property of the Instance with noteType 'fundinfo'" test="//bf:Instance[1]/bf:note[9]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/fundinfo'"/>
<x:expect label="$a creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[9]/bf:Note/rdfs:label[1] = 'Sponsored by the U.S. Air Force'"/>
<x:expect label="$b creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[9]/bf:Note/rdfs:label[2] = 'Contract: N00014-68-A-0245-0007'"/>
<x:expect label="$c creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[9]/bf:Note/rdfs:label[3] = 'Grant: EF-77-C-01-2556'"/>
<x:expect label="$d creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[9]/bf:Note/rdfs:label[4] = '910 3450'"/>
<x:expect label="$e creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[9]/bf:Note/rdfs:label[5] = 'Program element: 601101F'"/>
<x:expect label="$f creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[9]/bf:Note/rdfs:label[6] = 'Project: 1LIR'"/>
<x:expect label="$g creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[9]/bf:Note/rdfs:label[7] = 'Task: 5H'"/>
<x:expect label="$h creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[9]/bf:Note/rdfs:label[8] = 'Work unit: WUAFGLILIR5H01'"/>
</x:scenario>
<x:scenario label="538 - SYSTEM DETAILS NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="538 creates a systemRequirement/SystemRequirement property of the Instance" test="count(//bf:Instance[1]/bf:systemRequirement/bf:SystemRequirement) = 1"/>
<x:expect label="$a creates an rdfs:label property of the SystemRequirement" test="//bf:Instance[1]/bf:systemRequirement[1]/bf:SystemRequirement/rdfs:label[1] = 'Master and use copy. Digital Master created according to Benchmark for Faithful Digital Reproductions of Monographs and Serials, Version 1. Digital Library Federation, December 2002.'"/>
<x:expect label="$u creates an electronicLocator property of the SystemRequirement" test="//bf:Instance[1]/bf:systemRequirement[1]/bf:SystemRequirement/bf:electronicLocator/@rdf:resource = 'http://www.diglib.org/standards/bmarkfin.htm'"/>
<x:expect label="$3 creates a bflc:appliesTo property of the SystemRequirement" test="//bf:Instance[1]/bf:systemRequirement[1]/bf:SystemRequirement/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'v.1-49(1927-1975)'"/>
<x:expect label="$5 creates a bflc:applicableInstitution property of the SystemRequirement" test="//bf:Instance[1]/bf:systemRequirement[1]/bf:SystemRequirement/bflc:applicableInstitution/bf:Agent/bf:code = 'NIC'"/>
</x:scenario>
<x:scenario label="540 - TERMS GOVERNING USE AND REPRODUCTION NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="540 creates a usageAndAccessPolicy/UsePolicy property of the Instance" test="count(//bf:Instance[1]/bf:usageAndAccessPolicy/bf:UsePolicy) = 1"/>
<x:expect label="$acfgq creates an rdfs:label property of the UsePolicy" test="//bf:Instance[1]/bf:usageAndAccessPolicy[2]/bf:UsePolicy/rdfs:label[1] = 'Photocopying prohibited; 50 Stat.88; CC BY-NC-ND 20190523 DLC'"/>
<x:expect label="$d creates a note property of the UsePolicy" test="//bf:Instance[1]/bf:usageAndAccessPolicy[2]/bf:UsePolicy/bf:note/bf:Note/rdfs:label = 'Authorized users: Executor of estate'"/>
<x:expect label="$u creates an electronicLocator property of the UsePolicy" test="//bf:Instance[1]/bf:usageAndAccessPolicy[2]/bf:UsePolicy/bf:electronicLocator/@rdf:resource = 'http://lcweb.loc.gov/rr/print/195_copr.html'"/>
<x:expect label="$2 creates a bf:source property of the UserPolicy" test="//bf:Instance[1]/bf:usageAndAccessPolicy[2]/bf:UsePolicy/bf:source/bf:Source/bf:code = 'HCO'"/>
<x:expect label="$3 creates a bflc:appliesTo property of the UsePolicy" test="//bf:Instance[1]/bf:usageAndAccessPolicy[2]/bf:UsePolicy/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'Diaries'"/>
<x:expect label="$5 creates a bflc:applicableInstitution property of the UsePolicy" test="//bf:Instance[1]/bf:usageAndAccessPolicy[2]/bf:UsePolicy/bflc:applicableInstitution/bf:Agent/bf:code = 'DLC'"/>
</x:scenario>
<x:scenario label="541 - IMMEDIATE SOURCE OF ACQUISITION NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="541 creates a new Item with an immediateAcquisition/ImmediateAcquisition property" test="count(//bf:Item/bf:immediateAcquisition/bf:ImmediateAcquisition) = 1"/>
<x:expect label="$abcdefhno creates an rdfs:label property of the ImmediateAcquistion" test="//bf:Item[1]/bf:immediateAcquisition[1]/bf:ImmediateAcquisition/rdfs:label = '25 reels of microfilm U.S. Department of Transportation; Transfer under schedule; 1980/01/10.'"/>
<x:expect label="$3 creates a bflc:appliesTo property of the ImmediateAcquisition" test="//bf:Item[1]/bf:immediateAcquisition/bf:ImmediateAcquisition/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'Materials scheduled for permanent retention'"/>
<x:expect label="$5 creates a bflc:applicableInstitution property of the ImmediateAcquisition" test="//bf:Item[1]/bf:immediateAcquisition/bf:ImmediateAcquisition/bflc:applicableInstitution/bf:Agent/bf:code = 'DLC'"/>
</x:scenario>
<x:scenario label="544 - LOCATION OF OTHER ARCHIVAL MATERIALS NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="544 creates a note/Note property of the Instance with noteType 'related'" test="//bf:Instance[1]/bf:note[10]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/related'"/>
<x:expect label="$abcden create an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[10]/bf:Note/rdfs:label = 'Burt Barnes papers; Also located at; State Historical Society of Wisconsin.'"/>
<x:expect label="$3 creates a bflc:appliesTo property of the Note" test="//bf:Instance[1]/bf:note[10]/bf:Note/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'Flamingo statues'"/>
</x:scenario>
<x:scenario label="545 - BIOGRAPHICAL OR HISTORICAL DATA">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="545 creates a note/Note property of the Instance with noteType from ind1" test="//bf:Instance[1]/bf:note[11]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/biogdata'"/>
<x:expect label="$ab create an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[11]/bf:Note/rdfs:label[1] = 'Author and reformer. Born Harriet Elizabeth Beecher.'"/>
<x:expect label="$u creates an electronicLocator property of the Note" test="//bf:Instance[1]/bf:note[11]/bf:Note/bf:electronicLocator/@rdf:resource = 'https://www.harrietbeecherstowecenter.org/hbs/'"/>
</x:scenario>
<x:scenario label="546 - LANGUAGE NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="$a creates a note/Note property of the Work" test="//bf:Work[1]/bf:note/bf:Note/rdfs:label = 'German'"/>
<x:expect label="$a creates a note/Note property of the Work with a note type of lang" test="//bf:Work[1]/bf:note/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/lang'"/>
<x:expect label="$b creates a notation property of the Work" test="//bf:Work[1]/bf:notation/bf:Notation/rdfs:label = 'Fraktur'"/>
<x:expect label="$3 creates a bflc:appliesTo property of the Note/Notation" test="//bf:Work[1]/bf:note/bf:Note/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'Marriage certificate' and //bf:Work[1]/bf:notation/bf:Notation/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'Marriage certificate'"/>
</x:scenario>
<x:scenario label="547 - FORMER TITLE COMPLEXITY NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="547 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[12]/bf:Note/rdfs:label = 'Edition varies: 1916, New York edition.'"/>
</x:scenario>
<x:scenario label="550 - ISSUING BODY NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="550 creates a note/Note property of the Instance with noteType 'issuing'" test="//bf:Instance[1]/bf:note[13]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/issuing'"/>
<x:expect label="$a creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[13]/bf:Note/rdfs:label = 'Vols. for 1972- issued with: Bureau de recherches géologiques et minières.'"/>
</x:scenario>
<x:scenario label="555 - CUMULATIVE INDEX/FINDING AIDS NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="555 creates a note/Note property of the Instance with noteType from ind1" test="//bf:Instance[1]/bf:note[14]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/finding'"/>
<x:expect label="$abcd create an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[14]/bf:Note/rdfs:label[1] = 'Preliminary inventory prepared in 1962; Available in NARS central search room.'"/>
<x:expect label="$u creates an electronicLocator property of the Note" test="//bf:Instance[1]/bf:note[14]/bf:Note/bf:electronicLocator/@rdf:resource = 'http://hdl.loc.gov/loc.mss/eadmss.ms996001'"/>
<x:expect label="$3 creates a bflc:appliesTo property of the Note" test="//bf:Instance[1]/bf:note[14]/bf:Note/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'Claims settled under Treaty of Washington, May 8, 1871'"/>
</x:scenario>
<x:scenario label="556 - INFORMATION ABOUT DOCUMENTATION NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="556 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[15]/bf:Note/rdfs:label = 'BASIC reference. 3rd ed. Boca Raton, Fl. : IBM, c1984. (Personal computer hardware reference library); 6361132.'"/>
</x:scenario>
<x:scenario label="561 - OWNERSHIP AND CUSTODIAL HISTORY">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="561 creates a custodialHistory property on Instance" test="//bf:Instance[1]/bf:custodialHistory = 'On permanent loan from the collection of Paul Mellon.'"/>
<x:expect label="561 with $5 creates a custodialHistory property on Item" test="//bf:Instance[1]/bf:hasItem/bf:Item/bf:custodialHistory = 'LC copy has something special about it.'"/>
</x:scenario>
<x:scenario label="563 - BINDING INFORMATION">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="563 creates a note/Note property on Instance with rdf:type 'http://id.loc.gov/vocabulary/mnotetype/binding'" test="//bf:Instance[1]/bf:note[16]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/binding'"/>
<x:expect label="$a creates an rdfs:label property of the note" test="//bf:Instance[1]/bf:note[16]/bf:Note/rdfs:label = 'Late 16th century blind-tooled centrepiece binding, dark brown calf.'"/>
<x:expect label="563 with $5 creates a note/Note property of an Item with rdf:type 'http://id.loc.gov/vocabulary/mnotetype/binding'" test="//bf:Instance[1]/bf:hasItem/bf:Item/bf:note[3]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/binding'"/>
<x:expect label="$a creates an rdfs:label property of the note" test="//bf:Instance[1]/bf:hasItem/bf:Item/bf:note[3]/bf:Note/rdfs:label = 'LC copy binding is something special indeed!'"/>
</x:scenario>
<x:scenario label="580 - LINKING ENTRY COMPLEXITY NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="580 creates a note/Note property of the Work" test="//bf:Work[1]/bf:note[2]/bf:Note/rdfs:label = 'Forms part of the Frances Benjamin Johnston Collection.'"/>
</x:scenario>
<x:scenario label="581 - PUBLICATIONS ABOUT DESCRIBED MATERIALS NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="581 creates a note/Note property of the Instance with noteType 'related'" test="//bf:Instance[1]/bf:note[18]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/related'"/>
<x:expect label="$a creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[18]/bf:Note/rdfs:label = 'Reproduction: Antiques, June 1952, p. 76.'"/>
<x:expect label="$z creates an identifiedBy property of the Note" test="//bf:Instance[1]/bf:note[18]/bf:Note/bf:identifiedBy/bf:Isbn/rdf:value = '1234567890'"/>
<x:expect label="$3 creates a bflc:appliesTo property of the Note" test="//bf:Instance[1]/bf:note[18]/bf:Note/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'Preliminary reports'"/>
</x:scenario>
<x:scenario label="583 - ACTION NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="583 creates a note/Note property of an Item with a noteType 'action'" test="//bf:Instance[1]/bf:note[19]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/action'"/>
<x:expect label="$a creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[19]/bf:Note/rdfs:label[1] = 'downgraded'"/>
<x:expect label="$c creates a date property of the Note" test="//bf:Instance[1]/bf:note[19]/bf:Note/bf:date = '19910110'"/>
<x:expect label="$h creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[19]/bf:Note/rdfs:label[2] = 'Joe Smith'"/>
<x:expect label="$k creates an agent property of the Note" test="//bf:Instance[1]/bf:note[19]/bf:Note/bf:agent/bf:Agent/rdfs:label = 'Thomas Swing'"/>
<x:expect label="$l creates a status property of the Note" test="//bf:Instance[1]/bf:note[19]/bf:Note/bf:status/bf:Status/rdfs:label = 'mutilated'"/>
<x:expect label="$u creates an electronicLocator property of the Note" test="//bf:Instance[1]/bf:note[19]/bf:Note/bf:electronicLocator/@rdf:resource = 'http://karamelik.eastlib.ufl.edu/cgi-bin/conserve/rara.pl'"/>
<x:expect label="$z creates a note/Note property of the Note" test="//bf:Instance[1]/bf:note[19]/bf:Note/bf:note/bf:Note/rdfs:label = 'Institute for Museum and Library Services grant'"/>
<x:expect label="$2 creates a source property of the Note" test="//bf:Instance[1]/bf:note[19]/bf:Note/bf:source/bf:Source/bf:code = 'pda'"/>
<x:expect label="583 with $5 creates a note/Note property of an Item with a noteType 'action'" test="//bf:Instance[1]/bf:hasItem/bf:Item/bf:note[4]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/action'"/>
<x:expect label="$a creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:hasItem/bf:Item/bf:note[4]/bf:Note/rdfs:label[1] = 'upgraded'"/>
<x:expect label="$c creates a date property of the Note" test="//bf:Instance[1]/bf:hasItem/bf:Item/bf:note[4]/bf:Note/bf:date = '19920110'"/>
<x:expect label="$h creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:hasItem/bf:Item/bf:note[4]/bf:Note/rdfs:label[2] = 'Guy 1'"/>
<x:expect label="$k creates an agent property of the Note" test="//bf:Instance[1]/bf:hasItem/bf:Item/bf:note[4]/bf:Note/bf:agent/bf:Agent/rdfs:label = 'Gal 2'"/>
<x:expect label="$l creates a status property of the Note" test="//bf:Instance[1]/bf:hasItem/bf:Item/bf:note[4]/bf:Note/bf:status/bf:Status/rdfs:label = 'mutilated'"/>
<x:expect label="$u creates an electronicLocator property of the Note" test="//bf:Instance[1]/bf:hasItem/bf:Item/bf:note[4]/bf:Note/bf:electronicLocator/@rdf:resource = 'http://karamelik.eastlib.ufl.edu/domain/no/existy.pl'"/>
<x:expect label="$z creates a note/Note property of the Note" test="//bf:Instance[1]/bf:hasItem/bf:Item/bf:note[4]/bf:Note/bf:note/bf:Note/rdfs:label = 'Institute for Museum and Library Services grant'"/>
<x:expect label="$2 creates a source property of the Note" test="//bf:Instance[1]/bf:hasItem/bf:Item/bf:note[4]/bf:Note/bf:source/bf:Source/bf:code = 'pda'"/>
</x:scenario>
<x:scenario label="585 - EXHIBITIONS NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="585 creates a note/Note property of the Instance with noteType 'exhibit'" test="//bf:Instance[1]/bf:note[21]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/exhibit'"/>
<x:expect label="$a creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[21]/bf:Note/rdfs:label = 'Exhibited: "Le Brun à Versailles," sponsored by the Cabinet des dessins, Musée du Louvre, 1985-1986.'"/>
<x:expect label="$3 creates a bflc:appliesTo property of the Note" test="//bf:Instance[1]/bf:note[21]/bf:Note/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'Color lithographs'"/>
<x:expect label="$5 creates a bflc:applicableInstitution property of the Note" test="//bf:Instance[1]/bf:note[21]/bf:Note/bflc:applicableInstitution/bf:Agent/bf:code = 'DLC'"/>
</x:scenario>
<x:scenario label="586 - AWARDS NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="586 creates a note/Note property of the Work with award note rdf type" test="//bf:Work[1]/bf:note[3]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/award'"/>
<x:expect label="$a creates an rdfs:label on the Note" test="//bf:Work[1]/bf:note[3]/bf:Note/rdfs:label = 'National Book Award, 1981'"/>
<x:expect label="$3 creates an appliesTo abnomination" test="//bf:Work[1]/bf:note[3]/bf:Note/bflc:appliesTo/bflc:AppliesTo/rdfs:label = 'Accompanying material'"/>
</x:scenario>
<x:scenario label="587 - DATA SOURCE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="587 creates a note/Note property of the Work with noteType from ind1" test="//bf:Work[1]/bf:note[4]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/datasource'"/>
<x:expect label="$a creates preferredCitation property of the Note" test="//bf:Work[1]/bf:note[4]/bf:Note/bf:preferredCitation = 'Borges, Jorge Luis. El aleph [ER], 2011'"/>
<x:expect label="$b creates an rdfs:label on the Note" test="//bf:Work[1]/bf:note[4]/bf:Note/rdfs:label = 'table of contents frame (Lists 16 short stories including the title story El Aleph) title page frame (Jorge Luis Borges. Debolsillo)'"/>
<x:expect label="$u create an electronicLocatr property of the Note" test="//bf:Work[1]/bf:note[4]/bf:Note/bf:electronicLocator/@rdf:resource = 'https://toc.content.gov'"/>
</x:scenario>
<x:scenario label="588 - SOURCE OF DESCRIPTION NOTE">
<x:context href="data/ConvSpec-5XX/marc.xml"/>
<x:expect label="588 creates a note/Note property of the Instance with noteType 'descsource'" test="//bf:Instance[1]/bf:note[22]/bf:Note/rdf:type/@rdf:resource = 'http://id.loc.gov/vocabulary/mnotetype/descsource'"/>
<x:expect label="$a creates an rdfs:label property of the Note" test="//bf:Instance[1]/bf:note[22]/bf:Note/rdfs:label = 'Publication to be resumed by F&W Publications, Inc.in Oct. 2009.'"/>
<x:expect label="Display constant can be generated by ind1" test="//bf:Instance[1]/bf:note[23]/bf:Note/rdfs:label = 'Description based on: Volume 2.'"/>
<x:expect label="$5 creates a bflc:applicableInstitution property of the Note" test="//bf:Instance[1]/bf:note[22]/bf:Note/bflc:applicableInstitution/bf:Agent/bf:code = 'EZB'"/>
</x:scenario>
</x:description>