@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://www.w3.org/ns/hydra/core#> .
@prefix ns1: <http://schema.org/> .
@prefix ns4: <http://www.w3.org/ns/sparql-service-description#> .
@prefix ns3: <http://ns.inria.fr/sparql-micro-service#> .
@prefix ns5: <http://rdfs.org/ns/void#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@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/flickr/getPhotosByTaxon_sd/APIService> ns1:documentation "The taxon scientific name must be provided by property dwc:scientificName in the SPARQL graph pattern." ;
rdf:type ns1:SearchAction ;
rdf:type <http://www.w3.org/ns/hydra/core#IriTemplate> ;
ns2:mapping _:b615 .

<https://sparql-micro-services.org/service/flickr/getPhotosByTaxon_sd/> ns3:addProvenance false ;
ns3:cacheExpiresAfter "P2592000S"^^xsd:duration ;
ns3:exampleQuery "\r\n        prefix schema: <http://schema.org/>\r\n        prefix dwc: <http://rs.tdwg.org/dwc/terms/>\r\n\r\n        SELECT ?photo ?title ?img WHERE {\r\n\r\n            ?taxon a dwc:Taxon;\r\n                dwc:scientificName \"Delphinus delphis\";\r\n                schema:image ?photo.\r\n\r\n            ?photo a schema:Photograph;\r\n                schema:name ?title;\r\n                schema:contentUrl ?img.\r\n        }\r\n        " ;
dc:source _:b614 ;
ns1:citation <https://www.mdpi.com/2078-2489/9/12/310> ;
ns1:description "This SPARQL micro-service searches photos on <a href=\"https://flickr.com\" target=\"_new\">Flickr</a>, related to a certain taxonomic name. It takes as input a species scientific name (without authority nor date), and relies on the common convention used e.g. in the <a href=\"https://www.flickr.com/groups/806927@N20\"><em>Encyclopedia of Life</em></a> and by <a href=\"https://www.flickr.com/photos/biodivlibrary\"><em>Biodiversity Heritage Library</em></a> where photos are tagged with a taxonomic name formatted as: <span class=\"font-weight-light\">taxonomy:binomial=<scientific name></span>. A maximum of 100 photos are returned." ;
ns1:keywords "sparql" ;
ns1:keywords "microservice" ;
ns1:keywords "biodiversity" ;
ns1:keywords "lifesciences" ;
ns1:keywords "fauna" ;
ns1:keywords "flora" ;
ns1:keywords "species" ;
ns1:keywords "photography" ;
ns1:keywords "photo" ;
ns1:keywords "media" ;
ns1:name "Search for photos of biological species on Flickr" ;
ns1:publisher _:b612 ;
rdf:type <http://www.w3.org/ns/sparql-service-description#Service> ;
rdf:type ns3:Service ;
ns4:defaultDataset _:b608 ;
ns4:endpoint <https://sparql-micro-services.org/service/flickr/getPhotosByTaxon_sd/> ;
ns4:feature ns4:BasicFederatedQuery ;
ns4:feature ns4:EmptyGraphs ;
ns4:resultFormat <http://www.w3.org/ns/formats/SPARQL_Results_XML> ;
ns4:resultFormat <http://www.w3.org/ns/formats/SPARQL_Results_JSON> ;
ns4:resultFormat <http://www.w3.org/ns/formats/SPARQL_Results_CSV> ;
ns4:resultFormat <http://www.w3.org/ns/formats/SPARQL_Results_TSV> ;
ns4:resultFormat <http://www.w3.org/ns/formats/RDF_XML> ;
ns4:resultFormat <http://www.w3.org/ns/formats/Turtle> ;
ns4:resultFormat <http://www.w3.org/ns/formats/JSON-LD> ;
ns4:resultFormat <http://www.w3.org/ns/formats/Trig> ;
ns4:supportedLanguage ns4:SPARQL11Query .

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

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

_:b611 rdf:type ns4:Graph ;
ns4:name <https://sparql-micro-services.org/service/flickr/getPhotosByTaxon_sd/ShapesGraph> .

_:b610 rdf:type ns4:Graph ;
ns4:name <https://sparql-micro-services.org/service/flickr/getPhotosByTaxon_sd/ServiceDescription> .

_:b609 rdf:type ns4:Graph ;
sh:shapesGraph <https://sparql-micro-services.org/service/flickr/getPhotosByTaxon_sd/ShapesGraph> .

_:b608 ns5:sparqlEndpoint <https://sparql-micro-services.org/service/flickr/getPhotosByTaxon_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#> ;
rdf:type ns4:Dataset ;
rdf:type ns5:Dataset ;
ns4:defaultGraph _:b609 ;
ns4:namedGraph _:b610 ;
ns4:namedGraph _:b611 .

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

_:b614 ns1:name "Flickr API" ;
ns1:potentialAction <https://sparql-micro-services.org/service/flickr/getPhotosByTaxon_sd/APIService> ;
ns1:url <https://www.flickr.com/services/api/> ;
rdf:type ns1:WebAPI .