-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON-LD context relation #45
Comments
We don't feel liking re-opening the can of worms of whether it should or should not be possible to use the IANA-registered link relation types as URIs for use in semantic web applications. The proposal is:
@mnot, please let us know if not OK. |
It's |
Ah - if it's defined by JSON-LD, not this spec, never mind. Using IANA URLs without consulting IANA is pretty naughty of JSON-LD, though... |
On 2021-09-23 02:32, Mark Nottingham wrote:
Ah - if it's defined by JSON-LD, not this spec, never mind. Using IANA
URLs without consulting IANA is pretty naughty of JSON-LD, though...
we're most definitely not defining it.
the RDF community has been struggling a long time with their constraint
that identifiers must be URIs, whereas many IANA-managed identifiers are
are just strings.
you might remember the discussions for RFC 5988/8288 which ended up with
nothing because it was (too) hard to come to a solution that both works
for the web and the semantic web.
|
I'd like to add a clarification:
As proposed above, in order to avoid using the IANA URI Having said that, I do want to express that I find it very regrettable that no mechanism exists to express IANA-registered link relation types as HTTP URIs. Having such a mechanism would be beneficial for interoperability between semantic and non-semantic applications. Direct results of not having such a mechanism:
|
And in elsewhere in the W3C context, ActivityStreams also mapped 5988 links into its ontology: https://www.w3.org/TR/activitystreams-core/#link |
I'll discuss an example Linkset and context file with @hvdsomp and @dret offline. The example in my little Linkset visualization library demo at https://gs1.github.io/linkset/ is probably the best one I have to hand. It deliberately uses various features of Linkset. However, things like our link rel types of gs1:defaultLink and gs1:defaultLinkMulti are probably ones you don't want in this example but they can easily be stripped out. I'm working to get our JSON-LD context file in place in its permanent URI - something that is proving more difficult than you'd imagine. It doesn't create URIs out of IANA link relations but I'm with @hvdsomp - it's a shame the situation is as it is on this one. Our link relations types are explicitly defined as RDF properties precisely so that our resolver service and its Linksets form a Linked Data node. Anyway, that's by the by... |
The ActivityStreams link example 14 indeed adds more reasons why work on a JSON-LD context file is really needed. See also the Playground version of the string literals popping up in the resulting graph https://tinyurl.com/4r7jm4b3 |
Reworked Appendix A with a new example that does not leverage IANA-registered link relation types as per the discussion in #45. Also adding the JSON-LD 1.1 solution to the problem of not being able to use "linkset" links in link sets when mapping to JSON-LD as provided by @azaroth42 in #47. Unfortunately, as things stand with not being able to express IANA-registered link relation types as HTTP URIs (see also #45) it will not be possible to use "linkset" links (or any other IANA-registered link types) in link sets that need to be mapped to JSON-LD until a solution is found with that regard.
Addressed in 0838136 |
Is everyone else happy with the revised version on this issue? (I am) |
For completeness of this thread, I want to add that the issue with expressing IANA-registered link relation types as HTTP URIs was also discussed in mnot/I-D#140 and would likely also pop up in relation to protocol-registries/link-relations#25 |
Closing. Addressed in https://www.ietf.org/archive/id/draft-ietf-httpapi-linkset-04.html |
Mark's final comment https://mailarchive.ietf.org/arch/msg/httpapi/gv9uqyD8Fv96P-_ip9LWIiCqALM/ is
The link relation type of http://www.w3.org/ns/json-ld#context is defined in W3C's JSON-LD 1.1 spec so it's out of our control here. See https://www.w3.org/TR/json-ld/#interpreting-json-as-json-ld. I wasn't involved in this work so I can't comment on why it's http and not https. Gregg Kellogg would know.
The text was updated successfully, but these errors were encountered: