[1] [DFN[[RUBY[簡潔][コンパクト]@en[compact]] IRI]] は、[[JSON-LD]]
で用いられている [[IRI]] の略記法 ([[QName]] のバリエーションの1つ) です。

* 仕様書

[REFS[
- [2] '''[CITE[JSON-LD Syntax 1.0]] ([TIME[2012-06-27 10:06:49 +09:00]] 版) <http://json-ld.org/spec/FCGS/json-ld-syntax/20120626/#compact-iris>'''
- [7] [CITE[JSON-LD API 1.0]] ([TIME[2012-06-27 10:09:09 +09:00]] 版) <http://json-ld.org/spec/FCGS/json-ld-api/20120626/#iri-expansion>
]REFS]

* 特徴

- [3] [[RFC 3987]] [[IRI]] の前半部分を[[接頭辞]]に置き換えることができます
-- これは [[QName]] や [[CURIE]] と同様です
- [4] [CODE(URI)@en[[[://]]]] が後に続けば[[接頭辞]]ではなく、全体がそのまま [[IRI]] であるとみなします
- [5] [[接頭辞]]が定義されていなければ、全体がそのまま [[IRI]] であるとみなします
- [6] [[接頭辞]] [DFN[[CODE(URI)[[[_]]]]]] は [[blank node]] に相当するものですが、これもそのまま全体が [[IRI]] であるとみなします
-- ということは [CODE(URI)@en[[[_:]]]] という [[URL scheme]] が存在することになってしまいますが・・・
- [8] 展開や簡潔化の手順は >>7 で規定されています。

[9] [CITE@en[RDF 1.1 Turtle]]
( ([TIME[2014-03-07 08:53:19 +09:00]] 版))
<https://dvcs.w3.org/hg/rdf/raw-file/default/rdf-turtle/index.html#h3_BNodes>

[FIG(quote)[
[FIGCAPTION[
[10] [CITE@en[Metadata Vocabulary for Tabular Data]]
([TIME[2015-04-18 02:16:54 +09:00]] 版)
<http://w3c.github.io/csvw/metadata/#conformance>
]FIGCAPTION]

> This specification makes use of the compact IRI Syntax; please refer to the Compact IRIs from '''['''JSON-LD''']'''.

]FIG]


[FIG(quote)[
[FIGCAPTION[
[11] [CITE@en[Model for Tabular Data and Metadata on the Web]]
([TIME[2015-12-03 19:28:42 +09:00]] 版)
<http://www.w3.org/TR/2015/REC-tabular-data-model-20151217/#conformance>
]FIGCAPTION]

> This specification makes use of the compact IRI Syntax; please refer to the Compact IRIs from '''['''JSON-LD''']'''.

]FIG]


[FIG(quote)[
[FIGCAPTION[
[12] [CITE@en[Metadata Vocabulary for Tabular Data]]
([TIME[2015-12-03 20:03:14 +09:00]] 版)
<http://www.w3.org/TR/2015/REC-tabular-metadata-20151217/#dfn-compact-iri>
]FIGCAPTION]

> This specification makes use of the compact IRI Syntax; please refer to the Compact IRIs from '''['''JSON-LD''']'''.

]FIG]


[FIG(quote)[
[FIGCAPTION[
[13] [CITE@en[Metadata Vocabulary for Tabular Data]]
([TIME[2015-12-03 20:03:14 +09:00]] 版)
<http://www.w3.org/TR/2015/REC-tabular-metadata-20151217/#url-compaction>
]FIGCAPTION]

> targetFormat
> A link property giving the single URL for the format that will be created through the transformation. If one has been defined, this should be a URL for a media type, in the form http://www.iana.org/assignments/media-types/media-type such as http://www.iana.org/assignments/media-types/text/calendar. Otherwise, it can be any URL that describes the target format.
> h-note20NOTE
> The targetFormat URL is intended as an informative identifier for the target format, and applications should not access the URL.

]FIG]


[FIG(quote)[
[FIGCAPTION[
[14] [CITE@en[Generating RDF from Tabular Data on the Web]]
([TIME[2015-12-03 20:05:40 +09:00]] 版)
<http://www.w3.org/TR/2015/REC-csv2rdf-20151217/#dfn-compact-iri-syntax>
]FIGCAPTION]

> This specification makes use of the compact IRI Syntax; please refer to the Compact IRIs from '''['''json-ld''']'''.

]FIG]
