@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 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/getPhotoById_sd/> ns1:addProvenance true ;
ns1:cacheExpiresAfter "P432000S"^^xsd:duration ;
ns1:exampleQuery "\r\n    prefix schema: <http://schema.org/>\r\n\r\n    SELECT * WHERE {\r\n        ?photo\r\n            a                   schema:Photograph;\r\n            schema:identifier   \"31173091626\";\r\n            schema:name         ?name;\r\n            schema:contentUrl   ?url.\r\n    }\r\n    " ;
ns1:exampleURI "https://sparql-micro-services.org/ld/flickr/photo/31173091626" ;
dc:source _:b661 ;
ns2:description "This service retrieves a photo from <a href=\"https://flickr.com\" target=\"_new\">Flickr</a> using its internal identifier. It takes as input a photo name identifier provided using property schema:identifier. It is meant to dereference photo URIs produced in the other Flickr SPARQL micro-serices, but can also be used with SPARQL.<br>\r\n    Each photo is represented by an instance of the schema:Photograph, that provides a title (schema:name), a description (schema:description), a link to the photo file in medium size (schema:contentUrl) and its format (schema:fileFormat), a square thumbnail (schema:thumbnailUrl), the author and its web page (schema:author), and the URL of the photo Web page (schema:mainEntityOfPage)." ;
ns2:keywords "photography" ;
ns2:keywords "flickr" ;
ns2:keywords "photo" ;
ns2:keywords "picture" ;
ns2:keywords "snapshot" ;
ns2:name "Retrieve a photo from Flickr using its internal identifier" ;
ns2:publisher _:b659 ;
rdf:type <http://www.w3.org/ns/sparql-service-description#Service> ;
rdf:type ns1:Service ;
ns3:defaultDataset _:b655 ;
ns3:endpoint <https://sparql-micro-services.org/service/flickr/getPhotoById_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/flickr/getPhotoById_sd/APIService> rdf:type ns2:SearchAction ;
rdf:type <http://www.w3.org/ns/hydra/core#IriTemplate> ;
ns4:mapping _:b662 .

_:b662 ns2:description "Flickr's internal photo identifier." ;
skos:example "37947618735" ;
ns4:property ns2:identifier ;
ns4:required true ;
ns4:variable "photo_id" .

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

_:b660 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 .

_:b659 ns2:contactPoint _:b660 ;
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 .

_:b658 rdf:type ns3:Graph ;
ns3:name <https://sparql-micro-services.org/service/flickr/getPhotoById_sd/ShapesGraph> .

_:b657 rdf:type ns3:Graph ;
ns3:name <https://sparql-micro-services.org/service/flickr/getPhotoById_sd/ServiceDescription> .

_:b656 rdf:type ns3:Graph ;
sh:shapesGraph <https://sparql-micro-services.org/service/flickr/getPhotoById_sd/ShapesGraph> .

_:b655 ns5:sparqlEndpoint <https://sparql-micro-services.org/service/flickr/getPhotoById_sd/> ;
ns5:vocabulary <http://schema.org/> ;
ns5:vocabulary <http://www.w3.org/ns/shacl#> ;
ns5:vocabulary <http://www.w3.org/ns/hydra/core#> ;
rdf:type ns3:Dataset ;
rdf:type ns5:Dataset ;
ns3:defaultGraph _:b656 ;
ns3:namedGraph _:b657 ;
ns3:namedGraph _:b658 .