Hello all,
inside : http://www.wikidata.org/wiki/Special:EntityData/Q1.nt page i found the triple
http://www.wikidata.org/wiki/Special:EntityData/Q1000 < http://schema.org/about%3E http://www.wikidata.org/entity/Q1000 .
it's a little bit confusing , what i got is
- http://www.wikidata.org/entity/Q1000 is the entity URI and it directs to the viewer - http://www.wikidata.org/wiki/Special:EntityData/Q1000 is a link to the API data viewer
is that correct ? if so ? why does the triple above exist, does WikiData treats the Special:Entity links are the default pages ?
thanks Regards
------------------------------------------------- Hady El-Sahar Research Assistant Center of Informatics Sciences | Nile Universityhttp://nileuniversity.edu.eg/
email : hadyelsahar@gmail.com Phone : +2-01220887311 http://hadyelsahar.me/
Am 27.06.2013 16:08, schrieb Hady elsahar:
Hello all,
inside : http://www.wikidata.org/wiki/Special:EntityData/Q1.nt page i found the triple
http://www.wikidata.org/wiki/Special:EntityData/Q1000 http://schema.org/about http://www.wikidata.org/entity/Q1000 .
it's a little bit confusing , what i got is
- http://www.wikidata.org/entity/Q1000 is the entity URI and it directs to the viewer
- http://www.wikidata.org/wiki/Special:EntityData/Q1000 is a link to the API data viewer
is that correct ? if so ? why does the triple above exist, does WikiData treats the Special:Entity links are the default pages ?
The triple you mention makes explicit the distinction (and relationship) between the *thing* and it's *description*. This is to avoid an "identity crisis" as described here: http://www.ontopia.net/topicmaps/materials/identitycrisis.html.
So...
* http://www.wikidata.org/entity/Q1000 is the canonical URI of the "thing" Gabon.
* http://www.wikidata.org/wiki/Special:EntityData/Q1000 is the canonical URI of the *document* that *describes* Gabon.
That is, the document is *about* the thing. Which is what the triple expresses.
Why this distinction is needed becomes clear when thinking about the description of a book: if the description has the same URI also used for the book, and you ask for the authors, should you get the authors of the book, or the authors of the description? Only if you make the distinction between the thing and it's description can you avoid this issue.
Now, when using the above URIs as URLs and retrieving the respective document, you will get the same data (we can hardly return the "thing" Gabon from that URL, so we rather return the document about the thing). That does not mean that the URIs mean the same thing.
To add to the confusion, there are a few more fine points here, such as the distinction between http://www.wikidata.org/wiki/Special:EntityData/Q1000 and http://www.wikidata.org/wiki/Special:EntityData/Q1000.nt (the latter being the URI/URL of a specific serialization of the description), or the fact that depending on the Accept header you send, you may be redirected to https://www.wikidata.org/wiki/Q1000 (which is the canonical URL for the HTML representation of the description of Gabon). But in the end, just keep in mind that the thing as such needs a URI distinct from the document's URL.
-- daniel
But the problem seems to be that http://www.wikidata.org/wiki/Q1000 actually seems to be an information resource, i.e. under this URI html content is directly being returned (rather than being http 303 redirected).
Also, checking with http://validator.linkeddata.org/vapour I received an error about invalid response (I am not sure whether this is a problem with Vapour or Wikidata ...)
Gregor
Am 28.06.2013 18:10, schrieb Gregor Hagedorn:
But the problem seems to be that http://www.wikidata.org/wiki/Q1000 actually seems to be an information resource, i.e. under this URI html content is directly being returned (rather than being http 303 redirected).
http://www.wikidata.org/wiki/Q1000 is indeed an information resource http://www.wikidata.org/entity/Q1000 is the URI for the thing, which indeed returns a redirect (sadly, it's a 302 followed by a 303 at the moment, for technical reasons - I'll have to talk to ops about that)
Also, checking with http://validator.linkeddata.org/vapour I received an error about invalid response (I am not sure whether this is a problem with Vapour or Wikidata ...)
More details would be appreciated.
But the RDF interface is very much incomplete. Statements are missing, and some details about the RDF mappings are bound to change.
-- daniel
But the problem seems to be that http://www.wikidata.org/wiki/Q1000 actually seems to be an information resource, i.e. under this URI html content is directly being returned (rather than being http 303 redirected).
Also, checking with http://validator.linkeddata.org/vapour I received an error about invalid response (I am not sure whether this is a problem with Vapour or Wikidata ...)
Gregor