WoRMS banner
Add search provider Add provider
Twitter: Latest updates @WRMarineSpecies

Life Science Identifier (LSID)

LSIDs are persistent, location-independent, resource identifiers for uniquely naming biologically significant resources.
The LSID concept introduces a straightforward approach to naming and identifying data resources stored in multiple, distributed data stores in a manner that overcomes the limitations of naming schemes in use today [more information].

WoRMS has implemented LSIDs for all its taxonomic names and they are displayed on each taxon page. We have integrated the AphiaID into the LSID, so in fact you can continue using the AphiaID.

For example: the LSID for Solea solea is: urn:lsid:marinespecies.org:taxname:127160
You can resolve an LSID via the various services available.
Example for Solea solea: http://lsid.tdwg.org

The returned model is RDF (XML) with metadata elements from Darwin Core and Dublin Core.

Vocabularies using a WoRMS unique identifier



[Back]

Calling the WoRMS webservice from Perl

Step 1: Install Perl
Go to http://www.perl.org, download & install Perl (Windows/Mac OS X/Linux).

Step 2: Install the SOAP::Lite (with the CPAN shell)
>perl -MCPAN -e shell
cpan> install SOAP::Lite

Step 3: Copy/paste the following code in a file 'Aphia_webservice_Perl.pl'

use SOAP::Lite;

my $endpoint = qq{http://www.marinespecies.org/aphia.php?p=soap} ;
my $tns = 'http://aphia/v1.0' ;

my $method_urn = $tns ;
my $soapaction = $tns ;

my $sObj = SOAP::Lite->new(uri => $soapaction, proxy => $endpoint) ;

my $response = $sObj->call(SOAP::Data->name('getAphiaID')->attr({ 'xmlns' => $method_urn})
            => SOAP::Data->name('ScientificName' => 'Solea solea')) ;

print $response->result, "\n";

Step 4: Run the script from the command line
>perl -f Aphia_webservice_Perl.pl

#this should output '127160'

Download this example.