原文

[要約] この文書は、Webリソース間の関係(リンク)の集合を独立した文書として表現するための「リンクセット(Linkset)」形式と、関連するメディアタイプを定義しています。RFC 8288(Web Linking)の概念を拡張し、JSONやText形式で大量のリンク情報を一括して提供できるようにすることで、APIの自己発見性向上や、検索エンジンのクローラによるリソース間の関連性把握を支援します。

Internet Engineering Task Force (IETF)                          E. Wilde
Request for Comments: 9264                                         Axway
Category: Standards Track                               H. Van de Sompel
ISSN: 2070-1721                    Data Archiving and Networked Services
                                                               July 2022
        

Linkset: Media Types and a Link Relation Type for Link Sets

リンクセット:リンクセットのためのメディアタイプとリンク関係タイプ

Abstract

概要

This specification defines two formats and associated media types for representing sets of links as standalone documents. One format is based on JSON, and the other is aligned with the format for representing links in the HTTP "Link" header field. This specification also introduces a link relation type to support the discovery of sets of links.

この仕様では、リンクのセットをスタンドアロンドキュメントとして表現するための2つの形式と関連するメディアタイプを定義します。1つの形式はJSONに基づいており、もう1つはHTTP「リンク」ヘッダーフィールドでリンクを表すための形式と一致しています。この仕様では、リンクのセットの発見をサポートするリンク関係タイプも導入されています。

Status of This Memo

本文書の状態

This is an Internet Standards Track document.

これは、インターネット標準トラックドキュメントです。

This document is a product of the Internet Engineering Task Force (IETF). It represents the consensus of the IETF community. It has received public review and has been approved for publication by the Internet Engineering Steering Group (IESG). Further information on Internet Standards is available in Section 2 of RFC 7841.

このドキュメントは、インターネットエンジニアリングタスクフォース(IETF)の製品です。IETFコミュニティのコンセンサスを表しています。公開レビューを受けており、インターネットエンジニアリングステアリンググループ(IESG)からの出版が承認されています。インターネット標準の詳細については、RFC 7841のセクション2で入手できます。

Information about the current status of this document, any errata, and how to provide feedback on it may be obtained at https://www.rfc-editor.org/info/rfc9264.

このドキュメントの現在のステータス、任意のERRATA、およびそのフィードバックを提供する方法に関する情報は、https://www.rfc-editor.org/info/rfc9264で取得できます。

Copyright Notice

著作権表示

Copyright (c) 2022 IETF Trust and the persons identified as the document authors. All rights reserved.

著作権(c)2022 IETF Trustおよび文書著者として特定された人。全著作権所有。

This document is subject to BCP 78 and the IETF Trust's Legal Provisions Relating to IETF Documents (https://trustee.ietf.org/license-info) in effect on the date of publication of this document. Please review these documents carefully, as they describe your rights and restrictions with respect to this document. Code Components extracted from this document must include Revised BSD License text as described in Section 4.e of the Trust Legal Provisions and are provided without warranty as described in the Revised BSD License.

