These are chat archives for HuygensING/alexandria

13th
Jan 2016
Ronald Haentjens Dekker
@rhdekker
Jan 13 2016 15:26
Hi @gremid are you there?
Gregor Middell
@gremid
Jan 13 2016 15:33
hi
@rhdekker: am here
Ronald Haentjens Dekker
@rhdekker
Jan 13 2016 15:37
Within the team we have discussed some more how to pinpoint to locations with resources.
I told you about the fact that there are resources in Alexandria that can have subresources themsolves etc.
Subsources contain a string to identify the location. At the moment that string is not interpreted.
Subresources are a way for end users to organise their data.
Anyway subresources were the only way to point into your data.
As we discussed previously it is likely that we want to have multiple ways to point into a resources depending on the source material.
For plain text ranges seem an obvious choice. While when one has TEI/XML source files Xpath queries seems more suited.
So far so good.
Now we don’t want to abuse subresources for this.
For that we reason we want to introduce a Locator (temporary name) object.
There is no code yet. We plan to work on this during the next sprint.
Gregor Middell
@gremid
Jan 13 2016 15:42
the name "subresource" implies that there is a hierarchy relation between a resource and a subresource
Ronald Haentjens Dekker
@rhdekker
Jan 13 2016 15:42
Since you are going to need your own implementation of this ‘Locator’ concept I thought it would be best to share this idea.
Gregor Middell
@gremid
Jan 13 2016 15:43
this hierarchy is constituted by containment of the subresource in some other resource?
Ronald Haentjens Dekker
@rhdekker
Jan 13 2016 15:43
Subresource: yes
Gregor Middell
@gremid
Jan 13 2016 15:43
i.e. the content of the subresource is fully contained in the parent resource?
Ronald Haentjens Dekker
@rhdekker
Jan 13 2016 15:43
Yes. For example a corpus can consist of multiple editions
An editions contains multiple letters etc.
Gregor Middell
@gremid
Jan 13 2016 15:44
ok
i am just curious: why did you think of the subresource as a means of abusing addressing then?
Ronald Haentjens Dekker
@rhdekker
Jan 13 2016 15:45
Our paying customer is using them like this in their use case.
Gregor Middell
@gremid
Jan 13 2016 15:45
isn't containment necessary something that depends on addressing, that is naming the part of something?
i. e. letter has an address in a corpus (i. e. a sigil), an edition has a distinct publishing date etc.
asked a different way, how to build hierarchies of resources without an addressing scheme? ;)
Ronald Haentjens Dekker
@rhdekker
Jan 13 2016 15:47
Subresources do have an addressing scheme, but that scheme is user managed and not interpreted by the system.
Gregor Middell
@gremid
Jan 13 2016 15:48
ok
very meta ^^
Ronald Haentjens Dekker
@rhdekker
Jan 13 2016 15:48
The use cases that we support are different.
Gregor Middell
@gremid
Jan 13 2016 15:48
i can certainly use that for the gutenberg test harness