forked from lcnetdev/marc2bibframe2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConvSpec-880.xspec
122 lines (118 loc) · 19.8 KB
/
ConvSpec-880.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
<?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="MARC tag 880">
<x:context href="data/ConvSpec-880/marc.xml"/>
<x:expect label="$6 052 creates a geographicCoverage property of the Work" test="//bf:Work[1]/bf:geographicCoverage[1]/bf:Place/rdfs:label = 'Нью-Йорк'"/>
<x:expect label="$6 055 creates a classification property of the Work" test="//bf:Work[1]/bf:classification[1]/bf:ClassificationLcc/bf:classificationPortion = 'פ5050 .2'"/>
<x:expect label="$6 072 creates a subject property of the Work" test="//bf:Work[1]/bf:subject[1]/rdfs:Resource/rdf:value = 'ז 1 .630'"/>
<x:expect label="$6 082 creates a classification property of the Work" test="//bf:Work[1]/bf:classification[2]/bf:ClassificationDdc/bf:classificationPortion = '975,5 / 4252/00222'"/>
<x:expect label="$6 084 creates a classification property of the Work" test="//bf:Work[1]/bf:classification[3]/bf:Classification/bf:classificationPortion = 'קב112.554'"/>
<x:expect label="$6 086 creates a classification property of the Instance" test="//bf:Instance[1]/bf:classification[1]/bf:Classification/rdfs:label = 'A 1.1:'"/>
<x:expect label="$6 1XX should make an Agent" test="//bf:Work[1]/bf:contribution[1]/bf:Contribution/bf:agent/bf:Agent/rdfs:label = '東海道五十三次絵卷.'"/>
<x:expect label="$6 X30-xx/240-xx should make a Title" test="//bf:Work[1]/bf:title[1]/bf:Title/bf:mainTitle = 'ملحمة دانيال'"/>
<x:expect label="$6 210-xx should make an AbbreviatedTitle" test="//bf:Instance[1]/bf:title[1]/bf:Title/rdf:type[2]/@rdf:resource = 'http://id.loc.gov/ontologies/bibframe/AbbreviatedTitle'"/>
<x:expect label="$6 222-xx should make a KeyTitle" test="//bf:Instance[1]/bf:title[2]/bf:Title/rdf:type[2]/@rdf:resource = 'http://id.loc.gov/ontologies/bibframe/KeyTitle'"/>
<x:expect label="$6 242-xx should make a VariantTitle with varientType 'translated'" test="//bf:Instance[1]/bf:title[3]/bf:Title/bf:variantType = 'translated'"/>
<x:expect label="$6 243-xx should make a CollectiveTitle" test="//bf:Work[1]/bf:title[2]/bf:Title/rdf:type[2]/@rdf:resource = 'http://id.loc.gov/ontologies/bibframe/CollectiveTitle'"/>
<x:expect label="$6 245-xx should make a Title" test="//bf:Instance[1]/bf:title[4]/bf:Title/rdfs:label = '東海道五十三次絵卷.'"/>
<x:expect label="$6 246-xx should make a VariantTitle" test="//bf:Instance[1]/bf:title[5]/bf:Title/rdf:type[1]/@rdf:resource = 'http://id.loc.gov/ontologies/bibframe/VariantTitle'"/>
<x:expect label="$6 247-xx should make a VariantTitle with varientType 'former'" test="//bf:Instance[1]/bf:title[6]/bf:Title/bf:variantType = 'former'"/>
<x:expect label="$6 250 creates an editionStatement property of the Instance" test="//bf:Instance[1]/bf:editionStatement = 'Третий проект / под редакцией Пола Уотсона'"/>
<x:expect label="$6 254 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[1]/bf:Note/rdfs:label = 'Полный счет'"/>
<x:expect label="$6 255 $a creates a scale property of the Work" test="//bf:Work[1]/bf:scale/bf:Scale/rdfs:label = 'Масштаб не дано'"/>
<x:expect label="$6 256 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[2]/bf:Note/rdfs:label = 'Компьютерные данные (2 файлов: 876,000, 775,000 записей)'"/>
<x:expect label="$6 257 creates a provisionActivity property of the Instance" test="//bf:Instance[1]/bf:provisionActivity[1]/bf:Production/bf:place/bf:Place/rdfs:label = 'Франция'"/>
<x:expect label="$6 260 creates a provisionActivity property of the Instance" test="//bf:Instance[1]/bf:provisionActivity[2]/bf:ProvisionActivity/bf:place/bf:Place/rdfs:label = 'Лондон'"/>
<x:expect label="$6 261 creates a provisionActivity property of the Instance" test="//bf:Instance[1]/bf:provisionActivity[3]/bf:ProvisionActivity/bf:agent/bf:Agent/rdfs:label = 'Coronet Фильмы'"/>
<x:expect label="$6 262 creates a provisionActivity property of the Instance" test="//bf:Instance[1]/bf:provisionActivity[4]/bf:ProvisionActivity/bf:place/bf:Place/rdfs:label = 'Луисвилл, Кентукки.'"/>
<x:expect label="$6 263 creates a bflc:projectedPubDate property of the Instance" test="//bf:Instance[1]/bflc:projectedPubDate[1] = '1999-XX'"/>
<x:expect label="$6 264 creates a provisionActivity property of the Instance" test="//bf:Instance[1]/bf:provisionActivity[5]/bf:ProvisionActivity/bf:place/bf:Place/rdfs:label = 'Сиэтл'"/>
<x:expect label="$6 300 creates an extent property of the Instance" test="//bf:Instance[1]/bf:extent[1]/bf:Extent/rdfs:label = '1 коробка 2 x 4 x 3 1/2 ft.'"/>
<x:expect label="$6 306 creates a duration property of the Instance" test="//bf:Instance[1]/bf:duration[1] = '002016'"/>
<x:expect label="$6 310 creates a frequency property of the Instance" test="//bf:Instance[1]/bf:frequency[1]/bf:Frequency/rdfs:label = 'годовой'"/>
<x:expect label="$6 321 creates a frequency property of the Instance" test="//bf:Instance[1]/bf:frequency[2]/bf:Frequency/rdfs:label = 'Полугодовой'"/>
<x:expect label="$6 336 creates a content property of the Work" test="//bf:Work[1]/bf:content[1]/bf:Content/rdfs:label = 'исполняемая музыка'"/>
<x:expect label="$6 337 creates a media property of the Instance" test="//bf:Instance[1]/bf:media[1]/bf:Media/rdfs:label = 'аудио'"/>
<x:expect label="$6 338 creates a carrier property of the Instance" test="//bf:Instance[1]/bf:carrier[1]/bf:Carrier/rdfs:label = 'аудиодиск'"/>
<x:expect label="$6 340 creates a bunch of Instance properties" test="//bf:Instance[1]/bf:baseMaterial[1]/bf:BaseMaterial/rdfs:label = 'рисовая бумага'"/>
<x:expect label="$6 344 creates a bunch of Instance soundCharacteristic properties" test="//bf:Instance[1]/bf:soundCharacteristic[1]/bf:RecordingMethod/rdfs:label = 'цифровой'"/>
<x:expect label="$6 345 creates a bunch of Instance projectionCharacteristic properties" test="//bf:Instance[1]/bf:projectionCharacteristic[1]/bf:PresentationFormat/rdfs:label = 'синерама'"/>
<x:expect label="$6 345 creates a bunch of Instance projectionCharacteristic properties" test="//bf:Instance[1]/bf:projectionCharacteristic[1]/bf:PresentationFormat/rdfs:label = 'синерама'"/>
<x:expect label="$6 346 creates Instance videoCharacteristic properties" test="//bf:Instance[1]/bf:videoCharacteristic[1]/bf:VideoFormat/rdfs:label = 'Бета'"/>
<x:expect label="$6 347 creates Instance digitalCharacteristic properties" test="//bf:Instance[1]/bf:digitalCharacteristic[1]/bf:FileType/rdfs:label = 'файл изображения'"/>
<x:expect label="$6 348 creates a musicFormat property of the Instance" test="//bf:Instance[1]/bf:musicFormat/bf:MusicFormat/rdfs:label = 'клавир'"/>
<x:expect label="$6 350 creates an acquisitionSource property of the Instance" test="//bf:Instance[1]/bf:acquisitionSource[1]/bf:AcquisitionSource/bf:acquisitionTerms = '$20.00'"/>
<x:expect label="$6 351 creates an arrangement property of the Work" test="//bf:Work[1]/bf:arrangement[1]/bf:Arrangement/bf:organization = 'SPSS системный файл'"/>
<x:expect label="$6 352 creates a digitalCharacteristic property of the Instance" test="//bf:Instance[1]/bf:digitalCharacteristic[2]/bf:CartographicDataType = 'Вектор'"/>
<x:expect label="$6 362 creates a firstIssue/lastIssue or note property of the Instance" test="//bf:Instance[1]/bf:note/bf:Note/bf:noteType[text()='Numbering']/parent::*/rdfs:label = '3 выпуска в том. 1, прекратилось с 3 (1983)'"/>
<x:expect label="$6 380 creates genreForm properties of the Work" test="//bf:Work[1]/bf:genreForm[1]/bf:GenreForm/rdfs:label = 'Телевизионная программа'"/>
<x:expect label="$6 382 creates musicMedium properties of the Work" test="//bf:Work[1]/bf:musicMedium[1]/bf:MusicMedium/rdfs:label = 'пианино'"/>
<x:expect label="$6 383 creates music number properties of the Work" test="//bf:Work[1]/bf:musicSerialNumber[1] = '没有。 14'"/>
<x:expect label="$6 385 creates intendedAudience properties of the Work" test="//bf:Work[1]/bf:intendedAudience[1]/bf:IntendedAudience/rdfs:label = 'Дети'"/>
<x:expect label="$6 386 creates creatorCharacteristic properties of the Work" test="//bf:Work[1]/bflc:creatorCharacteristic[1]/bflc:CreatorCharacteristic/rdfs:label = 'Дети'"/>
<x:expect label="$6 500 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[4]/bf:Note/rdfs:label = 'Из работ семьи Chase.'"/>
<x:expect label="$6 501 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[5]/bf:Note/rdfs:label = 'С: реформированная школа / John Дьюри. Лондон: Печатный для Р. Wasnothe, [1850]'"/>
<x:expect label="$6 502 creates a dissertation property of the Work" test="//bf:Work[1]/bf:dissertation[1]/bf:Dissertation/rdfs:label = 'тезис Карла Шмидта (докторская) - Людвиг-Максимилиана Universität, Munich, 1965.'"/>
<x:expect label="$6 504 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[6]/bf:Note/rdfs:label = '"Литература цитируется": стр. 67-68.'"/>
<x:expect label="$6 505 creates a tableOfContents property of the Instance" test="//bf:Instance[1]/bf:tableOfContents/bf:TableOfContents/rdfs:label = 'Как были обнаружены эти записи - Краткий очерк Талмудов - письмо Константина.'"/>
<x:expect label="$6 506 creates a usageAndAccessPolicy property of the Instance" test="//bf:Instance[1]/bf:usageAndAccessPolicy[1]/bf:UsageAndAccessPolicy/rdfs:label = 'Классифицированная информация.'"/>
<x:expect label="$6 507 creates a scale property of the Instance" test="//bf:Instance/bf:scale[1] = 'Перспектива карта не в масштабе.'"/>
<x:expect label="$6 508 creates a credits property of the Work" test="//bf:Work[1]/bf:credits[1] = 'Музыка, Майкл Фишбейн; камера, Джордж Mo.'"/>
<x:expect label="$6 510 creates a bflc:indexedIn property of the Instance" test="//bf:Instance[1]/bflc:indexedIn[1]/bf:Instance/bf:title/bf:Title/rdfs:label = 'химический рефераты'"/>
<x:expect label="$6 511 creates a bf:credits property of the Work" test="//bf:Work[1]/bf:credits[2] = 'Джеки Гланвилл.'"/>
<x:expect label="$6 513 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[7]/bf:Note/rdfs:label = 'Ежеквартальный отчет технический прогресс; Январь-апрель 1, 1977.'"/>
<x:expect label="$6 515 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[8]/bf:Note/rdfs:label = 'Выпущенные в частях.'"/>
<x:expect label="$6 516 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[9]/bf:Note/rdfs:label = 'Компьютерные программы.'"/>
<x:expect label="$6 518 creates a capture property of the Work" test="//bf:Work[1]/bf:capture/bf:Capture/rdfs:label = 'Работы по звуковым сопровождением диск записан 1955-1963 в различных местах.'"/>
<x:expect label="$6 520 creates a summary property of the Work" test="//bf:Work[1]/bf:summary[1]/bf:Summary/rdfs:label = 'Иллюстрированный сборник потешек на музыку.'"/>
<x:expect label="$6 521 creates an intendedAudience property of the Instance" test="//bf:Instance[1]/bf:intendedAudience[1]/bf:IntendedAudience/rdfs:label = 'Умеренно мотивировано.'"/>
<x:expect label="$6 522 creates a geographicCoverage/GeographicCoverage property of the Work" test="//bf:Work[1]/bf:geographicCoverage[2]/bf:GeographicCoverage/rdfs:label = 'Канада.'"/>
<x:expect label="$6 525 creates a supplementaryContent/SupplementaryContent property of the Instance" test="//bf:Instance[1]/bf:supplementaryContent[1]/bf:SupplementaryContent/rdfs:label = 'Имеет многочисленные добавки.'"/>
<x:expect label="$6 530 creates a hasInstance/Instance property of the Work" test="//bf:Work[1]/bf:hasInstance[1]/bf:Instance/bf:note/bf:Note/rdfs:label = 'Доступно на микрофиши'"/>
<x:expect label="$6 533 creates a hasInstance/Instance property of the Work" test="//bf:Work[1]/bf:hasInstance[2]/bf:Instance/bf:carrier/bf:Carrier/rdfs:label = 'Микрофильмов'"/>
<x:expect label="$6 534 creates a hasInstance/Instance property of the Work" test="//bf:Work[1]/bf:hasInstance[3]/bf:Instance/bf:provisionActivityStatement = 'Нью-Йорк: Garland, 1987'"/>
<x:expect label="$6 535 creates a hasItem/Item property of the related 880/533 or 880/534 Instance" test="//bf:Work[1]/bf:hasInstance[3]/bf:Instance/bf:hasItem/bf:Item/bf:heldBy/bf:Agent/rdfs:label = 'Американский горный конгресс'"/>
<x:expect label="$6 536 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[10]/bf:Note/rdfs:label = 'При поддержке Всемирной организации здравоохранения'"/>
<x:expect label="$6 538 creates a systemRequirements property of the Instance" test="//bf:Instance[1]/bf:systemRequirements[1]/bf:SystemRequirements/rdfs:label = 'Режим доступа: Интернет.'"/>
<x:expect label="$6 540 creates a usageAndAccessPolicy property of the Instance" test="//bf:Instance[1]/bf:usageAndAccessPolicy[2]/bf:UsePolicy/rdfs:label = 'Литературные права Carrie Chapman Кэтт были посвящены общественности'"/>
<x:expect label="$6 544 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[11]/bf:Note/rdfs:label = 'Департамент здравоохранения Fonds, Услуги здравоохранения Отдел файлов.'"/>
<x:expect label="$6 545 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[12]/bf:Note/rdfs:label = 'Автор и реформатор.'"/>
<x:expect label="$6 546 creates a language property of the Work" test="//bf:Work[1]/bf:language[1]/bf:Language/bf:note/bf:Note/rdfs:label = 'На французском'"/>
<x:expect label="$6 547 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[13]/bf:Note/rdfs:label = 'Издание меняется: 1916, Нью-Йорк издания.'"/>
<x:expect label="$6 550 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[14]/bf:Note/rdfs:label = 'Орган клуба Потомак на стороне естествоиспытателей.'"/>
<x:expect label="$6 555 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[15]/bf:Note/rdfs:label = 'Совокупный индекс с учетом включенных в каждом томе, -V. 29.'"/>
<x:expect label="$6 556 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[16]/bf:Note/rdfs:label = 'BASIC ссылка. 3-е изд. Бока-Ратон, штат Флорида. : IBM, c1984. (Персональный компьютер аппаратные справочная библиотека); 6361132.'"/>
<x:expect label="$6 580 creates a note property of the Work" test="//bf:Work[1]/bf:note[1]/bf:Note/rdfs:label = 'Формы часть Frances Benjamin Johnston Collection.'"/>
<x:expect label="$6 581 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[17]/bf:Note/rdfs:label = 'Инвентаризация американской скульптуры: ксерокопия. 1982.'"/>
<x:expect label="$6 585 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[18]/bf:Note/rdfs:label = 'Выставлены: "Видения City & Country: эстампов и фотографий девятнадцатом веке во Франции", организованной Ворчестер художественного музея и Американской федерации искусств, 1982.'"/>
<x:expect label="$6 586 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[19]/bf:Note/rdfs:label = 'Национальная книжная премия, 1981'"/>
<x:expect label="$6 588 creates a note property of the Instance" test="//bf:Instance[1]/bf:note[20]/bf:Note/rdfs:label = 'Том 2.'"/>
<x:expect label="$6 600,610,611 creates a subject/Agent or subject/Work property of the Work" test="//bf:Work[1]/bf:subject[2]/bf:Agent/madsrdf:authoritativeLabel = 'семьи Кларк--Фантастика.'"/>
<x:expect label="$6 630 creates a subject/Work property of the Work" test="//bf:Work[1]/bf:subject[3]/bf:Work/madsrdf:authoritativeLabel = 'украинский журнал'"/>
<x:expect label="$6 648 creates a subject/Temporal property of the Work" test="//bf:Work[1]/bf:subject[4]/bf:Temporal/rdfs:label = 'Доисторические времена'"/>
<x:expect label="$6 650 creates a subject/Topic property of the Work" test="//bf:Work[1]/bf:subject[5]/bf:Topic/rdfs:label = 'единороги'"/>
<x:expect label="$6 651 creates a subject/Place property of the Work" test="//bf:Work[1]/bf:subject[6]/bf:Place/rdfs:label = 'Река Амазонка.'"/>
<x:expect label="$6 653 creates a subject/Topic property of the Work" test="//bf:Work[1]/bf:subject[7]/bf:Topic/rdfs:label = 'топливные элементы'"/>
<x:expect label="$6 655 creates a genreForm/GenreForm property of the Work" test="//bf:Work[1]/bf:genreForm[2]/bf:GenreForm/rdfs:label = 'сборник статей'"/>
<x:expect label="$6 656 creates a subject property of the Work" test="//bf:Work[1]/bf:subject[8]/bf:Topic/madsrdf:componentList/madsrdf:Occupation/rdfs:label = 'Антропологи'"/>
<x:expect label="$6 662 creates a subject/Place property of the Work" test="//bf:Work[1]/bf:subject[9]/bf:Place/rdfs:label = '日本--北海道'"/>
<x:expect label="$6 7XX should make an Agent" test="//bf:Work[1]/bf:contribution[2]/bf:Contribution/bf:agent/bf:Agent/rdfs:label = 'ملحمة دانيال'"/>
<x:expect label="$6 730 should make a related Work" test="//bf:Work[1]/bf:relatedTo/bf:Work/bf:title/bf:Title/bf:mainTitle = 'ملحمة دانيال'"/>
<x:expect label="$6 752 creates a place property of the Work" test="//bf:Work[1]/bf:place[1]/bf:Place/rdfs:label = 'Англия--Лондон'"/>
<x:expect label="$6 7XX linking field" test="//bf:Work[1]/bf:absorbed/bf:Work/bf:hasInstance/bf:Instance/bf:title/bf:Title/rdfs:label = 'Графические уведомления и дополнительные данные'"/>
<x:expect label="$6 8XX should make a series Work" test="//bf:Work[1]/bf:hasSeries[1]/bf:Work/bf:title/bf:Title/bf:mainTitle = '東海道五十三次絵卷'"/>
<x:expect label="$6 830 should make a series Work" test="//bf:Work[1]/bf:hasSeries[2]/bf:Work/bf:title/bf:Title/bf:mainTitle = 'ملحمة دانيال'"/>
</x:scenario>
<x:scenario label="xml:lang attributes from 880">
<x:context href="data/ConvSpec-880/marc-lang.xml"/>
<x:expect label="Language from 008 and script from $6 create an xml:lang attribute of the Resource" test="//bf:Work[1]/bf:title[1]/bf:Title/bf:mainTitle/@xml:lang = 'da-arab'"/>
</x:scenario>
</x:description>