このドキュメントは、BCP 78およびIETFドキュメント(https://trustee.ietf.org/license-info)に関連するIETF Trustの法的規定の対象となります。この文書に関するあなたの権利と制限を説明するので、これらの文書を注意深く確認してください。このドキュメントから抽出されたコードコンポーネントには、セクション4.Eで説明されている法的規定のセクション4.Eで説明されており、修正されたBSDライセンスで説明されているように保証なしで提供される修正されたBSDライセンステキストを含める必要があります。

Table of Contents

目次

   1.  Introduction
   2.  Terminology
   3.  Use Cases and Motivation
     3.1.  Third-Party Links
     3.2.  Challenges Writing to the HTTP "Link" Header Field
     3.3.  Large Number of Links
   4.  Document Formats for Sets of Links
     4.1.  HTTP Link Document Format: application/linkset
     4.2.  JSON Document Format: application/linkset+json
       4.2.1.  Set of Links
       4.2.2.  Link Context Object
       4.2.3.  Link Target Object
       4.2.4.  Link Target Attributes
       4.2.5.  JSON Extensibility
   5.  The "profile" Parameter for Media Types to Represent Sets of
           Links
   6.  The "linkset" Relation Type for Linking to a Set of Links
   7.  Examples
     7.1.  Set of Links Provided as "application/linkset"
     7.2.  Set of Links Provided as "application/linkset+json"
     7.3.  Discovering a Link Set via the "linkset" Link Relation Type
     7.4.  Link Set Profiles
       7.4.1.  Using a "profile" Attribute with a "linkset" Link
       7.4.2.  Using a "profile" Parameter with a Link Set Media Type
       7.4.3.  Using a Link with a "profile" Link Relation Type
   8.  IANA Considerations
     8.1.  Link Relation Type: linkset
     8.2.  Media Type: application/linkset
     8.3.  Media Type: application/linkset+json
   9.  Security Considerations
   10. References
     10.1.  Normative References
     10.2.  Informative References
   Appendix A.  JSON-LD Context
   Acknowledgements
   Authors' Addresses
        
1. Introduction
1. はじめに

Resources on the Web often use typed Web Links [RFC8288], either (1) embedded in resource representations -- for example, using the <link> element for HTML documents or (2) conveyed in the HTTP "Link" header field for documents of any media type. In some cases, however, providing links in this manner is impractical or impossible, and delivering a set of links as a standalone document is preferable.

Web上のリソースは、多くの場合、型付けされたWebリンク[RFC8288]を使用します。任意のメディアタイプの。ただし、場合によっては、この方法でリンクを提供することは非現実的または不可能であり、スタンドアロンドキュメントとして一連のリンクを配信することが望ましいです。

Therefore, this specification defines two formats for representing sets of Web Links and their attributes as standalone documents. One serializes links in the same format as the format used in the HTTP "Link" header field, and the other serializes links in JSON. It also defines associated media types to represent sets of links, and the "linkset" relation type to support the discovery of any resource that conveys a set of links as a standalone document.

したがって、この仕様では、Webリンクのセットとその属性をスタンドアロンドキュメントとして表すための2つの形式を定義します。1つは、HTTP「リンク」ヘッダーフィールドで使用されている形式と同じ形式でリンクをシリアル化し、もう1つはJSONのリンクをシリアル化します。また、関連するメディアタイプを定義して、リンクのセットを表し、「リンクセット」関係タイプを定義して、リンクのセットをスタンドアロンドキュメントとして伝えるリソースの発見をサポートします。

2. Terminology
2. 用語

The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.

このドキュメントのキーワード "MUST"、"MUST NOT"、"REQUIRED"、"SHALL"、"SHALL NOT"、"SHOULD"、"SHOULD NOT"、"RECOMMENDED"、"NOT RECOMMENDED"、"MAY"、および "OPTIONAL" は、BCP 14 [RFC2119] [RFC8174] で説明されているように、すべて大文字で表示される場合にのみ解釈されるものとします。

This specification uses the terms "link context" and "link target" in the same manner that "Web Linking" [RFC8288] uses them.

この仕様は、「Webリンク」[RFC8288]がそれらを使用するのと同じ方法で、「リンクコンテキスト」と「リンクターゲット」という用語を使用します。

In the examples provided in this document, links in the HTTP "Link" header field are shown on separate lines in order to improve readability. Note, however, that as per Section 5.5 of "HTTP Semantics" [RFC9110], line breaks are deprecated in values for HTTP fields; only whitespaces and tabs are supported as separators.

このドキュメントで提供されている例では、読みやすさを向上させるために、HTTP「リンク」ヘッダーフィールドのリンクが別々の行に表示されます。ただし、「HTTPセマンティクス」[RFC9110]のセクション5.5によると、HTTPフィールドの値ではラインブレークが非推奨されることに注意してください。セパレーターとしてサポートされている白人とタブのみがサポートされています。

3. Use Cases and Motivation
3. ユースケースとモチベーション

The following sections describe use cases in which providing links by means of a standalone document instead of in an HTTP "Link" header field or as links embedded in the resource representation is advantageous or necessary.

次のセクションでは、HTTPの「リンク」ヘッダーフィールドではなく、スタンドアロンドキュメントを使用してリンクを提供するユースケースについて、またはリソース表現に埋め込まれたリンクが有利または必要であるためです。

For all scenarios, links could be provided by means of a standalone document that is formatted according to the JSON-based serialization, the serialization aligned with the HTTP "Link" field format, or both. The former serialization is motivated by the widespread use of JSON and related tools, which suggests that handling sets of links expressed as JSON documents should be attractive to developers. The latter serialization is provided for compatibility with the existing serialization used in the HTTP "Link" field and to allow the reuse of tools created to handle it.

すべてのシナリオについて、JSONベースのシリアル化に従ってフォーマットされたスタンドアロンドキュメント、HTTP「リンク」フィールド形式、またはその両方に合わせたシリアル化によってリンクを提供できます。以前のシリアル化は、JSONと関連するツールの広範な使用によって動機付けられています。これは、JSONドキュメントとして表されるリンクの処理セットが開発者にとって魅力的であるべきであることを示唆しています。後者のシリアル化は、HTTP「リンク」フィールドで使用される既存のシリアル化と互換性があり、それを処理するために作成されたツールの再利用を可能にするために提供されます。

It is important to keep in mind that when providing links by means of a standalone representation, other links can still be provided using other approaches, i.e., it is possible to combine various mechanisms to convey links.

スタンドアロン表現によってリンクを提供する場合、他のアプローチを使用して他のリンクを提供できること、つまり、リンクを伝えるためにさまざまなメカニズムを組み合わせることができることに留意することが重要です。

3.1. サードパーティリンク
3.2. HTTP「リンク」ヘッダーフィールドへの書き込みに挑戦
3.3. 多数のリンク
4. リンクのセットのドキュメント形式
4.1. HTTPリンクドキュメント形式:アプリケーション/リンクセット
4.2. JSON Document Format: application/linkset+json
4.2. JSONドキュメント形式:Application/Linkset JSON

This document format uses JSON [RFC8259] as the syntax to represent a set of links. The set of links follows the abstract model defined by Section 2 of [RFC8288].

このドキュメント形式は、JSON [RFC8259]を構文として使用して、一連のリンクを表します。リンクのセットは、[RFC8288]のセクション2で定義された抽象モデルに従います。

The assigned media type for this format is "application/ linkset+json".

この形式に割り当てられたメディアタイプは、「アプリケーション/リンクセットJSON」です。

In the interests of interoperability, "application/linkset+json" link sets MUST be encoded using UTF-8 as per Section 8.1 of [RFC8259].

相互運用性の利益のために、[RFC8259]のセクション8.1に従って、UTF-8を使用して「アプリケーション/リンクセットJSON」リンクセットをエンコードしなければなりません (MUST)。

Implementers of "application/linkset+json" link sets should strive to make them self-contained by following the recommendations provided in Section 4 regarding their use outside the context of an HTTP interaction.

「Application/Linkset JSON」リンクセットの実装者は、HTTP相互作用のコンテキスト外での使用に関してセクション4で提供された推奨事項に従って、自己完結型にするよう努めている必要があります。

The "application/linkset+json" serialization allows for OPTIONAL support of a JSON-LD serialization. This can be achieved by adding an appropriate context to the "application/linkset+json" serialization using the approach described in Section 6.1 of [W3C.REC-json-ld]. Communities of practice can decide which context best meets their application needs. Appendix A shows an example of a possible context that, when added to a JSON serialization, allows it to be interpreted as Resource Description Framework (RDF) data [W3C.REC-rdf11-concepts].

「Application/Linkset JSON」シリアル化により、JSON-LDシリアル化のオプションの (OPTIONAL)サポートが可能になります。これは、[w3c.rec-json-ld]のセクション6.1で説明されているアプローチを使用して、「アプリケーション/リンクセットJSON」シリアル化に適切なコンテキストを追加することで実現できます。実践コミュニティは、どのコンテキストがアプリケーションのニーズを最適に満たすかを決定できます。付録Aは、JSONシリアル化に追加されると、リソース説明フレームワーク(RDF)データ[W3C.REC-RDF11 Concepts]として解釈できるようにする可能性のあるコンテキストの例を示しています。

4.2.1. リンクのセット
4.2.2. リンクコンテキストオブジェクト
4.2.3. Link Targetオブジェクト
4.2.4. Link Target属性
4.2.4.1. Target Attributes Defined by Web Linking
4.2.4.1. Webリンクで定義されたターゲット属性

Section 3.4.1 of [RFC8288] defines the following target attributes that may be used to annotate links: "hreflang", "media", "title", "title*", and "type"; these target attributes follow different occurrence and value patterns. In the JSON representation, these attributes MUST be conveyed as additional members of the link target object as follows:

[RFC8288]のセクション3.4.1は、リンクの注釈に使用できる次のターゲット属性を定義します:「hreflang」、「メディア」、「タイトル」、「タイトル*」、および「タイプ」。これらのターゲット属性は、異なる発生と値パターンに従います。JSON表現では、これらの属性は、次のようにリンクターゲットオブジェクトの追加メンバーとして伝えなければなりません (MUST)。

"hreflang": The "hreflang" target attribute, defined as optional and repeatable by [RFC8288], MUST be represented by an "hreflang" member, its value MUST be an array (even if there is only one value to be represented), and each value in that array MUST be a string -- representing one value of the "hreflang" target attribute for a link -- that follows the same model as the syntax discussed in [RFC8288].

「hreflang」:[hreflang "ターゲット属性は、[rfc8288]によってオプションで繰り返し可能であると定義されていますが、「hreflang」メンバーによって表される必要があります。また、その配列内の各値は、[RFC8288]で説明されている構文と同じモデルに従うリンクの「hreflang」ターゲット属性の1つの値を表す文字列でなければなりません。

"media": The "media" target attribute, defined as optional and not repeatable by [RFC8288], MUST be represented by a "media" member in the link target object, and its value MUST be a string that follows the same model as the syntax discussed in [RFC8288].

「メディア」:[RFC8288]によってオプションであり、繰り返しないものとして定義される「メディア」ターゲット属性は、リンクターゲットオブジェクトの「メディア」メンバーによって表現され、その値は同じモデルに従う文字列でなければなりません。[RFC8288]で説明されている構文。

"title": The "title" target attribute, defined as optional and not repeatable by [RFC8288], MUST be represented by a "title" member in the link target object, and its value MUST be a JSON string.

「タイトル」:[RFC8288]によって繰り返されないオプションとして定義された「タイトル」ターゲット属性は、リンクターゲットオブジェクトの「タイトル」メンバーで表現しなければならず (MUST)、その値はJSON文字列でなければなりません (MUST)。

"title*": The "title*" target attribute, defined as optional and not repeatable by [RFC8288], is motivated by character encoding and language issues and follows the model defined in [RFC8187]. The details of the JSON representation that applies to "title*" are described in Section 4.2.4.2.

「タイトル*」:「タイトル*」ターゲット属性は、オプションとして定義され、[RFC8288]によって繰り返されないものとして定義され、文字エンコードと言語の問題によって動機付けられ、[RFC8187]で定義されたモデルに従います。「タイトル*」に適用されるJSON表現の詳細は、セクション4.2.4.2で説明されています。

"type": The "type" target attribute, defined as optional and not repeatable by [RFC8288], MUST be represented by a "type" member in the link target object, and its value MUST be a string that follows the same model as the syntax discussed in [RFC8288].

「タイプ」:オプションとして定義され、[RFC8288]によって繰り返されない「タイプ」ターゲット属性は、リンクターゲットオブジェクトの「タイプ」メンバーで表現しなければならず (MUST)、その値は同じモデルに従う文字列でなければなりません (MUST)。[RFC8288]で説明されている構文。

The following example illustrates how the "hreflang" (repeatable) target attribute and the "type" (not repeatable) target attribute are represented in a link target object.

次の例は、「hreflang」(繰り返し可能な)ターゲット属性と「タイプ」(繰り返しない)ターゲット属性がリンクターゲットオブジェクトでどのように表されるかを示しています。

   { "linkset":
     [
       { "anchor": "https://example.net/bar",
         "next": [
           { "href":     "https://example.com/foo",
             "type":     "text/html",
             "hreflang": [ "en" , "de" ]
           }
         ]
       }
     ]
   }
        

Figure 4: Linkset with "hreflang" and "type" target attributes

図4:「hreflang」および「タイプ」ターゲット属性とのリンクセット

4.2.4.2. Internationalized Target Attributes
4.2.4.2. 国際化されたターゲット属性

In addition to the target attributes described in Section 4.2.4.1, Section 3.4 of [RFC8288] also supports attributes that follow the content model of [RFC8187]. In [RFC8288], these target attributes are recognizable by the use of a trailing asterisk in the attribute name, such as "title*". The content model of [RFC8187] uses a string-based microsyntax that represents the character encoding, an optional language tag, and the escaped attribute value encoded according to the specified character encoding.

セクション4.2.4.1で説明されているターゲット属性に加えて、[RFC8288]のセクション3.4は[RFC8187]のコンテンツモデルに従う属性もサポートしています。[rfc8288]では、これらのターゲット属性は、「title*」などの属性名でトレーリングアスタリスクを使用することで認識できます。[RFC8187]のコンテンツモデルは、文字列ベースのマイクロシンダックスを使用します。これは、指定された文字エンコードに従ってエンコードされた文字エンコード、オプションの言語タグ、および脱出された属性値を表します。

The JSON serialization for these target attributes MUST be as follows:

これらのターゲット属性のJSONシリアル化は次のとおりでなければなりません (MUST)。

* An internationalized target attribute is represented as a member of the link context object with the same name (including the "*") as the attribute.

* 国際化されたターゲット属性は、属性と同じ名前(「*」を含む)を持つリンクコンテキストオブジェクトのメンバーとして表されます。

* The character encoding information as prescribed by [RFC8187] is not preserved; instead, the content of the internationalized attribute is represented as a JSON string.

* [RFC8187]によって規定されている情報をエンコードする文字は保存されていません。代わりに、国際化された属性のコンテンツはJSON文字列として表されます。

* The value of the internationalized target attribute is an array that contains one or more JSON objects. The name of one member of such JSON objects is "value", and its value is the actual content (in its unescaped version) of the internationalized target attribute, i.e., the value of the attribute from which the encoding and language information are removed. The name of another, optional member of such JSON objects is "language", and its value is the language tag [RFC5646] for the language in which the attribute content is conveyed.

* 国際化されたターゲット属性の値は、1つ以上のJSONオブジェクトを含む配列です。このようなJSONオブジェクトの1つのメンバーの名前は「値」であり、その値は、国際化されたターゲット属性の実際のコンテンツ(その非脱型バージョン)、つまりエンコードと言語情報が削除される属性の値です。このようなJSONオブジェクトの別のオプションメンバーの名前は「言語」であり、その値は、属性コンテンツが伝達される言語の言語タグ[RFC5646]です。

The following example illustrates how the "title*" target attribute as defined by Section 3.4.1 of [RFC8288] is represented in a link target object.

次の例は、[RFC8288]のセクション3.4.1で定義されている「タイトル*」ターゲット属性がリンクターゲットオブジェクトでどのように表されるかを示しています。

   { "linkset":
     [
       { "anchor": "https://example.net/bar",
         "next": [
           { "href":     "https://example.com/foo",
             "type":     "text/html",
             "hreflang": [ "en" , "de" ],
             "title":    "Next chapter",
             "title*":   [ { "value": "nächstes Kapitel" ,
                             "language" : "de" } ]
           }
         ]
       }
     ]
   }
        

Figure 5: Linkset with "title" and "title*" target attributes

図5:「タイトル」および「タイトル*」とのリンクセット

The above example assumes that the German title contains an umlaut character (in the original syntax, it would be encoded as title*=UTF-8'de'n%c3%a4chstes%20Kapitel), which gets encoded in its unescaped form in the JSON representation. Implementations MUST properly decode/encode internationalized target attributes that follow the model of [RFC8187] when transcoding between the "application/linkset" format and the "application/linkset+json" format.

上記の例は、ドイツのタイトルにUmlaut文字が含まれていることを前提としています(元の構文では、タイトル*= utf-8'de'n%c3%a4chstes%20kapitelとしてエンコードされます)。JSON代表。実装は、「アプリケーション/リンクセット」形式と「application/linkset JSON」形式の間をトランスコードするときに、[RFC8187]のモデルに従う国際化されたターゲット属性を適切にデコード/エンコードしなければなりません (MUST)。

4.2.4.3. Extension Target Attributes
4.2.4.3. 拡張ターゲット属性

Extension target attributes (e.g., as listed in Section 4.2.4.1) are attributes that are not defined by Section 3.4.1 of [RFC8288] but are nevertheless used to qualify links. They can be defined by communities in any way deemed necessary, and it is up to them to make sure their usage is understood by target applications. However, lacking standardization, there is no interoperable understanding of these extension attributes. One important consequence is that their cardinality is unknown to generic applications. Therefore, in the JSON serialization, all extension target attributes are treated as repeatable.

拡張ターゲット属性(例:セクション4.2.4.1にリストされているように)は、[RFC8288]のセクション3.4.1で定義されていないが、それでもリンクの資格に使用される属性です。それらはコミュニティによって必要とみなされる方法で定義することができ、ターゲットアプリケーションによってそれらの使用が理解されることを確認するのは彼ら次第です。ただし、標準化がないため、これらの拡張属性について相互運用可能な理解はありません。重要な結果の1つは、彼らのカーディナリティが一般的なアプリケーションでは知られていないことです。したがって、JSONシリアル化では、すべての拡張ターゲット属性が再現可能として扱われます。

The JSON serialization for these target attributes MUST be as follows:

これらのターゲット属性のJSONシリアル化は次のとおりでなければなりません (MUST)。

* An extension target attribute is represented as a member of the link target object with the same name as the attribute, including the "*" if applicable.

* 拡張ターゲット属性は、該当する場合は「*」を含む属性と同じ名前を持つリンクターゲットオブジェクトのメンバーとして表されます。

* The value of an extension attribute MUST be represented by an array, even if there is only one value to be represented.

* 拡張属性の値は、表現する値が1つしかない場合でも、配列で表さなければなりません (MUST)。

* If the extension target attribute does not have a name with a trailing asterisk, then each value in that array MUST be a JSON string that represents one value of the attribute.

* 拡張ターゲット属性にトレーリングアスタリスクの名前がない場合、その配列の各値は、属性の1つの値を表すJSON文字列でなければなりません (MUST)。

* If the extension attribute has a name with a trailing asterisk (it follows the content model of [RFC8187]), then each value in that array MUST be a JSON object. The value of each such JSON object MUST be structured as described in Section 4.2.4.2.

* 拡張属性に、後続のアスタリスクを備えた名前がある場合([RFC8187]のコンテンツモデルに従う)、その配列の各値はJSONオブジェクトでなければなりません (MUST)。そのような各JSONオブジェクトの値は、セクション4.2.4.2で説明されているように構成しなければなりません (MUST)。

The following example shows a link target object with three extension target attributes. The value for each extension target attribute is an array. The first two are regular extension target attributes, with the first one ("foo") having only one value and the second one ("bar") having two. The last extension target attribute ("baz*") follows the naming rule of [RFC8187] and therefore is encoded according to the serialization described in Section 4.2.4.2.

次の例は、3つの拡張ターゲット属性を持つリンクターゲットオブジェクトを示しています。各拡張ターゲット属性の値は配列です。最初の2つは通常の拡張ターゲット属性であり、最初の1つ( "foo")は1つの値のみ、2番目の値( "bar")が2つを持つ属性があります。最後の拡張ターゲット属性( "baz*")は[RFC8187]の命名ルールに従います。したがって、セクション4.2.4.2で説明されているシリアル化に従ってエンコードされます。

   { "linkset":
     [
       { "anchor": "https://example.net/bar",
         "next": [
           { "href": "https://example.com/foo",
             "type": "text/html",
             "foo":  [ "foovalue" ],
             "bar":  [ "barone", "bartwo" ],
             "baz*": [ { "value": "bazvalue" ,
                         "language" : "en" } ]
           }
         ]
       }
     ]
   }
        

Figure 6: Linkset with extension target attributes

図6:拡張ターゲット属性とのリンクセット

4.2.5. JSON Extensibility
4.2.5. JSONの拡張性

The Web Linking model [RFC8288] provides for the use of extension target attributes as discussed in Section 4.2.4.3. The use of other forms of extensions is NOT RECOMMENDED. Limiting the JSON format in this way allows unambiguous round trips between links provided in the HTTP "Link" header field, sets of links serialized according to the "application/linkset" format, and sets of links serialized according to the "application/linkset+json" format.

Webリンクモデル[RFC8288]は、セクション4.2.4.3で説明したように、拡張ターゲット属性の使用を提供します。他の形式の拡張機能の使用は推奨されません。この方法でJSON形式を制限することで、HTTP「リンク」ヘッダーフィールドで提供されるリンク、「アプリケーション/リンクセット」形式に従ってシリアル化されたリンクのセット、および「application/linkset JSON」に従ってシリアル化されたリンクのセット間の明確なラウンドトリップが可能になります。" フォーマット。

Cases may exist in which the use of extensions other than those discussed in Section 4.2.4.3 may be useful -- for example, when a link set publisher needs to include descriptive or technical metadata for internal consumption. If such extensions are used, they MUST NOT change the semantics of the JSON members defined in this specification. Agents that consume JSON linkset documents can safely ignore such extensions.

セクション4.2.4.3で説明されているもの以外の拡張機能の使用が役立つ場合があるケースが存在する可能性があります。たとえば、リンクセットのパブリッシャーに内部消費のために記述的または技術的なメタデータを含める必要がある場合。このような拡張機能が使用されている場合、この仕様で定義されているJSONメンバーのセマンティクスを変更してはなりません。JSON Linksetドキュメントを消費するエージェントは、このような拡張機能を安全に無視できます。

5. リンクのセットを表すメディアタイプの「プロファイル」パラメーター
6. 一連のリンクにリンクするための「リンクセット」関係タイプ
7. Examples
7. 例

Sections 7.1 and 7.2 show examples whereby a set of links is provided as "application/linkset" and "application/linkset+json" documents, respectively. Section 7.3 illustrates the use of the "linkset" link relation type to support the discovery of sets of links, and Section 7.4 shows how to convey profile information pertaining to a link set.

セクション7.1および7.2は、リンクのセットがそれぞれ「アプリケーション/リンクセット」および「アプリケーション/リンクセットJSON」ドキュメントとして提供される例を示しています。セクション7.3では、リンクのセットの発見をサポートする「リンクセット」リンク関係タイプの使用を示し、セクション7.4は、リンクセットに関連するプロファイル情報を伝える方法を示しています。

7.1. 「アプリケーション/リンクセット」として提供されるリンクのセット
7.2. 「アプリケーション/リンクセットJSON」として提供されるリンクのセット
7.3. 「リンクセット」リンク関係タイプを介して設定されたリンクの発見
7.4. リンク設定プロファイル
7.4.1. 「リンクセット」リンクを使用して「プロファイル」属性の使用
7.4.2. リンクセットメディアタイプを使用して「プロファイル」パラメーターの使用
7.4.3. 「プロファイル」リンク関係タイプのリンクの使用
8. IANA Considerations
8. IANAの考慮事項
8.1. リンク関係タイプ:リンクセット
8.2. Media Type: application/linkset
8.2. メディアタイプ: application/linkset

The Internet media type "application/linkset" for a linkset encoded as described in Section 4.1 has been registered by IANA in the "Media Types" registry as per [RFC6838].

セクション4.1で説明されているとおりに符号化されたリンクセットのためのインターネットメディアタイプ "application/linkset" は、[RFC6838] に従ってIANAにより "Media Types" レジストリに登録されています。

Type name: application

タイプ名:アプリケーション

Subtype name: linkset

サブタイプ名:linkset

Required parameters: N/A

必要なパラメーター:N/A

Optional parameters: profile

オプションのパラメーター:プロファイル

Encoding considerations: Linksets are encoded according to the definitions provided in [RFC8288]. The encoding discussed in [RFC8288] is based on the general encoding rules specified by HTTP [RFC9110] and allows specific parameters to be extended by the indication of character encoding and language as defined by [RFC8187].

エンコードに関する考慮事項:Linksetは[RFC8288]で提供される定義に従ってエンコードします。[RFC8288]で説明されるエンコードは、HTTP [RFC9110]で規定される一般的なエンコード規則に基づき、[RFC8187]で定義される文字エンコードと言語の指定によって特定のパラメーターを拡張できます。

Security considerations: The security considerations of RFC 9264 apply.

セキュリティ上の考慮事項:RFC 9264のセキュリティ上の考慮事項が適用されます。

Interoperability considerations: N/A

相互運用性の考慮事項:N/A

Published specification: RFC 9264

公開された仕様:RFC 9264

Applications that use this media type: This media type is not specific to any application, as it can be used by any application that wants to interchange Web Links.

このメディアタイプを使用するアプリケーション:このメディアタイプは、Webリンクを交換したいアプリケーションで使用できるため、どのアプリケーションにも固有ではありません。

   Additional information:
      Magic number(s):  N/A
      File extension(s):  This media type does not propose a specific
         extension.
      Macintosh file type code(s):  TEXT
        
   Person & email address to contact for further information:  Erik
      Wilde <erik.wilde@dret.net>
        

Intended usage: COMMON

意図された使用法:共通

Restrictions on usage: none

使用に関する制限:なし

   Author:  Erik Wilde <erik.wilde@dret.net>
        

Change controller: IETF

Change Controller:IETF

8.3. Media Type: application/linkset+json
8.3. メディアタイプ: application/linkset+json

The Internet media type "application/linkset+json" for a linkset encoded as described in Section 4.2 has been registered by IANA in the "Media Types" registry as per [RFC6838].

セクション4.2で説明されているとおりに符号化されたリンクセットのためのインターネットメディアタイプ "application/linkset+json" は、[RFC6838] に従ってIANAにより "Media Types" レジストリに登録されています。

Type name: application

タイプ名:アプリケーション

Subtype name: linkset+json

サブタイプ名:Linkset JSON

Required parameters: N/A

必要なパラメーター:N/A

Optional parameters: profile

オプションのパラメーター:プロファイル

Encoding considerations: The encoding considerations of [RFC8259] apply.

考慮事項のエンコーディング:[RFC8259]のエンコーディングに関する考慮事項が適用されます。

Security considerations: The security considerations of RFC 9264 apply.

セキュリティ上の考慮事項:RFC 9264のセキュリティ上の考慮事項が適用されます。

Interoperability considerations: The interoperability considerations of [RFC8259] apply.

相互運用性の考慮事項:[RFC8259]の相互運用性の考慮事項が適用されます。

Published specification: RFC 9264

公開された仕様:RFC 9264

Applications that use this media type: This media type is not specific to any application, as it can be used by any application that wants to interchange Web Links.

このメディアタイプを使用するアプリケーション:このメディアタイプは、Webリンクを交換したいアプリケーションで使用できるため、どのアプリケーションにも固有ではありません。

   Additional information:
      Magic number(s):  N/A
      File extension(s):  JSON documents often use ".json" as the file
         extension, and this media type does not propose a specific
         extension other than this generic one.
      Macintosh file type code(s):  TEXT
        
   Person & email address to contact for further information:  Erik
      Wilde <erik.wilde@dret.net>
        

Intended usage: COMMON

意図された使用法:共通

Restrictions on usage: none

使用に関する制限:なし

   Author:  Erik Wilde <erik.wilde@dret.net>
        

Change controller: IETF

Change Controller:IETF

9. Security Considerations
9. セキュリティに関する考慮事項

The security considerations of Section 7 of [RFC3986] apply, as well as those of Web Linking [RFC8288] as long as the latter are not specifically discussing the risks of exposing information in HTTP header fields.

[RFC3986]のセクション7のセキュリティ上の考慮事項は、後者がHTTPヘッダーフィールドで情報を公開するリスクについて具体的に議論していない限り、[RFC8288]と同様にWebリンクのセキュリティに関する考慮事項を適用します。

In general, links may cause information leakage when they expose information (such as URIs) that can be sensitive or private. Links may expose "hidden URIs" that are not supposed to be openly shared and that may not be sufficiently protected. Ideally, none of the URIs exposed in links should be supposed to be "hidden"; instead, if these URIs are supposed to be limited to certain users, then technical measures should be put in place so that accidentally exposing them does not cause any harm.

一般に、リンクは、敏感またはプライベートな情報(URIなど)を公開すると、情報の漏れを引き起こす可能性があります。リンクは、公然と共有されておらず、十分に保護されていない「隠されたウリ」を公開する可能性があります。理想的には、リンクに露出したurisは「隠されている」と想定されるべきではありません。代わりに、これらのURIが特定のユーザーに限定されることになっている場合、誤ってそれらを暴露しても害を及ぼさないように技術的な措置を導入する必要があります。

For the specific mechanisms defined in this specification, two security considerations should be taken into account:

この仕様で定義されている特定のメカニズムについては、2つのセキュリティに関する考慮事項を考慮する必要があります。

* The Web Linking model always has an "implicit context", which is the resource of the HTTP interaction. This original context can be lost or can change when self-contained link representations are moved. Changing the context can change the interpretation of links when they have no explicit anchor or when they use relative URIs. Applications may choose to ignore links that have no explicit anchor or that use relative URIs when these are exchanged in standalone resources.

* Webリンクモデルには常に「暗黙的なコンテキスト」があり、HTTP相互作用のリソースです。この元のコンテキストは、自己完結型のリンク表現が移動されると変化する可能性があります。コンテキストを変更すると、リンクが明示的なアンカーがない場合、または相対的なURIを使用した場合にリンクの解釈を変更できます。アプリケーションは、明示的なアンカーがない、またはこれらがスタンドアロンリソースで交換されている場合に相対URIを使用するリンクを無視することを選択できます。

* The model introduced in this specification supports "third-party links", where one party can provide links that have another party's resource as an anchor. Depending on the link semantics and the application context, it is important to verify that there is sufficient trust in that third party to allow it to provide these links. Applications may choose to treat third-party links differently than cases where a resource and the links for that resource are provided by the same party.

* この仕様で導入されたモデルは、「サードパーティリンク」をサポートしています。ここでは、ある当事者がアンカーとして別の当事者のリソースを持つリンクを提供できます。リンクセマンティクスとアプリケーションのコンテキストに応じて、これらのリンクを提供できるようにするためにその第三者に十分な信頼があることを確認することが重要です。アプリケーションは、リソースとそのリソースのリンクが同じ当事者によって提供される場合とは異なる方法で、サードパーティのリンクを異なる方法で扱うことを選択できます。

10. References
10. 参考文献
10.1. Normative References
10.1. 引用文献

[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, March 1997, <https://www.rfc-editor.org/info/rfc2119>.

[RFC2119] Bradner, S.、「要件レベルを示すためにRFCで使用するためのキーワード」、BCP 14、RFC 2119、DOI 10.17487/RFC2119、1997年3月、<https://www.rfc-editor.org/info/rfc2119>。

[RFC3986] Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform Resource Identifier (URI): Generic Syntax", STD 66, RFC 3986, DOI 10.17487/RFC3986, January 2005, <https://www.rfc-editor.org/info/rfc3986>.

[RFC3986] Berners-Lee, T., Fielding, R., and L. Masinter、「Uniform Resource Identifier(URI):Generic Syntax」、Std 66、RFC 3986、DOI 10.17487/RFC3986、2005年1月、<https://www.rfc-editor.org/info/rfc3986>。

[RFC5234] Crocker, D., Ed. and P. Overell, "Augmented BNF for Syntax Specifications: ABNF", STD 68, RFC 5234, DOI 10.17487/RFC5234, January 2008, <https://www.rfc-editor.org/info/rfc5234>.

[RFC5234] Crocker, D., Ed. and P. Overell、「構文仕様のためのBNFの増強:ABNF:STD 68、RFC 5234、DOI 10.17487/RFC5234、2008年1月、<https://www.rfc-editor.org/info/rfc5234>。

[RFC5646] Phillips, A., Ed. and M. Davis, Ed., "Tags for Identifying Languages", BCP 47, RFC 5646, DOI 10.17487/RFC5646, September 2009, <https://www.rfc-editor.org/info/rfc5646>.

[RFC5646] Phillips, A., Ed. and M. Davis, Ed.、「言語を識別するためのタグ」、BCP 47、RFC 5646、DOI 10.17487/RFC5646、2009年9月、<https://www.rfc-editor.org/info/rfc5646>。

[RFC6838] Freed, N., Klensin, J., and T. Hansen, "Media Type Specifications and Registration Procedures", BCP 13, RFC 6838, DOI 10.17487/RFC6838, January 2013, <https://www.rfc-editor.org/info/rfc6838>.

[RFC6838] Freed, N., Klensin, J., and T. Hansen、「メディアタイプの仕様と登録手順」、BCP 13、RFC 6838、DOI 10.17487/RFC6838、2013年1月、<https://www.rfc-editor.org/info/rfc6838>。

[RFC8174] Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, May 2017, <https://www.rfc-editor.org/info/rfc8174>.

[RFC8174] Leiba, B.、「RFC 2119キーワードの大文字と小文字のあいまいさ」、BCP 14、RFC 8174、DOI 10.17487/RFC8174、2017年5月、<https://www.rfc-editor.org/info/rfc8174>。

[RFC8187] Reschke, J., "Indicating Character Encoding and Language for HTTP Header Field Parameters", RFC 8187, DOI 10.17487/RFC8187, September 2017, <https://www.rfc-editor.org/info/rfc8187>.

[RFC8187] Reschke, J.、「HTTPヘッダーフィールドパラメーターの文字エンコードと言語を示す」、RFC 8187、DOI 10.17487/RFC8187、2017年9月、<https://www.rfc-editor.org/info/rfc8187>。

[RFC8259] Bray, T., Ed., "The JavaScript Object Notation (JSON) Data Interchange Format", STD 90, RFC 8259, DOI 10.17487/RFC8259, December 2017, <https://www.rfc-editor.org/info/rfc8259>.

[RFC8259] Bray, T., Ed.、「JavaScriptオブジェクト表記(JSON)データインターチェンジ形式」、STD 90、RFC 8259、DOI 10.17487/RFC8259、2017年12月、<https://www.rfc-editor.org/info/rfc8259>。

[RFC8288] Nottingham, M., "Web Linking", RFC 8288, DOI 10.17487/RFC8288, October 2017, <https://www.rfc-editor.org/info/rfc8288>.

[RFC8288] Nottingham, M.、「Webリンク」、RFC 8288、DOI 10.17487/RFC8288、2017年10月、<https://www.rfc-editor.org/info/rfc8288>。

[RFC9110] Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke, Ed., "HTTP Semantics", STD 97, RFC 9110, DOI 10.17487/RFC9110, June 2022, <https://www.rfc-editor.org/info/rfc9110>.

[RFC9110] Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke, Ed., "HTTP Semantics"、Std 97、RFC 9110、DOI 10.17487/RFC9110、2022年6月、<https://www.rfc-editor.org/info/rfc9110>。

[W3C.REC-json-ld] Sporny, M., Ed., Kellogg, G., Ed., and M. Lanthaler, Ed., "JSON-LD 1.1: A JSON-based Serialization for Linked Data", W3C Recommendation REC-json-ld-20140116, July 2020, <https://www.w3.org/TR/json-ld/>.

[W3C.REC-json-ld] Sporny, M., Ed., Kellogg, G., Ed., and M. Lanthaler, Ed.、「JSON-LD 1.1:リンクデータのJSONベースのシリアル化」、W3C推奨事項rec-json-ld-20140116、2020年7月、<https://www.w3.org/TR/json-ld/>。

10.2. Informative References
10.2. 参考引用

[DCMI-TERMS] Dublin Core Metadata Initiative, "DCMI Metadata Terms", January 2020, <https://www.dublincore.org/specifications/ dublin-core/dcmi-terms/>.

[DCMI-TERMS] Dublin Core Metadata Initiative、「DCMIメタデータ条件」、2020年1月、<https://www.dublincore.org/specifications/dublin-core/dcmi-terms/>。

[RFC5988] Nottingham, M., "Web Linking", RFC 5988, DOI 10.17487/RFC5988, October 2010, <https://www.rfc-editor.org/info/rfc5988>.

[RFC5988] Nottingham, M.、「Webリンク」、RFC 5988、DOI 10.17487/RFC5988、2010年10月、<https://www.rfc-editor.org/info/rfc5988>。

[RFC6690] Shelby, Z., "Constrained RESTful Environments (CoRE) Link Format", RFC 6690, DOI 10.17487/RFC6690, August 2012, <https://www.rfc-editor.org/info/rfc6690>.

[RFC6690] Shelby, Z.、「制約付き安静環境(コア)リンク形式」、RFC 6690、DOI 10.17487/RFC6690、2012年8月、<https://www.rfc-editor.org/info/rfc6690>

[RFC6906] Wilde, E., "The 'profile' Link Relation Type", RFC 6906, DOI 10.17487/RFC6906, March 2013, <https://www.rfc-editor.org/info/rfc6906>.

[RFC6906] Wilde, E.、「「プロファイル」リンク関係タイプ」、RFC 6906、DOI 10.17487/RFC6906、2013年3月、<https://www.rfc-editor.org/info/rfc6906>。

[RFC7284] Lanthaler, M., "The Profile URI Registry", RFC 7284, DOI 10.17487/RFC7284, June 2014, <https://www.rfc-editor.org/info/rfc7284>.

[RFC7284] Lanthaler, M.、「The Profile URIレジストリ」、RFC 7284、DOI 10.17487/RFC7284、2014年6月、<https://www.rfc-editor.org/info/rfc7284>。

[W3C.REC-rdf11-concepts] Cyganiak, R., Ed., Wood, D., Ed., and M. Lanthaler, Ed., "RDF 1.1 Concepts and Abstract Syntax", W3C Consortium Recommendation REC-rdf11-concepts, February 2014, <https://www.w3.org/TR/rdf11-concepts/>.

[W3C.REC-rdf11-concepts] Cyganiak, R., Ed., Wood, D., Ed., and M. Lanthaler, Ed.、「RDF 1.1概念と抽象的な構文」、W3Cコンソーシアムの推奨REC-RDF11コントセプティ、2014年2月、<https://www.w3.org/TR/rdf11-concepts/>。

Appendix A. JSON-LD Context
付録A. JSON-LDコンテキスト

A set of links rendered according to the JSON serialization defined in Section 4.2 can be interpreted as RDF triples by adding a JSON-LD context [W3C.REC-json-ld] that maps the JSON keys to corresponding Linked Data terms. And, as per Section 6.1 of [W3C.REC-json-ld], when delivering a link set that is rendered according to the "application/linkset+json" media type to a user agent, a server can convey the availability of such a JSON-LD context by using a link with the relation type "http://www.w3.org/ns/json-ld#context" in the HTTP "Link" header field.

セクション4.2で定義されたJSONシリアライゼーションに従って表現されたリンクの集合は、JSONのキーを対応するLinked Dataの用語に対応付けるJSON-LDコンテキスト [W3C.REC-json-ld] を追加することにより、RDFトリプルとして解釈できます。また、[W3C.REC-json-ld] のセクション6.1に従い、"application/linkset+json" メディアタイプに従って表現されたリンクセットをユーザーエージェントに配信する際、サーバーはHTTPの "Link" ヘッダーフィールドで関係タイプ "http://www.w3.org/ns/json-ld#context" を持つリンクを使用することによって、そのようなJSON-LDコンテキストが利用可能であることを伝えることができます。

Figure 19 shows the response to an HTTP GET against the URI of a link set resource and illustrates this approach to support the discovery of a JSON-LD context. This example is inspired by the GS1 implementation and shows a link set that uses relation types from the GS1 vocabulary at <https://www.gs1.org/voc/> that are expressed as HTTP URIs.

図19は、HTTPへの応答をリンクセットリソースのURIに反し、JSON-LDコンテキストの発見をサポートするこのアプローチを示しています。この例はGS1実装に触発され、http urisとして表される<https://www.gs1.org/voc/>のGS1語彙の関係タイプを使用するリンクセットを示しています。

   HTTP/1.1 200 OK
   Date: Mon, 11 Oct 2021 10:48:22 GMT
   Server: Apache-Coyote/1.1
   Content-Type: application/linkset+json
   Link: <https://example.org/contexts/linkset.jsonld>
         ; rel="http://www.w3.org/ns/json-ld#context"
         ; type="application/ld+json"
   Content-Length: 1532
        
   {
     "linkset": [
       {
         "anchor": "https://id.gs1.org/01/09506000149301",
         "https://gs1.org/voc/pip": [
           {
             "href": "https://example.com/en/defaultPage",
             "hreflang": [
               "en"
             ],
             "type": "text/html",
             "title": "Product information"
           },
           {
             "href": "https://example.com/fr/defaultPage",
             "hreflang": [
               "fr"
             ],
             "title": "Information produit"
           }
         ],
         "https://gs1.org/voc/whatsInTheBox": [
           {
             "href": "https://example.com/en/packContents/GB",
             "hreflang": [
               "en"
             ],
             "title": "What's in the box?"
           },
           {
             "href": "https://example.com/fr/packContents/FR",
             "hreflang": [
               "fr"
             ],
             "title": "Qu'y a-t-il dans la boite?"
           },
           {
             "href": "https://example.com/fr/packContents/CH",
             "hreflang": [
               "fr"
             ],
             "title": "Qu'y a-t-il dans la boite?"
           }
         ],
         "https://gs1.org/voc/relatedVideo": [
           {
             "href": "https://video.example",
             "hreflang": [
               "en",
               "fr"
             ],
             "title*": [
               {
                 "value": "See it in action!",
                 "language": "en"
               },
               {
                 "value": "Voyez-le en action!",
                 "language": "fr"
               }
             ]
           }
         ]
       }
     ]
   }
        

Figure 19: Using a typed link to support the discovery of a JSON-LD context for a linkset

図19:リンクセットのJSON-LDコンテキストの発見をサポートするためにタイプ付きリンクを使用する

In order to obtain the JSON-LD context conveyed by the server, the user agent issues an HTTP GET against the link target of the link with the "http://www.w3.org/ns/json-ld#context" relation type. The response to this GET is shown in Figure 20. This particular JSON-LD context maps "application/linkset+json" representations of link sets to Dublin Core terms [DCMI-TERMS]. Note that the "linkset" entry in the JSON-LD context is introduced to support links with the "linkset" relation type in link sets.

サーバーによって伝えられるJSON-LDコンテキストを取得するために、ユーザーエージェントは、「http://www.w3.org/ns/json-ld#context」とのリンクのリンクターゲットに対してHTTP Getに対してHTTP Getを発行します。タイプ。このGETに対する応答を図20に示します。この特定のJSON-LDコンテキストマップ「アプリケーション/リンクセットJSON」リンクセットの表現は、ダブリンコア用語[DCMI-TERMS]への表現です。JSON-LDコンテキストの「リンクセット」エントリが導入され、リンクセットの「リンクセット」関係タイプとのリンクをサポートすることに注意してください。

   HTTP/1.1 200 OK
   Content-Type: application/ld+json
   Content-Length: 658
        
   {
     "@context": [
       {
         "@version": 1.1,
         "@vocab": "https://gs1.org/voc/",
         "anchor": "@id",
         "href": "@id",
         "linkset": {
           "@id": "@graph",
           "@context": {
             "linkset": "linkset"
           }
         },
         "title": {
           "@id": "http://purl.org/dc/terms/title"
         },
         "title*": {
           "@id": "http://purl.org/dc/terms/title"
         },
         "type": {
           "@id": "http://purl.org/dc/terms/format"
         }
       },
       {
         "language": "@language",
         "value": "@value",
         "hreflang": {
           "@id": "http://purl.org/dc/terms/language",
           "@container": "@set"
         }
       }
     ]
   }
        

Figure 20: JSON-LD context mapping to Dublin Core terms

図20:ダブリンのコア用語へのJSON-LDコンテキストマッピング

Applying the JSON-LD context of Figure 20 to the link set of Figure 19 allows transforming the "application/linkset+json" link set to an RDF link set. Figure 21 shows the latter represented by means of the "text/turtle" RDF serialization.

図20のJSON-LDコンテキストを図19のリンクセットに適用すると、「アプリケーション/リンクセットJSON」リンクをRDFリンクセットに変換できます。図21は、「テキスト/タートル」RDFシリアル化によって表される後者を示しています。

<https://example.com/en/defaultPage> <http://purl.org/dc/terms/format> "text/html" . <https://example.com/en/defaultPage> <http://purl.org/dc/terms/language> "en" . <https://example.com/en/defaultPage> <http://purl.org/dc/terms/title> "Product information" . <https://example.com/en/packContents/GB> <http://purl.org/dc/terms/language> "en" . <https://example.com/en/packContents/GB> <http://purl.org/dc/terms/title> "What's in the box?" . <https://example.com/fr/defaultPage> <http://purl.org/dc/terms/language> "fr" . <https://example.com/fr/defaultPage> <http://purl.org/dc/terms/title> "Information produit" . <https://example.com/fr/packContents/CH> <http://purl.org/dc/terms/language> "fr" . <https://example.com/fr/packContents/CH> <http://purl.org/dc/terms/title> "Qu'y a-t-il dans la boite?" . <https://example.com/fr/packContents/FR> <http://purl.org/dc/terms/language> "fr" . <https://example.com/fr/packContents/FR> <http://purl.org/dc/terms/title> "Qu'y a-t-il dans la boite?" . <https://id.gs1.org/01/09506000149301> <https://gs1.org/voc/pip> <https://example.com/en/defaultPage> . <https://id.gs1.org/01/09506000149301> <https://gs1.org/voc/pip> <https://example.com/fr/defaultPage> . <https://id.gs1.org/01/09506000149301> <https://gs1.org/voc/relatedVideo> <https://video.example> . <https://id.gs1.org/01/09506000149301> <https://gs1.org/voc/whatsInTheBox> <https://example.com/en/packContents/GB> . <https://id.gs1.org/01/09506000149301> <https://gs1.org/voc/whatsInTheBox> <https://example.com/fr/packContents/CH> . <https://id.gs1.org/01/09506000149301> <https://gs1.org/voc/whatsInTheBox> <https://example.com/fr/packContents/FR> . <https://video.example> <http://purl.org/dc/terms/language> "en" . <https://video.example> <http://purl.org/dc/terms/language> "fr" . <https://video.example> <http://purl.org/dc/terms/title> "See it in action!"@en . <https://video.example> <http://purl.org/dc/terms/title> "Voyez-le en action!"@fr .

<https://example.com/en/defaultPage> <http://purl.org/dc/terms/format> "text/html"。 <https://example.com/en/defaultPage> <http://purl.org/dc/terms/language> "en"。 <https://example.com/en/defaultPage> <http://purl.org/dc/terms/title>「製品情報」。 <https://example.com/en/packContents/GB> <http://purl.org/dc/terms/language> "en"。 <https://example.com/en/packContents/GB> <http://purl.org/dc/terms/title>「ボックスには何がありますか?」 。 <https://example.com/fr/defaultPage> <http://purl.org/dc/terms/language> "fr"。 <https://example.com/fr/defaultPage> <http://purl.org/dc/terms/title> "Information Produit"。 <https://example.com/fr/packContents/CH> <http://purl.org/dc/terms/language> "fr"。 <https://example.com/fr/packContents/CH> <http://purl.org/dc/terms/title> "qu'y a-t-il dans la boite?" 。 <https://example.com/fr/packContents/FR> <http://purl.org/dc/terms/language> "fr"。 <https://example.com/fr/packContents/FR> <http://purl.org/dc/terms/title> "qu'y a-t-il dans la boite?" 。 <https://id.gs1.org/01/09506000149301> <https://gs1.org/voc/pip> <https://example.com/en/defaultPage>。 <https://id.gs1.org/01/09506000149301> <https://gs1.org/voc/pip> <https://example.com/fr/defaultPage>。 <https://id.gs1.org/01/09506000149301> <https://gs1.org/voc/relatedVideo> <https://video.example>。 <https://id.gs1.org/01/09506000149301> <https://gs1.org/voc/whatsInTheBox> <https://example.com/en/packContents/GB> <https://id.gs1.org/01/09506000149301> <https://gs1.org/voc/whatsInTheBox> <https://example.com/fr/packContents/CH>。 <https://id.gs1.org/01/09506000149301> <https://gs1.org/voc/whatsInTheBox> <https://example.com/fr/packContents/FR>。 <https://video.example> <http://purl.org/dc/terms/language> "en"。 <https://video.example> <http://purl.org/dc/terms/language> "fr"。 <https://video.example> <http://purl.org/dc/terms/title>「アクションでそれを見る!」@en。 <https://video.example> <http://purl.org/dc/terms/title> "voyez-le en action!"@fr。

Figure 21: RDF serialization of the linkset resulting from applying the JSON-LD context

図21:JSON-LDコンテキストの適用に起因するリンクセットのRDFシリアル化

Acknowledgements

謝辞

Thanks for comments and suggestions provided by Phil Archer, Dominique Guinard, Mark Nottingham, Julian Reschke, Rob Sanderson, Stian Soiland-Reyes, Sarven Capadisli, and Addison Phillips.

Phil Archer、Dominique Guinard、Mark Nottingham、Julian Reschke、Rob Sanderson、Stian Soiland-Reyes、Sarven Capadisli、Addison Phillipsから提供されたコメントと提案をありがとう。

Authors' Addresses

著者のアドレス

Erik Wilde Axway Email: erik.wilde@dret.net

Erik Wilde Axwayメール:erik.wilde@dret.net

   Herbert Van de Sompel
   Data Archiving and Networked Services
   Email: herbert.van.de.sompel@dans.knaw.nl
   URI:   https://orcid.org/0000-0002-0715-6126