Re: url patterns for describedby target resource

[sorry my university email mangles URLs making working on RDF & XML rage 
inducing]

The use of Location is interesting here as it's NOT the location is this 
case, it's the address of the indicator. Plus you've not *created* the 
resource, you've defined an indicator to a resource. It's petty but 
these semantics are hard.

Patterns make me nervous and I would rather be explicit. The only time 
I'm OK with using a pattern is in your own empire when you define all 
the URIs and URLs, for other people's data you shouldn't assume.



On 16/06/2020 03:36, Paul Tyson wrote:
> The LDP Primer [1] shows one example of creating a non-RDF resource 
> and an associated RDF description of it:
>
> HTTP/1.1 201 Created
> Location: 
> https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fexample.org%2Falice%2Favatar&data=01%7C01%7Ctotl%40soton.ac.uk%7C53fb796f2dcc469aba2108d8119eb65e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=NArohhdTtIfa9%2Fr3FO3m2ZCRvqDmWnySpfY7Npawsac%3D&reserved=0
> Link: 
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.w3.org%2Fns%2Fldp%23Resource&amp;data=01%7C01%7Ctotl%40soton.ac.uk%7C53fb796f2dcc469aba2108d8119eb65e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=GWfIT1Dir03Xbrz%2FN5EsyEdSd4oftdW7L57FEHcZMxk%3D&amp;reserved=0>; 
> rel="type"
> Link: 
> <https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fexample.org%2Falice%2Favatar%2Fmeta&amp;data=01%7C01%7Ctotl%40soton.ac.uk%7C53fb796f2dcc469aba2108d8119eb65e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=g%2FUJHnUIvfQyDdw9opOm2Sm%2F9PwAOBADtHLF7WVOOiA%3D&amp;reserved=0>; 
> rel="describedby"
> Content-Length: 0
>
> It seems reasonable, but not necessary, to derive the describedby URL 
> from the resource URL, but the pattern illustrated here could easily 
> intrude on the legitimate namespace of non-RDF resources.
>
> Does anyone know of other patterns for generating describedby URLs for 
> non-RDF resources?
>
> Thanks in advance for suggestions.
>
> Best,
>
> --Paul
>
> [1] 
> https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.w3.org%2FTR%2Fldp-primer%2F%23creating-a-non-rdf-binary-resource-post-an-image-to-an-ldp-bc&amp;data=01%7C01%7Ctotl%40soton.ac.uk%7C53fb796f2dcc469aba2108d8119eb65e%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&amp;sdata=r8CzzVpf2cQN9kjzzP11m7XdruVjaRhmt34fn%2BVQDv4%3D&amp;reserved=0
>
>
-- 
Christopher Gutteridge <totl@soton.ac.uk>
You should read our team blog at http://blog.soton.ac.uk/webteam/

Received on Tuesday, 16 June 2020 09:27:33 UTC