@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix xsh: <http://www.w3.org/ns/shacl#> .
@prefix ns2: <http://schema.org/> .
@prefix ns1: <http://ns.inria.fr/sparql-micro-service#> .
@prefix ns4: <http://www.w3.org/ns/hydra/core#> .
@prefix ns3: <http://www.w3.org/ns/sparql-service-description#> .
@prefix ns5: <http://rdfs.org/ns/void#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dc: <http://purl.org/dc/terms/> .


<https://sparql-micro-services.org/service/macaulaylibrary/getAudioByTaxon_sd/> ns1:cacheExpiresAfter "P2592000S"^^xsd:duration ;
ns1:exampleQuery "\n        prefix schema: <http://schema.org/>\n        prefix dwc: <http://rs.tdwg.org/dwc/terms/>\n\n        SELECT ?audio ?audioFile ?description WHERE {\n\n            ?taxon a dwc:Taxon;\n                dwc:scientificName \"Delphinus delphis\";\n                schema:audio ?audio.\n\n            ?audio a schema:AudioObject;\n                schema:contentUrl ?audioFile;\n                schema:description ?description.\n        }" ;
dc:source _:b668 ;
ns2:citation <https://www.mdpi.com/2078-2489/9/12/310> ;
ns2:description "This SPARQL micro-service wraps the <a href=\"https://macaulaylibrary.org/\" target=\"_new\">Macaulay Library</a> Web API to search audio recordings by biological taxon scientific name." ;
ns2:keywords "biodiversity" ;
ns2:keywords "lifesciences" ;
ns2:keywords "fauna" ;
ns2:keywords "species" ;
ns2:keywords "bird" ;
ns2:keywords "amphibian" ;
ns2:keywords "mammal" ;
ns2:keywords "audio" ;
ns2:keywords "sound" ;
ns2:keywords "animal call" ;
ns2:keywords "recording" ;
ns2:name "SPARQL micro-service searching the Macaulay Library for audio recordings of a biological species" ;
ns2:publisher _:b666 ;
rdf:type <http://www.w3.org/ns/sparql-service-description#Service> ;
rdf:type ns1:Service ;
ns3:defaultDataset _:b662 ;
ns3:endpoint <https://sparql-micro-services.org/service/macaulaylibrary/getAudioByTaxon_sd/> ;
ns3:feature ns3:BasicFederatedQuery ;
ns3:feature ns3:EmptyGraphs ;
ns3:resultFormat <http://www.w3.org/ns/formats/SPARQL_Results_XML> ;
ns3:resultFormat <http://www.w3.org/ns/formats/SPARQL_Results_JSON> ;
ns3:resultFormat <http://www.w3.org/ns/formats/SPARQL_Results_CSV> ;
ns3:resultFormat <http://www.w3.org/ns/formats/SPARQL_Results_TSV> ;
ns3:resultFormat <http://www.w3.org/ns/formats/RDF_XML> ;
ns3:resultFormat <http://www.w3.org/ns/formats/Turtle> ;
ns3:resultFormat <http://www.w3.org/ns/formats/JSON-LD> ;
ns3:resultFormat <http://www.w3.org/ns/formats/Trig> ;
ns3:supportedLanguage ns3:SPARQL11Query .

<https://sparql-micro-services.org/service/macaulaylibrary/getAudioByTaxon_sd/APIService> ns2:documentation "The taxon scientific name must be provided by property dwc:scientificName in the SPARQL graph pattern." ;
rdf:type ns2:SearchAction ;
rdf:type <http://www.w3.org/ns/hydra/core#IriTemplate> ;
ns4:mapping _:b669 ;
ns4:template "https://search.macaulaylibrary.org/catalog.json?action=new_search&searchField=animals&sort=upload_date_desc&mediaType=a&taxonCode={taxonCode}" .

_:b662 ns5:sparqlEndpoint <https://sparql-micro-services.org/service/macaulaylibrary/getAudioByTaxon_sd/> ;
ns5:vocabulary <http://schema.org/> ;
ns5:vocabulary <http://rs.tdwg.org/dwc/terms/> ;
ns5:vocabulary <http://www.w3.org/ns/shacl#> ;
ns5:vocabulary <http://www.w3.org/ns/hydra/core#> ;
ns2:keywords "audio"@en ;
ns2:keywords "media"@en ;
ns2:keywords "biodiversity"@en ;
rdf:type ns3:Dataset ;
rdf:type ns5:Dataset ;
ns3:defaultGraph _:b663 ;
ns3:namedGraph _:b664 ;
ns3:namedGraph _:b665 ;
foaf:topic <http://dbpedia.org/page/Audio_signal> ;
foaf:topic <https://www.wikidata.org/entity/Q47041> .

_:b669 ns2:description "The taxon scientific name without authorship nor date information." ;
skos:example "Delphinus delphis" ;
ns4:property <http://rs.tdwg.org/dwc/terms/scientificName> ;
ns4:required true ;
ns4:variable "name" .

_:b668 ns2:name "Macaulay Library Web API" ;
ns2:potentialAction <https://sparql-micro-services.org/service/macaulaylibrary/getAudioByTaxon_sd/APIService> ;
ns2:url <https://www.macaulaylibrary.org/> ;
rdf:type ns2:WebAPI .

_:b667 ns2:contactType "technical support" ;
ns2:email "franck.michel@cnrs.fr" ;
ns2:name "Franck Michel" ;
ns2:url <https://w3id.org/people/franckmichel> ;
rdf:type ns2:ContactPoint .

_:b666 ns2:contactPoint _:b667 ;
ns2:logo "http://univ-cotedazur.fr/fr/university/communication-presse/charte-et-logos/logo/png/uca-logo-large" ;
ns2:logo "https://iww.inria.fr/dircom/logoinria-eng.png" ;
ns2:logo "http://www.cnrs.fr/themes/custom/cnrs/logo.svg" ;
ns2:name "Université Côte d'Azur, CNRS, Inria, I3S" ;
rdf:type ns2:Organization .

_:b665 rdf:type ns3:Graph ;
ns3:name <https://sparql-micro-services.org/service/macaulaylibrary/getAudioByTaxon_sd/ShapesGraph> .

_:b664 rdf:type ns3:Graph ;
ns3:name <https://sparql-micro-services.org/service/macaulaylibrary/getAudioByTaxon_sd/ServiceDescription> .

_:b663 rdf:type ns3:Graph ;
sh:shapesGraph <https://sparql-micro-services.org/service/macaulaylibrary/getAudioByTaxon_sd/ShapesGraph> .