Hello,
What is the canonical URL for a Wikidata page?
All of these currently work and none are a 301 redirect: http://wikidata.org/wiki/Q192 http://www.wikidata.org/wiki/Q192 http://en.wikidata.org/wiki/Q192
nick.
http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
Hi Nick,
we are not completely decided yet, but it should be one of the first two. Personally I'd prefer wikidata.org over www.wikidata.org, but it might depend on some technical settings.
By the way, we also plan to provide an URI for the entity, not just for the page of the entity, which will probably be http://wikidata.org/id/Q9531
But wait for that until January I guess.
Cheers, Denny
2012/12/3 Nicholas Humfrey Nicholas.Humfrey@bbc.co.uk
Hello,
What is the canonical URL for a Wikidata page?
All of these currently work and none are a 301 redirect: http://wikidata.org/wiki/Q192 http://www.wikidata.org/wiki/Q192 http://en.wikidata.org/wiki/Q192
nick.
http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
Wikidata-l mailing list Wikidata-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-l
On 03.12.2012 16:16, Nicholas Humfrey wrote:
All of these currently work and none are a 301 redirect: http://wikidata.org/wiki/Q192
This is the canonical URL if the *page* (not the URI of the item, nor of the item data). Out plans for canonical URIs are described here:
https://meta.wikimedia.org/wiki/Wikidata/Notes/URI_scheme
Some parts probably need to be revised, and much isn't yet implemented. But according to that page, we'll be using this:
* http://wikidata.org/id/Q192 for the item itself. * http://wikidata.org/data/Q192 for the item data.
We will keep that around as an alias.
This is deprecated and should not work at all according to the proposed scheme. Instead,
http://en.wikidata.org/wiki/David_Cameron
should be an alias for
https://wikidata.org/title/enwiki:David_Cameron
and should thus redirect to
But this doesn't happen yet.
HTH -- daniel
On 03/12/2012 15:40, "Daniel Kinzler" daniel.kinzler@wikimedia.de wrote:
On 03.12.2012 16:16, Nicholas Humfrey wrote:
All of these currently work and none are a 301 redirect: http://wikidata.org/wiki/Q192
This is the canonical URL if the *page* (not the URI of the item, nor of the item data). Out plans for canonical URIs are described here:
https://meta.wikimedia.org/wiki/Wikidata/Notes/URI_scheme
Some parts probably need to be revised, and much isn't yet implemented. But according to that page, we'll be using this:
- http://wikidata.org/id/Q192 for the item itself.
- http://wikidata.org/data/Q192 for the item data.
We will keep that around as an alias.
This is deprecated and should not work at all according to the proposed scheme. Instead,
http://en.wikidata.org/wiki/David_Cameron
should be an alias for
https://wikidata.org/title/enwiki:David_Cameron
and should thus redirect to
But this doesn't happen yet.
HTH
Very helpful, thanks Daniel!
Really exciting to see this taking shape.
nick.
http://www.bbc.co.uk/ This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this.
Hello
I've *finally* updated my wikidata URI pattern picture based on this and an earlier conversation from back in August [1]:
(you need to click the image before it's readable)
Hoping it looks a little more correct. Certainly makes more sense in my head.
My only concern is that (like DBpedia) it seems to conflate the 303 (can't send you that) step with the content negotiation step.
So if: http://wikidata.org/id/Q%7Bid%7D is the entity / non-information resource URI
and: http://wikidata.org/wiki/Q%7Bid%7D http://wikidata.org/data/Q%7Bid%7D.%7Bformat%7D.%7Blang%7D (or similar) are information resource representation URIs
there's no generic information resource URI in the scheme.
In BBC-land we try to never expose the information resource representation URIs except as location headers. So
bbc.co.uk/programmes/:programme#programme is the NIR
bbc.co.uk/programmes/:programme is the generic IR which connegs to:
bbc.co.uk/programmes/:programme.html < desktop html bbc.co.uk/programmes/:programme.mp < mobile html bbc.co.uk/programmes/:programme.json < json bbc.co.uk/programmes/:programme.xml < xml bbc.co.uk/programmes/:programme.rdf < rdf etc
and the .html, .mp, .json, .xml, .rdf are never exposed except as location headers for conneg on the generic IR and the #programme bit is never used except when we want to make RDF(a) statements about the NIR
Wondering if the 303 / conneg conflation will make it more difficult to understand what's going on, more difficult to work with and more difficult to host if you pick up a 303 for every link (as in DBpedia)
cheers michael
[1] http://www.mail-archive.com/wikidata-l@lists.wikimedia.org/msg00858.html
----------------------------- http://www.bbc.co.uk This e-mail (and any attachments) is confidential and may contain personal views which are not the views of the BBC unless specifically stated. If you have received it in error, please delete it from your system. Do not use, copy or disclose the information in any way nor act in reliance on it and notify the sender immediately. Please note that the BBC monitors e-mails sent or received. Further communication will signify your consent to this. -----------------------------