0xx
- 000
- 001
- 003
- 005
- 006
- 007
- 008
- 009
- 010
- 013
- 015
- 016
- 017
- 018
- 020
- 022
- 024
- 025
- 026
- 027
- 028
- 030
- 031
- 032
- 033
- 034
- 035
- 036
- 037
- 038
- 040
- 041
- 042
- 043
- 044
- 045
- 046
- 047
- 048
- 049
- 050
- 051
- 052
- 055
- 060
- 061
- 066
- 070
- 071
- 072
- 074
- 080
- 082
- 083
- 084
- 085
- 086
- 088
- 090
- 092
- 096
- 098
- 099
3xx
- 300
- 306
- 307
- 310
- 321
- 336
- 337
- 338
- 340
- 341
- 342
- 343
- 344
- 345
- 346
- 347
- 348
- 350
- 351
- 352
- 355
- 357
- 362
- 363
- 365
- 366
- 370
- 377
- 380
- 381
- 382
- 383
- 384
- 385
- 386
- 388
5xx
- 500
- 501
- 502
- 504
- 505
- 506
- 507
- 508
- 510
- 511
- 513
- 514
- 515
- 516
- 518
- 520
- 521
- 522
- 524
- 525
- 526
- 530
- 532
- 533
- 534
- 535
- 536
- 538
- 540
- 541
- 542
- 544
- 545
- 546
- 547
- 550
- 552
- 555
- 556
- 561
- 562
- 563
- 565
- 567
- 580
- 581
- 583
- 584
- 585
- 586
- 588
- 590
- 599
7xx
- 700
- 710
- 711
- 720
- 730
- 740
- 751
- 752
- 753
- 754
- 755
- 758
- 760
- 762
- 765
- 767
- 770
- 772
- 773
- 774
- 775
- 776
- 777
- 780
- 785
- 786
- 787
BIB-240
Gå till exempelIMPORTANT
Actual results are subsequently modified by the NormalizeWorkTitles postProcessing step!
match
0
when
NOTE
Drop undefined language label
onRevert
language
@id
https://id.kb.se/language/und
$l
1
when
NOTE
Drop non-language label
onRevert
language
@id
https://id.kb.se/language/zxx
$l
2
3
when
NOTE
A translation with a title: keep title and use language label
onRevert
translationOf
hasTitle
4
when
NOTE
Continue as usual if title is already processed by NormalizeWorkTitlesStep
onRevert
hasTitle
0
5
when
NOTE
Sign of translation: use language label
onRevert
translationOf
6
when
onRevert
NOTE
No sign of translation: drop language label
$l
aboutAlias
_:work
TODO
[1]See also 100$t and 130. [2]Interpunction ; on $r needs to be analyzed
$6
about
_:title
property
$a
$d
property
$0
addLink
resourceType
property
TODO
Just drop or remap to something simpler? uriTemplate doesn't work, also only about 37 values? None is a Libris Id...
matchUriToken
^\d{1,14}$
Exempel
Gå till toppen av sidanExempel: -
MARC
{ "240": { "ind1": "1", "ind2": "0", "subfields": [ { "a": "Konsert," }, { "m": "piano, orkester," }, { "n": "nr 24, K.491," }, { "r": "c-moll;" }, { "o": "arr. piano (3), 10 h" } ] } }
JSON-LD
{ "mainEntity": { "instanceOf": { "@type": "Text", "hasTitle": [ { "@type": "Title", "mainTitle": "Konsert", "partNumber": [ "nr 24, K.491" ] } ], "musicMedium": [ { "@type": "MusicMedium", "label": "piano, orkester" } ], "musicKey": "c-moll;", "marc:arrangedStatementForMusic": "arr. piano (3), 10 h" } } }
Exempel: -
MARC
[ { "041": { "ind1": "1", "ind2": " ", "subfields": [] } }, { "240": { "ind1": "0", "ind2": " ", "subfields": [ { "a": "Moyen âge" }, { "l": "Engelska." } ] } } ]
Normalized MARC:
[ { "240": { "ind1": "1", "ind2": "0", "subfields": [ { "a": "Moyen âge" }, { "l": "Engelska." } ] } } ]
JSON-LD
{ "mainEntity": { "instanceOf": { "@type": "Text", "hasTitle": [ { "@type": "Title", "mainTitle": "Moyen âge" } ], "language": { "@type": "Language", "label": "Engelska." } } } }
Exempel: Verify revert using infer for label from prefLabelByLang[locale] - only produce $l if translationOf
Normalized MARC:
[ { "008": "| | | |||||||||||000 ||swe| " }, { "041": { "ind1": "1", "ind2": " ", "subfields": [ { "h": "rus" } ] } }, { "240": { "ind1": "1", "ind2": "0", "subfields": [ { "a": "En titel" }, { "l": "Svenska" } ] } } ]
JSON-LD
{ "mainEntity": { "instanceOf": { "@type": "Text", "hasTitle": [ { "@type": "Title", "mainTitle": "En titel" } ], "language": { "@type": "Language", "@id": "https://id.kb.se/language/swe", "prefLabelByLang": { "sv": "Svenska" } }, "translationOf": [ { "@type": "Work", "language": [ { "@id": "https://id.kb.se/language/rus", "code": "rus" } ] } ] } } }
Exempel: Verify revert using only one language since $l isn't repeatable - only produce $l if translationOf
Normalized MARC:
[ { "008": "| | | |||||||||||000 ||swe| " }, { "041": { "ind1": "1", "ind2": " ", "subfields": [ { "h": "rus" } ] } }, { "240": { "ind1": "1", "ind2": "0", "subfields": [ { "a": "Swenglish text" }, { "l": "Svenska" } ] } } ]
JSON-LD
{ "mainEntity": { "instanceOf": { "@type": "Text", "hasTitle": [ { "@type": "Title", "mainTitle": "Swenglish text" } ], "language": [ { "@type": "Language", "@id": "https://id.kb.se/language/swe", "prefLabelByLang": { "sv": "Svenska" } }, { "@type": "Language", "@id": "https://id.kb.se/language/eng", "prefLabelByLang": { "sv": "Engelska" } } ], "translationOf": [ { "@type": "Work", "language": [ { "@id": "https://id.kb.se/language/rus", "code": "rus" } ] } ] } } }
Exempel: Verify revert skipping non-language
Normalized MARC:
[ { "008": "| | | |||||||||||000 ||zxx| " }, { "041": { "ind1": " ", "ind2": " ", "subfields": [ { "a": "zxx" } ] } }, { "240": { "ind1": "1", "ind2": "0", "subfields": [ { "a": "Instrumental Music" } ] } } ]
JSON-LD
{ "mainEntity": { "instanceOf": { "@type": "Text", "hasTitle": [ { "@type": "Title", "mainTitle": "Instrumental Music" } ], "language": [ { "@id": "https://id.kb.se/language/zxx", "@type": "Language", "code": "zxx", "langCode": "zxx", "prefLabelByLang": { "sv": "Icke-språkligt medium" } } ] } } }
Exempel: Verify revert using local language with label instead of the (properly) linked with prefLabel (intermediary solution, see TODO)
Normalized MARC:
[ { "008": "| | | |||||||||||000 ||swe| " }, { "240": { "ind1": "1", "ind2": "0", "subfields": [ { "a": "En titel" }, { "l": "Svenska & swahili" } ] } } ]
JSON-LD
{ "mainEntity": { "instanceOf": { "@type": "Text", "hasTitle": [ { "@type": "Title", "mainTitle": "En titel" } ], "language": [ { "@type": "Language", "@id": "https://id.kb.se/language/swe", "prefLabelByLang": { "sv": "Svenska" } }, { "@type": "Language", "label": "Svenska & swahili" } ] } } }
Exempel: Translated title, PrimaryContribution
MARC
[ { "008": "| | | |||||||||||000 ||swe| " }, { "041": { "ind1": "1", "ind2": " ", "subfields": [ { "a": "swe" }, { "h": "eng" } ] } }, { "240": { "ind1": "1", "ind2": "4", "subfields": [ { "a": "The lord of the rings." } ] } }, { "100": { "ind1": "1", "ind2": " ", "subfields": [ { "a": "Tolkien, J.R.R." }, { "d": "1892-1973" }, { "4": "aut" } ] } } ]
Normalized MARC:
[ { "008": "| | | |||||||||||000 ||swe| " }, { "041": { "ind1": "1", "ind2": " ", "subfields": [ { "a": "swe" }, { "h": "eng" } ] } }, { "240": { "ind1": "1", "ind2": "4", "subfields": [ { "a": "The lord of the rings." } ] } }, { "100": { "ind1": "1", "ind2": " ", "subfields": [ { "a": "Tolkien, J.R.R." }, { "d": "1892-1973" }, { "4": "aut" } ] } } ]
JSON-LD
{ "mainEntity": { "instanceOf": { "@type": "Text", "contribution": [ { "@type": "PrimaryContribution", "agent": { "@type": "Person", "familyName": "Tolkien", "givenName": "J.R.R.", "lifeSpan": "1892-1973" }, "role": [ { "@id": "https://id.kb.se/relator/aut", "@type": "Role", "code": "aut" } ] } ], "hasTitle": [ { "@type": "Title", "mainTitle": "The lord of the rings.", "marc:nonfilingChars": "4" } ], "language": [ { "@id": "https://id.kb.se/language/swe", "code": "swe" } ], "translationOf": [ { "@type": "Work", "language": [ { "@id": "https://id.kb.se/language/eng", "code": "eng" } ] } ] } } }
Exempel: Work title with source is no longer supressed
Normalized MARC:
[ { "008": "| | | |||||||||||000 ||swe| " }, { "041": { "ind1": " ", "ind2": " ", "subfields": [ { "a": "swe" } ] } }, { "240": { "ind1": "1", "ind2": "0", "subfields": [ { "a": "The lord of the rings." } ] } } ]
JSON-LD
{ "mainEntity": { "instanceOf": { "@type": "Text", "hasTitle": [ { "@type": "Title", "mainTitle": "The lord of the rings.", "source": [ { "@id": "https://libris.kb.se/x#it" } ] } ], "language": [ { "@id": "https://id.kb.se/language/swe", "code": "swe" } ] } } }
Exempel: Work title with source is kept if translated title is present
Normalized MARC:
[ { "008": "| | | |||||||||||000 ||swe| " }, { "041": { "ind1": "1", "ind2": " ", "subfields": [ { "a": "swe" }, { "h": "eng" } ] } }, { "240": { "ind1": "1", "ind2": "0", "subfields": [ { "a": "Härskarringen" } ] } } ]
JSON-LD
{ "mainEntity": { "instanceOf": { "@type": "Text", "hasTitle": [ { "@type": "Title", "mainTitle": "Härskarringen", "source": [ { "@id": "https://libris.kb.se/x#it" } ] } ], "language": [ { "@id": "https://id.kb.se/language/swe", "code": "swe" } ], "translationOf": [ { "@type": "Work", "hasTitle": [ { "@type": "Title", "mainTitle": "The lord of the rings" } ], "language": [ { "@id": "https://id.kb.se/language/eng", "code": "eng" } ] } ] } } }
Exempel: Work title with source is kept if translated title is used after NormalizeWorkTitlesStep
Normalized MARC:
[ { "008": "| | | |||||||||||000 ||swe| " }, { "041": { "ind1": "1", "ind2": " ", "subfields": [ { "a": "swe" }, { "h": "eng" } ] } }, { "240": { "ind1": "1", "ind2": "0", "subfields": [ { "a": "The lord of the rings" } ] } } ]
JSON-LD
{ "mainEntity": { "instanceOf": { "@type": "Text", "hasTitle": [ { "@type": "Title", "mainTitle": "Härskarringen", "_revertedBy": "NormalizeWorkTitlesStep", "source": [ { "@id": "https://libris.kb.se/x#it" } ] }, { "@type": "Title", "mainTitle": "The lord of the rings" } ], "language": [ { "@id": "https://id.kb.se/language/swe", "code": "swe" } ], "translationOf": [ { "@type": "Work", "language": [ { "@id": "https://id.kb.se/language/eng", "code": "eng" } ] } ] } } }