I got asked on Twitter on how I would use Content-Location
with Linked Data, see https://twitter.com/elfpavlik/status/605693139119153153.
I'm referring to my remark from the Trifid-LD Readme:
Trifid-LD does not care about HTTPRange-14 and neither should you. We consider the extra 303 redirect round-trip a waste of precious response time. You get back what you asked for in content-negotiation.
As you can see later in the text we did think about the Content-Location
header but didn't implement it so far. The reason is pretty simple: While I understand the problem (up to some point at least) from a meta-level I fail to see where this is an issue in the real world. I'm just an engineer and maybe I'm oversimplifying things here but as long as no one gives me a clear explanation on why this will lead to real world problems, I will continue to ignore HTTPRange-14. Also I'm not a native English speaker so some of the discussions were quite hard to understand for me, fair chance that I missed the point somewhere.
The 303-solution in practice constantly annoyed me as this is causing more confusion than anything else to people with little or no Linked Data background. If you don't believe me try to give introductions to Linked Data to "normal" people and tell them why the URI they just copy/pasted from the DBpedia web browser interface does not work in the SPARQL query. When I tell them that the /page/
is not the same as the /resource/
because some assume this could lead to issues they probably think I'm insane. Beside this I am interested in speed and doing an extra round-trip is, as I mention, just a waste of time.
So one day (and a long evening/night) I started to go through endless amounts of mails around the topic on the quest for a better solution. Unfortunately I can't find the notes anymore I did back then but I did find some postings where people propose to use Content-Location
instead. IIRC some of the LD-gods like Kingsley agreed that this might be a viable alternative. Googling for it I find an older post by Ian Davis, see here and a related post here.
This is pretty much what I propose as well with the only difference that I wonder if Step 3 in his description is really necessary which says "include a triple in the body of the response whose subject is the URI of your thing".
And again, I doubt it matters in the real world. I will ignore it until someone gives me a really good reason about why I should care.
elv Pavlik pointed me to this post from Kingsley: https://lists.w3.org/Archives/Public/public-webid/2013Mar/0057.html