CARVIEW |
Select Language
HTTP/2 200
date: Fri, 10 Oct 2025 09:42:51 GMT
content-type: text/html
content-encoding: gzip
last-modified: Thu, 13 Jul 2023 17:29:55 GMT
cache-control: max-age=2592000, public
expires: Sun, 09 Nov 2025 09:42:51 GMT
vary: Accept-Encoding
access-control-allow-origin: *
x-request-id: 98c52b8adf0ee8e0
strict-transport-security: max-age=15552015; preload
x-frame-options: deny
x-xss-protection: 1; mode=block
cf-cache-status: MISS
set-cookie: __cf_bm=SG_cW1JRRC5CIn5e.iaH9E5qj60KOiA39slGv5yp_7g-1760089371-1.0.1.1-FTsd5CPPJ_6.pk_AxprhqBKAWmiUZzueXkAHbn6C4HyryoSjpCctxQSInrCZpNBUJI3b_SjcLYiWd2R_nEJHaOBd_6TBEkTwEzoom52ojNE; path=/; expires=Fri, 10-Oct-25 10:12:51 GMT; domain=.w3.org; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 98c52b8adf0ee8e0-BLR
alt-svc: h3=":443"; ma=86400
IRI Compaction creates unintended compact IRIs from Gregg Kellogg on 2018-01-23 (public-rdf-comments@w3.org from January 2018)
IRI Compaction creates unintended compact IRIs
- From: Gregg Kellogg <gregg@greggkellogg.net>
- Date: Tue, 23 Jan 2018 11:32:48 -0800
- To: public-rdf-comments Comments <public-rdf-comments@w3.org>
- Message-Id: <029F7A22-3144-4387-A46E-DCD57638583D@greggkellogg.net>
As described in https://github.com/json-ld/json-ld.org/pull/511#issuecomment-313263440, the mechanism used for constructing compact IRIs from terms considers terms that are not intended to be used for prefixes. For example, if a context defines “schema”: “https://schema.org”, and the term “sport”: {“@id”: “schema:sport”, “@type”: “@id”}, when compacting the IRI https://schema.org/sportsEvent, it will generate “sport:sEvent”. There are numerous similar examples. This is fixed in the CG version in https://github.com/json-ld/json-ld.org/pull/511; when compacting documents in legacy mode, only simple terms (not having a complex term definitions) ending in a delimiter are considered for constructing compact IRIs. For new usage, when version is set appropriately, this can be further modified by adding a @prefix entry in a term definition. Gregg Kellogg gregg@greggkellogg.net
Received on Tuesday, 23 January 2018 19:33:13 UTC