翻译:羊牧东岭
原文地址:https://iiif.io/api/cookbook/recipe/0053-seeAlso/
用例
你有一个 IIIF 清单资源以及附带的机器可读的元数据,可以通过 seeAlso 属性,供聚合程序或其它处理、索引程序使用。您从以前的经验中知道,当传递结构化的元数据时,聚合程序能以最好的收效来抓取您的收藏,继而为读者提供面向特定领域而分析的能力,使您的资源更易于被精准搜索。通过使用该 seeAlso 属性,您可以向聚合程序提醒数据集的存在,以便聚合程序向用户提供有关您的资源的适当且复杂的信息。
实施说明
此属性用于将查看器指向非 IIIF 的外部资源的 URI,其中包含有关当前 IIIF 资源的信息。最常见的情况是,这样的非 IIIF 资源是结构化的元数据。为了更有效率,该资源应该是机器可读的格式,例如 XML、JSON 或 RDF。 seeAlso 的 type 值通常是 dataset 。
其他三个属性可能看起来相似,因此这里强调一下其间差异。
- homepage (IIIF展示API参考)
如果 rendering 呈现的是相同资源的另一种展示,则 homepage 指向关于该资源所表示的对象的网页。 - accompanyingCanvas (IIIF展示API参考)
accompanyingCanvas 指向的资源是与主体资源同时展现的IIIF资源,而 rendering 中的一个目标资源不兼容IIIF,且必须在主资源的查看器之外查看。此外,accompanyingCanvas 用于补充主要资源的内容,而 rendering 指向同一资源的另外的展现。 - rendering (IIIF展示API参考)
与 seeAlso 不同,该 rendering 属性为当前资源提供一种可替代展示形式的 URI,比如提供了 PDF 或 ePub 形式的版本。与 seeAlso 相比,rendering 的 type 值的变化范围更广,以与可能的各种目标格式保持一致。
任何资源都可能具有 seeAlso 属性。它的每个实例都可能包含多个项目,前提是每个项目都具有 id 和 type 属性;label 、 format 和 profile 是强烈推荐使用的属性。符合标准的客户端可能会以某种方式处理此属性,但客户端处理的结果没有特定的形式。
限制条件
无。
例子
在本例中,MODS XML 文件作为整体被提交给了程序,因此该 seeAlso 属性被附加到了清单。如果此类数据文件可分别用于每个视图或页面,则每个画布 (Canvas) 将是相应 seeAlso 实例的逻辑位置。
要动态查看 Mirador 中的属性,请在其内容窗口左上角的三行菜单处(“hamburger”)进行激活,来切换侧边栏。然后,您应该在“相关”区域中,查看“另请参阅”副标题下“相关”部分中的链接。
{
"@context": "http://iiif.io/api/presentation/3/context.json",
"id": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/manifest.json",
"type": "Manifest",
"label": {
"en": [
"Linking to Structured Metadata"
]
},
"summary": {
"en": [
"Playbill for \"Akiba gongen kaisen-banashi,\" \"Futatsu chōchō kuruwa nikki\" and \"Godairiki koi no fūjime\" performed at the Chikugo Theater in Osaka from the fifth month of Kaei 2 (May, 1849); main actors: Gadō Kataoka II, Ebizō Ichikawa VI, Kitō Sawamura II, Daigorō Mimasu IV and Karoku Nakamura I; on front cover: producer Mominosuke Ichikawa's crest."
]
},
"viewingDirection": "right-to-left",
"seeAlso": [
{
"id": "https://fixtures.iiif.io/other/UCLA/ezukushi_mods.xml",
"type": "Dataset",
"label": {
"en": [
"MODS metadata"
]
},
"format": "text/xml",
"profile": "http://www.loc.gov/mods/v3"
}
],
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/canvas/p1",
"type": "Canvas",
"label": {
"en": [
"front cover"
]
},
"width": 3497,
"height": 4823,
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/page/p1/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/annotation/p0001-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/4f92cceb12dd53b52433425ce44308c7-ucla_bib1987273_no001_rs_001/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"height": 4823,
"width": 3497,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/4f92cceb12dd53b52433425ce44308c7-ucla_bib1987273_no001_rs_001",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/canvas/p1"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/canvas/p2",
"type": "Canvas",
"label": {
"en": [
"pages 1–2"
]
},
"width": 6062,
"height": 4804,
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/page/p2/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/annotation/p0002-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/4f92cceb12dd53b52433425ce44308c7-ucla_bib1987273_no001_rs_002/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"width": 6062,
"height": 4804,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/4f92cceb12dd53b52433425ce44308c7-ucla_bib1987273_no001_rs_002",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/canvas/p2"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/canvas/p3",
"type": "Canvas",
"label": {
"en": [
"pages 3–4"
]
},
"width": 6127,
"height": 4776,
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/page/p3/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/annotation/p0003-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/4f92cceb12dd53b52433425ce44308c7-ucla_bib1987273_no001_rs_003/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"width": 6127,
"height": 4776,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/4f92cceb12dd53b52433425ce44308c7-ucla_bib1987273_no001_rs_003",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/canvas/p3"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/canvas/p4",
"type": "Canvas",
"label": {
"en": [
"pages 5–6"
]
},
"width": 6124,
"height": 4751,
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/page/p4/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/annotation/p0004-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/4f92cceb12dd53b52433425ce44308c7-ucla_bib1987273_no001_rs_004/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"width": 6124,
"height": 4751,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/4f92cceb12dd53b52433425ce44308c7-ucla_bib1987273_no001_rs_004",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/canvas/p4"
}
]
}
]
},
{
"id": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/canvas/p5",
"type": "Canvas",
"label": {
"en": [
"back cover"
]
},
"width": 3510,
"height": 4808,
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/page/p5/1",
"type": "AnnotationPage",
"items": [
{
"id": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/annotation/p0005-image",
"type": "Annotation",
"motivation": "painting",
"body": {
"id": "https://iiif.io/api/image/3.0/example/reference/4f92cceb12dd53b52433425ce44308c7-ucla_bib1987273_no001_rs_005/full/max/0/default.jpg",
"type": "Image",
"format": "image/jpeg",
"width": 3510,
"height": 4808,
"service": [
{
"id": "https://iiif.io/api/image/3.0/example/reference/4f92cceb12dd53b52433425ce44308c7-ucla_bib1987273_no001_rs_005",
"type": "ImageService3",
"profile": "level1"
}
]
},
"target": "https://iiif.io/api/cookbook/recipe/0053-seeAlso/canvas/p5"
}
]
}
]
}
]
}
与fixture的直接链接非常方便。
相关专题
- [主页][0047] 用于指向关于当前资源所代表的对象的网页
- 为同一对象的替代表示提供替代表示