Nevalicori added a comment.

@daniel: do you mean 'this concrete serialisation', 'this abstract document', 
or 'a specific version of this abstract document'?

(Realistically, you need a URI pattern that handles all three)

At the moment, there are definitely two //canonical// versions of those:

`/wiki/Special:EntityData/Q1.ttl` - the concrete serialisation of the current 
version of the document

`/wiki/Special:EntityData/Q1` (or `data:Q1`)- the current version of the 
abstract document which can be serialised in a number of formats

(When dereferenced, the latter always redirects to the former - of course, it 
could in the future not redirect, but instead just serve the equivalent content 
to the former and ideally send an appropriate `Content-Location` instead).

Versioning can be handled through a million ways, and I'm guessing some of the 
wikidata stack does that already through query-parameters, so let's leave that 
for the moment.

I might be being dim and missing the point, but I //think// what you're driving 
at is...

For //not-necessarily-canonical copies// (for example, a copy that's been saved 
to disk and may have a `file:///` URI), you can express triples with a subject 
of `<>` as the concrete serialisation and express a relationship between that 
and the canonical URI for the document, `data:Q1` (and it's up to you whether 
you attempt to express any kind of relationship between `<>` and, say, 
`/wiki/Special:EntityData/Q1.ttl`; if the two are actually the same URI, you 
risk stating that a subject is derived from itself, if you're not careful!)

Is that what you meant? Is that the answer?


TASK DETAIL
  https://phabricator.wikimedia.org/T73991

REPLY HANDLER ACTIONS
  Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign 
<username>.

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Nevalicori
Cc: Smalyshev, Nevalicori, Wikidata-bugs, Lydia_Pintscher, daniel, aude



_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to