You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am guessing that the answer is related to #77 and that a type map is using node object @type as keys, rather than value object @types.
My use case is this: I would like to attach skos:notation values to my resources. Because skos:notation uses locally coined datatypes to distinguish the context of the notation, I would like to be tagging the @type into these values. This is simple enough in the case of a single notation: just use type coercion on a term like nickname or reference. However, if I want to use different notations for different kinds of resources, or using multiple notations on a single resource, the coercion becomes more complex.
Instead, I would like to use a type map to briefly tag the notation, and perhaps provide "coordinates" in the form of multiple notations. The JSON playground makes this look like it almost works:
I am guessing that the answer is related to #77 and that a type map is using node object
@type
as keys, rather than value object@type
s.My use case is this: I would like to attach
skos:notation
values to my resources. Becauseskos:notation
uses locally coined datatypes to distinguish the context of the notation, I would like to be tagging the@type
into these values. This is simple enough in the case of a single notation: just use type coercion on a term likenickname
orreference
. However, if I want to use different notations for different kinds of resources, or using multiple notations on a single resource, the coercion becomes more complex.Instead, I would like to use a type map to briefly tag the notation, and perhaps provide "coordinates" in the form of multiple notations. The JSON playground makes this look like it almost works:
Playground link
I note that the expanded version has an array for
@type
however, which I understand is not allowed for a value object.The text was updated successfully, but these errors were encountered: