> I'm wondering about the URL API - have we standardized around
> hierarchical structure like /phylws/tree/<treeID>/node/<nodeID>?
Yes we have. At least that's what the documentation says.
Do you see a problem with that?
-hilmar
Rutger
--
>
> I'm curious how this forwarding works
It's a simple redirect. It can map one full URL to another, or
redirect by pattern using a base URL. The /phylo/treebase/phylows/
redirect works by translating that as the base and appending unchanged
any suffix following it.
> , and whether we can map these hierarchical structures onto purls
> in an elegant way.
I'm still not sure where you see the possible problem. You would only
run into a problem if the suffix structure of the target depends on
elements nested within in.
This is, however, not allowed in PhyloWS (at least not at present, and
we should understand rather well why that doesn't fulfill a certain
requirement if we wanted to allow it).
> Could you add me to the group for this domain?
Sure. Send me the email you want to be added under.
I don't think there's any problem - I just needed to wrap my head
around the fact that inside the phylows universe the urls can be
decomposed into segments that have their own semantics, but then in
the purl universe the whole thing becomes an opaque string to which
the request is redirected.
I have wrapped my head around that now, though :)
BTW, do we have a controlled vocabulary of allowed path fragments? Are
they basically nexml element names, i.e. /otus/, /otu/, /trees/,
/tree/, /node/ etc.?
> Sure. Send me the email you want to be added under.
Thanks!
Rutger
> You're in charge of purl.org/phylo, right? I'm curious how this
> forwarding
> works, and whether we can map these hierarchical structures onto purls
> in an elegant way. Could you add me to the group for this domain?
Sorry, I confused myself here about what you asked for. Anyone can
inspect PURLs and how they are redirected. Go to http://purl.org/maint/display.html
, type in /phylo in the PURL field, then select the one you want to
inspect.
Bill is currently registered as a maintainer for the /phylo/treebase/
phylows PURL. If you want to be able to modify how that redirects,
register yourself as a user on http://purl.org and email me your ID
(the interface needs the userIDs, not the emails, sorry for confusing
that).
Do you also want to create additional PURLs under the /phylo domain
yourself (maybe additional ones for TreeBASE?)?
> do we have a controlled vocabulary of allowed path fragments? Are
> they basically nexml element names, i.e. /otus/, /otu/, /trees/,
> /tree/, /node/ etc.?
At present the official PhyloWS spec has /phylows/tree/, /phylows/
matrix/, /phylows/find, and /phylows/create.
Anything else at this point would be a data provider-specific
extension (which in principle is OK). If you basically want to use the
element names in NeXML, that sounds fine. As RESTful URIs are more
noun and vocabulary-oriented, I'd be more explicit if you want to
identify sets rather than single data items. For example, you may want
to consider 'otu-set' rather than 'otus'.
Just keep in mind that the by and far primary motivation for these
additional base URIs should be to satisfy TreeBASE application
requirements. For most other data providers they may never be
supported, because they may not have permanent identifiers for the
additional NeXML data elements.
--