@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .
@prefix ns2: <http://schema.org/> .
@prefix ns1: <http://www.w3.org/ns/hydra/core#> .
@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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dc: <http://purl.org/dc/terms/> .


<https://sparql-micro-services.org/service/pubmed/getArticleByPMId_sd/APIService> rdf:type <http://schema.org/SearchAction> ;
rdf:type <http://www.w3.org/ns/hydra/core#IriTemplate> ;
ns1:mapping _:b688 ;
ns1:template "https://eutils.ncbi.nlm.nih.gov/entrez/eutils/esummary.fcgi?db=pubmed&id={pmId}&retmode=json&tool=sparql-micro-service&email=franck.michel@inria.fr" .

<https://ror.org/02kvxyf05> ns2:logo <https://iww.inria.fr/dircom/logoinria-eng.png> ;
ns2:mainEntityOfPage <https://www.inria.fr> ;
ns2:name "Inria" ;
rdf:type ns2:Organization .

<https://ror.org/0496p8026> ns2:logo <http://univ-cotedazur.fr/fr/university/communication-presse/charte-et-logos/logo/png/uca-logo-large> ;
ns2:mainEntityOfPage <http://univ-cotedazur.fr> ;
ns2:name "University Côte d'Azur" ;
rdf:type ns2:Organization .

<https://team.inria.fr/wimmics/> ns2:mainEntityOfPage <https://team.inria.fr/wimmics/> ;
ns2:name "Wimmics research team" ;
rdf:type ns2:Organization .

<https://ror.org/02feahw73> ns2:logo <http://www.cnrs.fr/themes/custom/cnrs/logo.svg> ;
ns2:mainEntityOfPage <https://www.cnrs.fr> ;
ns2:name "CNRS" ;
rdf:type ns2:Organization .

<https://sparql-micro-services.org/service/pubmed/getArticleByPMId_sd/> ns3:addProvenance false ;
ns3:cacheExpiresAfter "P2592000S"^^xsd:duration ;
ns3:exampleQuery "prefix bibo:   <http://purl.org/ontology/bibo/>\nSELECT * WHERE {\n    ?article bibo:pmid \"27607596\"; ?p ?o.\n}" ;
dc:source _:b687 ;
ns2:description "\n        <p>This service retrieves an article from <a href=\"https://www.ncbi.nlm.nih.gov/pmc/\" target=\"_new\">PubMed Central</a> using <a href=\"https://www.ncbi.nlm.nih.gov/pmc/tools/developers/\" target=\"_new\">PubMed Central APIs</a>, and generates an RDF representation thereof. \n        The article is identified by its PubMed identifier (PMID) provided using property <code>bibo:pmid</code>.</p>\n        <p>The graph produced relies mainly on the <a href=\"https://github.com/structureddynamics/Bibliographic-Ontology-BIBO\" target=\"_new\">Bibiographic Ontology</a> (BIBO) and <a href=\"https://sparontologies.github.io/fabio/current/fabio.html\" target=\"_new\">FRBR-aligned Bibliographic Ontology</a> (FaBiO). \n        An article IRI is preferably based on its DOI, if any, prefixed with <code>http://doi.org/</code>.\n        If no DOI is available, the IRI is PubMed's web page URL prefixed with <code>https://pubmed.ncbi.nlm.nih.gov/</code>.\n        Authors are represented as separate triples with <code>dct:creator</code>, as well as an ordered list with <code>bibo:authorList</code>.</p>\n        <p>See <a href=\"https://github.com/frmichel/sparql-micro-service/tree/master/services/pubmed/getArticleByPMId_sd\">modeling details</a>.</p>\n        " ;
ns2:keywords "pubmed" ;
ns2:keywords "publication" ;
ns2:keywords "metadata" ;
ns2:keywords "article" ;
ns2:keywords "litterature" ;
ns2:name "Retrieve metadata from PubMed about an article given its Pubmed ID" ;
ns2:publisher <https://ror.org/0496p8026> ;
ns2:publisher <https://ror.org/02kvxyf05> ;
ns2:publisher <https://ror.org/02feahw73> ;
ns2:publisher <https://team.inria.fr/wimmics/> ;
rdf:type <http://www.w3.org/ns/sparql-service-description#Service> ;
rdf:type ns3:Service ;
ns4:defaultDataset _:b684 ;
ns4:endpoint <https://sparql-micro-services.org/service/pubmed/getArticleByPMId_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 .

_:b686 rdf:type ns4:Graph ;
ns4:name <https://sparql-micro-services.org/service/pubmed/getArticleByPMId_sd/ServiceDescription> .

_:b685 rdf:type ns4:Graph .

_:b684 ns5:sparqlEndpoint <https://sparql-micro-services.org/service/pubmed/getArticleByPMId_sd/> ;
ns5:vocabulary <http://schema.org/> ;
ns5:vocabulary <http://rs.tdwg.org/dwc/terms/> ;
ns5:vocabulary <http://www.w3.org/ns/hydra/core#> ;
ns5:vocabulary <http://purl.org/ontology/bibo/> ;
ns5:vocabulary <http://purl.org/dc/terms/> ;
ns5:vocabulary <http://purl.org/spar/fabio/> ;
rdf:type ns4:Dataset ;
rdf:type ns5:Dataset ;
ns4:defaultGraph _:b685 ;
ns4:namedGraph _:b686 .

_:b688 ns2:description "PubMed identifier." ;
skos:example "22368089" ;
ns1:property <http://purl.org/ontology/bibo/pmid> ;
ns1:required true ;
ns1:variable "pmId" .

_:b687 ns2:name "PubMed Central API" ;
ns2:potentialAction <https://sparql-micro-services.org/service/pubmed/getArticleByPMId_sd/APIService> ;
ns2:url <https://www.ncbi.nlm.nih.gov/pmc/tools/developers/> ;
rdf:type ns2:WebAPI .