<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Just to follow up on Tim’s response, as far as I can tell from the EU BON taxonomic backbone, the LSID referred to is provided by PESI (e.g., urn:lsid:faunaeur.org:taxname:115091) and - like many LSIDs - sadly doesn’t actually work (in the sense that it can’t
 be resolved), see e.g. <a href="http://darwin.zoology.gla.ac.uk/~rpage/lsid/tester/?q=urn%3Alsid%3Afaunaeur.org%3Ataxname%3A115091" class="">http://darwin.zoology.gla.ac.uk/~rpage/lsid/tester/?q=urn%3Alsid%3Afaunaeur.org%3Ataxname%3A115091</a>
<div class=""><br class="">
</div>
<div class="">The PESI web site links names to GBIF, so PESI has a mapping between their LSIDs and GBIF. One way to go from a PESI LSID to GBIF would be if PESI provided that mapping in their web services <a href="http://www.eu-nomen.eu/portal/webservices.php" class="">http://www.eu-nomen.eu/portal/webservices.php</a> It’s
 not clear to me that they do this.</div>
<div class=""><br class="">
</div>
<div class="">Alternatively, Fauna Europaea has been indexed by GBIF (more than once!), so you could use the GBIF API like this:</div>
<div class=""><br class="">
</div>
<div class="">1. Given a LSID like urn:lsid:faunaeur.org:taxname:115091, trim off the “urn:lsid:faunaeur.org:taxname:” to leave “115091”</div>
<div class=""><br class="">
</div>
<div class="">2. Call the GBIF API with 115091 as the sourceId key, and datasetKey as 90d9e8a6-0ce1-472d-b682-3451095dbc5a (this is the Fauna Europaea dataset that seems to match the PESI ids <a href="http://www.gbif.org/dataset/90d9e8a6-0ce1-472d-b682-3451095dbc5a" class="">http://www.gbif.org/dataset/90d9e8a6-0ce1-472d-b682-3451095dbc5a</a> ).</div>
<div class=""><br class="">
</div>
<div class="">The URL is:</div>
<div class=""><br class="">
</div>
<div class=""><a href="http://api.gbif.org/v1/species?sourceId=115091&datasetKey=90d9e8a6-0ce1-472d-b682-3451095dbc5a" class="">http://api.gbif.org/v1/species?sourceId=115091&datasetKey=90d9e8a6-0ce1-472d-b682-3451095dbc5a</a></div>
<div class=""><br class="">
</div>
<div class="">This will give you</div>
<div class=""><br class="">
</div>
<div class="">{"offset":0,"limit":20,"endOfRecords":true,"results":[{"key":103283278,"nubKey":1097026,"taxonID":"115091","genus":"Prionus","genusKey":103283278,"datasetKey":"90d9e8a6-0ce1-472d-b682-3451095dbc5a","parentKey":103294043,"parent":"Prioninae","scientificName":"Prionus
 Geoffroy, 1762","canonicalName":"Prionus","authorship":"Geoffroy, 1762","nameType":"WELLFORMED","rank":"GENUS","origin":"SOURCE","taxonomicStatus":"ACCEPTED","nomenclaturalStatus":[],"numDescendants":6,"references":"<a href="http://www.faunaeur.org/full_results.php?id=115091" class="">http://www.faunaeur.org/full_results.php?id=115091</a>","modified":"2014-06-14T21:04:19.241+0000","lastInterpreted":"2014-11-03T15:22:26.302+0000","issues":[],"synonym":false}]}</div>
<div class=""><br class="">
</div>
<div class="">The “nubKey” field has the value 1097026, which is the identifier for GBIF’s classification <a href="http://www.gbif.org/species/1097026" class="">http://www.gbif.org/species/1097026</a>  You can use 1097026  as the key in a query to get the distribution
 using the GBIF API.</div>
<div class=""><br class="">
</div>
<div class="">Regards</div>
<div class=""><br class="">
</div>
<div class="">Rod</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">
<div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
---------------------------------------------------------<br class="">
Roderic Page<br class="">
Professor of Taxonomy<br class="">
Institute of Biodiversity, Animal Health and Comparative Medicine<br class="">
College of Medical, Veterinary and Life Sciences<br class="">
Graham Kerr Building<br class="">
University of Glasgow<br class="">
Glasgow G12 8QQ, UK<br class="">
<br class="">
Email: <span class="Apple-tab-span" style="white-space: pre;"> </span><a href="mailto:Roderic.Page@glasgow.ac.uk" class="">Roderic.Page@glasgow.ac.uk</a><br class="">
Tel: <span class="Apple-tab-span" style="white-space: pre;"> </span>+44 141 330 4778<br class="">
Skype: <span class="Apple-tab-span" style="white-space: pre;"> </span>rdmpage<br class="">
Facebook: <span class="Apple-tab-span" style="white-space: pre;"> </span>http://www.facebook.com/rdmpage<br class="">
LinkedIn: <span class="Apple-tab-span" style="white-space: pre;"> </span>http://uk.linkedin.com/in/rdmpage<br class="">
Twitter: <span class="Apple-tab-span" style="white-space: pre;"> </span>http://twitter.com/rdmpage<br class="">
Blog: <span class="Apple-tab-span" style="white-space: pre;"> </span>http://iphylo.blogspot.com<br class="">
ORCID: <span class="Apple-tab-span" style="white-space: pre;"> </span>http://orcid.org/0000-0002-7101-9767</div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Citations: <span class="Apple-tab-span" style="white-space: pre;"> </span><a href="http://scholar.google.co.uk/citations?hl=en&user=4Z5WABAAAAAJ" class="">http://scholar.google.co.uk/citations?hl=en&user=4Z5WABAAAAAJ</a></div>
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
ResearchGate<span class="Apple-tab-span" style="white-space: pre;"> </span><a href="https://www.researchgate.net/profile/Roderic_Page" class="">https://www.researchgate.net/profile/Roderic_Page</a><br class="">
<br class="">
</div>
</div>
</div>
</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 26 Jan 2015, at 08:48, Tim Robertson <<a href="mailto:trobertson@gbif.org" class="">trobertson@gbif.org</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Hola Antonio</div>
<div class=""><br class="">
</div>
<div class="">Can you please join and use the GBIF API mailing list for questions relating to the API?</div>
<div class="">  <a href="http://lists.gbif.org/mailman/listinfo/api-users" class="">http://lists.gbif.org/mailman/listinfo/api-users</a></div>
<div class=""><br class="">
</div>
<div class="">We don’t make explicit use of LSIDs on <a href="http://gbif.org/" class="">
GBIF.org</a>.  I expect what you want to do is lookup the GBIF species key using the species API, and then use that on the occurrence API to get occurrences.</div>
<div class=""><br class="">
</div>
<div class="">E.g. Given the plant genus <i class="">Oenanthe </i> you can look up the taxon (name usage) information using:</div>
<div class="">  <a href="http://api.gbif.org/v1/species/match?verbose=false&kingdom=Plantae&name=Oenante" class="">http://api.gbif.org/v1/species/match?verbose=false&kingdom=Plantae&name=Oenante</a></div>
<div class=""><br class="">
</div>
<div class="">noting the usageID is 3034893 in the response.  You’d presumably either do this on demand or map this to your own backbone periodically.  This can then be used to search for occurrences:</div>
<div class="">  <a href="http://api.gbif.org/v1/occurrence/search?taxonKey=3034893" class="">http://api.gbif.org/v1/occurrence/search?taxonKey=3034893</a></div>
<div class=""><br class="">
</div>
<div class="">Alternatively, if you were to publish your own checklist and have GBIF index it, the taxa would be searchable using your own sourceId:</div>
<div class="">  <a href="http://api.gbif.org/v1/species?sourceId=%3Cyour%20id%20here%3E" class="">http://api.gbif.org/v1/species?sourceId=<your id here></a> </div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">I hope this helps,</div>
<div class="">Tim</div>
<div class=""> </div>
<div class=""><br class="">
</div>
<br class="">
<div class="">
<div class="">On 26 Jan 2015, at 09:35, Éamonn Ó Tuama [GBIF] <<a href="mailto:eotuama@gbif.org" class="">eotuama@gbif.org</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite" class="">
<div lang="EN-GB" link="blue" vlink="purple" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<div class="WordSection1" style="page: WordSection1;">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Tim,<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Best for you to answer Antonio.<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class="">Éamonn<o:p class=""></o:p></span></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<span style="font-size: 11pt; font-family: Calibri, sans-serif; color: rgb(31, 73, 125);" class=""> </span></div>
<div class="">
<div style="border-style: solid none none; border-top-color: rgb(181, 196, 223); border-top-width: 1pt; padding: 3pt 0cm 0cm;" class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<b class=""><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif;" class="">From:</span></b><span lang="EN-US" style="font-size: 10pt; font-family: Tahoma, sans-serif;" class=""><span class="Apple-converted-space"> </span>Antonio García
 Camacho [<a href="mailto:antonio.garcia.camacho@csic.es" style="color: purple; text-decoration: underline;" class="">mailto:antonio.garcia.camacho@csic.es</a>]<span class="Apple-converted-space"> </span><br class="">
<b class="">Sent:</b><span class="Apple-converted-space"> </span>26 January 2015 01:42<br class="">
<b class="">To:</b><span class="Apple-converted-space"> </span>Éamonn Ó Tuama<br class="">
<b class="">Subject:</b><span class="Apple-converted-space"> </span>API GBIF: search species using GUID (LSID)<o:p class=""></o:p></span></div>
</div>
</div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
Dear Éamonn,<o:p class=""></o:p></div>
<div class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
We found some problems using the GBIF API to search for occurrences and datasets. I will explain the use scenario:<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
Using the EU BON taxonomic backbone we will find out the LSID of a given species. Therefore, we want to use this LSID, a universal identifier actually, to ask for datasets and occurrences to each data provider. Using GBIF occurrence API we can search filtering
 by scientific name or even by taxonKey, but it seems that we can not filter using the LSID.<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
Is there a way to filter using species LSIDs or even translating these LSIDs to taxonKeys?<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
Thanks,<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
Antonio.<o:p class=""></o:p></div>
</div>
<div class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<o:p class=""> </o:p></div>
<div class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<o:p class=""> </o:p></div>
</div>
<div class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<span style="background-color: white; background-position: initial initial; background-repeat: initial initial;" class="">-- </span><o:p class=""></o:p></div>
<div class="">
<div style="margin: 0cm 0cm 0.0001pt; font-size: 12pt; font-family: 'Times New Roman', serif;" class="">
<strong class="">Antonio García Camacho</strong><br class="">
Estacion Biologica de Doñana (CSIC)<br class="">
Americo Vespucio s/n Isla de la Cartuja<br class="">
41092 Sevilla, España<br class="">
Tel. +34 954232340 / Fax. +34 954621125<br class="">
<a href="mailto:antonio.garcia.camacho@csic.es" style="color: purple; text-decoration: underline;" class="">antonio.garcia.camacho@csic.es</a><br class="">
<a href="http://www.ebd.csic.es/" style="color: purple; text-decoration: underline;" class="">www.ebd.csic.es</a></div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
_______________________________________________<br class="">
API-users mailing list<br class="">
<a href="mailto:API-users@lists.gbif.org" class="">API-users@lists.gbif.org</a><br class="">
http://lists.gbif.org/mailman/listinfo/api-users<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</body>
</html>