[tdwg-tapir] TaxonAPI

"Döring, Markus" m.doering at BGBM.org
Thu Dec 1 10:08:10 CET 2005

Renato & Roger,
 would it make sense to have a new unbound "likeAny" operator that works like an IN but does a like instead of an equals behind the scenes?

Then you could just pass an array of string arguments for like or equal comparisons just with the same GET paramter name. E.g. 


-----Ursprüngliche Nachricht-----
Von: tdwg-tapir-bounces at lists.tdwg.org [mailto:tdwg-tapir-bounces at lists.tdwg.org] Im Auftrag von Renato De Giovanni
Gesendet: Mittwoch, 30. November 2005 17:54
An: tdwg-tapir at lists.tdwg.org
Betreff: Re: [tdwg-tapir] TaxonAPI

Hi Roger,

I looked at the API and apparently it seems to be consistent with the TapirLite idea, although there are still lots of things that I still need to learn about the TCS world.

The only thing is that you frequently define parameter types as "Array of Strings", and we don't have that notion in the protocol. 
As far as I know, the only way to do this with the current parameterised Tapir filters is to limit the parameter to a single string value (and then make several requests), or define a filter with several conditions referencing different string parameters (like name1, name2, etc) all joined by ORs.

Another possibility would be to change the "in" operator and make it accept not only literal values but also a parameter that could be expanded according to the number of associated values. It looks more elegant but needs a small change in the protocol (and additional notes in the specification).


On 28 Nov 2005 at 10:54, Roger Hyam wrote:

> Hi Everyone,
> I have been doing some work on a TaxonAPI. This is a high/low 
> definition of the kind of thing I believe people publishing taxonomic 
> data need to produce and people consuming it need to eat based on the 
> work I have been involved in on TCS.
> It is framed as if it were a web service type of thing but I imagine 
> that each of the method calls mentioned could equate to a Tapir 
> template of some kind. I imagine a template containing a parameterized 
> filter (not sure if those exist anymore).
> This is still work in progress as I need to define the list of 
> parameters more closely and sort the greater than/less than issue for 
> dates and a few other bits. Plus no one has seen it to comment on!
> You can read more about it here:
> http://www.tdwg.hyam.net/twiki/bin/view/TIP/TaxonAPI
> I would be most grateful for your comments.
> How does this fit with Tapir?
> Roger

tdwg-tapir mailing list
tdwg-tapir at lists.tdwg.org

More information about the tdwg-tag mailing list