--You received this message because you are subscribed to the Google Groups ARKs group. To post to this group, send email to arks-...@googlegroups.com. To unsubscribe from this group, send email to arks-forum+...@googlegroups.com. For more options, visit this group at https://groups.google.com/d/forum/arks-forum?hl=en---You received this message because you are subscribed to the Google Groups "ARKs" group.To unsubscribe from this group and stop receiving emails from it, send an email to arks-forum+...@googlegroups.com.To view this discussion on the web visit https://groups.google.com/d/msgid/arks-forum/29e57a33-1abc-424a-a268-626b6c4c6a47n%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/arks-forum/d4639afb-f706-41a3-ad06-a4b2465a680en%40googlegroups.com.
Hi Bertrand,
I’m curious how a conflict between resource type requested via content negotiation vs. object variant in the ark might be reconciled. Which would take precedence, the provided Accept header or the variant hint?
Another issue may be the lack of a well-defined vocabulary for variants when expressed in an ark versus IANA registered media types. Perhaps some review of similar systems might lead to some consistency for variant labels.
One approach to assist technical users may be to advertise the availability of alternate representations of the identified resource by providing a link header in the server response. For example, a request to https://data.bnf.fr/ark:/12148/cb11893627z
may return as part of the response a link header (formatted for readability):
link:
<https://data.bnf.fr/fr/11893627/nicolas_bouvier/rdf.xml>;
rel=“alternate”;
type=“application/rdf+xml”,
<https://data.bnf.fr/fr/11893627/nicolas_bouvier/rdf.nt>;
rel=“alternate”;
type=“application/n-triples”
or perhaps:
link:
<https://data.bnf.fr/ark:/12148/cb11893627z/rdf.xml>;
rel=“alternate”;
type=“application/rdf+xml”,
<https://data.bnf.fr/ark:/12148/cb11893627z/rdf.nt>;
rel=“alternate”;
type=“application/n-triples”
Then it is clear to a consumer application the association between resource links and the type of resource available. With a little javascript, a browser client could generate the alternate links in the UI by issuing a HEAD request against the target and examining the link header values in the response.
Another mechanism is agent-driven negotiation but that process is not so well defined.
regards,
Dave Vieglais
To view this discussion on the web visit https://groups.google.com/d/msgid/arks-forum/d4639afb-f706-41a3-ad06-a4b2465a680en%40googlegroups.com.