From Section 9.2 on Node Objects [1].

If the node object contains the @type key, its value MUST be either an IRI reference, a compact IRI (including blank node identifiers), a term defined in the active context expanding into an IRI, or an array of any of these. See § 3.5 Specifying the Typefor further discussion on @type values.

So, yes, @type can be resolved either to the default vocabulary or the document location. It’s about the only term that has this dual expansion capability.

Gregg Kellogg

[1] https://www.w3.org/TR/json-ld11/#node-objects

Sent from my iPhone

On Aug 20, 2024, at 2:09 AM, Melvin Carvalho <melvincarvalho@gmail.com> wrote:


if I have :

"@type": "Thing"

will that look for a relative URI in the current document if there is no context?

and if there is a context, can I still point to a relative URI?