[ { "@id": "https://w3id.org/np/RAL-Y2PSWEtvpAYpdx4PF3MJ3TuZB7cFskTVdPA_JCg3o#assertion", "@graph": [ { "@id": "https://w3id.org/np/RAL-Y2PSWEtvpAYpdx4PF3MJ3TuZB7cFskTVdPA_JCg3o#get-latest-accepted", "http://purl.org/dc/terms/description": [ { "@value": "This query returns the latest nanopublications accepted at a journal, currently covering RIO, Biodiversity Data Journal, and Data Science." } ], "http://purl.org/dc/terms/license": [ { "@id": "http://www.apache.org/licenses/LICENSE-2.0" } ], "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "get latest accepted nanopubs" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/empty" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix np: \r\nprefix npa: \r\nprefix npx: \r\nprefix xsd: \r\nprefix dct: \r\nprefix oa: \r\nprefix rdfs: \r\nprefix nt: \r\nprefix pav: \r\nprefix bibo: \r\nprefix rdf: \r\n\r\nselect ?np ?label ?npType ?mainAuthor ?authorEtAl ?timestamp ?date where {\r\n\r\nvalues ?npType {\r\n \r\n \r\n \r\n}\r\nbind(uri(concat(\"https://w3id.org/np/l/nanopub-query-1.1/repo/type/\", sha256(str(?npType)))) as ?service)\r\n\r\nservice ?service { select distinct ?np ?label (coalesce(?firstAuthor, min(?author), min(?creator)) as ?mainAuthor) (if(if(count(distinct ?author)>0, count(distinct ?author), count(distinct ?creator)) > 1, \" et al.\", \"\") as ?authorEtAl) ?timestamp (substr(str(?timestamp), 0, 11) as ?date) where {\r\n graph npa:graph {\r\n ?np dct:created ?timestamp .\r\n ?np npa:hasValidSignatureForPublicKey ?pubkey .\r\n ?np rdfs:label ?label .\r\n ?np np:hasAssertion ?a .\r\n ?np np:hasPublicationInfo ?i .\r\n filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . }\r\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . }\r\n }\r\n optional {\r\n graph ?i { ?np pav:authoredBy ?author . }\r\n }\r\n optional {\r\n graph ?i {\r\n ?np bibo:authorList ?authorList .\r\n ?authorList ?hasElement ?author .\r\n filter(strstarts(str(?hasElement), str(rdf:_)))\r\n }\r\n }\r\n optional {\r\n graph ?i {\r\n ?np bibo:authorList ?authorList .\r\n ?authorList rdf:_1 ?firstAuthor .\r\n }\r\n }\r\n}\r\ngroup by ?np ?label ?timestamp\r\n} }\r\norder by desc(?timestamp)\r\nlimit 10" } ] } ] }, { "@id": "https://w3id.org/np/RAL-Y2PSWEtvpAYpdx4PF3MJ3TuZB7cFskTVdPA_JCg3o#Head", "@graph": [ { "@id": "https://w3id.org/np/RAL-Y2PSWEtvpAYpdx4PF3MJ3TuZB7cFskTVdPA_JCg3o", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAL-Y2PSWEtvpAYpdx4PF3MJ3TuZB7cFskTVdPA_JCg3o#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAL-Y2PSWEtvpAYpdx4PF3MJ3TuZB7cFskTVdPA_JCg3o#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAL-Y2PSWEtvpAYpdx4PF3MJ3TuZB7cFskTVdPA_JCg3o#pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAL-Y2PSWEtvpAYpdx4PF3MJ3TuZB7cFskTVdPA_JCg3o#provenance", "@graph": [ { "@id": "https://w3id.org/np/RAL-Y2PSWEtvpAYpdx4PF3MJ3TuZB7cFskTVdPA_JCg3o#assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAL-Y2PSWEtvpAYpdx4PF3MJ3TuZB7cFskTVdPA_JCg3o#pubinfo", "@graph": [ { "@id": "https://orcid.org/0000-0002-1267-0234", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Tobias Kuhn" } ] }, { "@id": "https://w3id.org/np/RAL-Y2PSWEtvpAYpdx4PF3MJ3TuZB7cFskTVdPA_JCg3o#sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "UkH+hJ6lv3nt0Q9Y81tO42wQ8zUUxRdmf3aZEIb+O3vp/cFnWr94ZTncLES8QdTzLT2IAsEPXexZHOVromlZptXlvs5LH1f6uvLCzNzpPnBOxhwtJjiF3n2HEOAE0HsfqqCRtCu8SCEU7nnLx78bdm1qBc/LZWRkGPI9A3fQ+48=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAL-Y2PSWEtvpAYpdx4PF3MJ3TuZB7cFskTVdPA_JCg3o" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] }, { "@id": "https://w3id.org/np/RAL-Y2PSWEtvpAYpdx4PF3MJ3TuZB7cFskTVdPA_JCg3o", "http://purl.org/dc/terms/created": [ { "@value": "2024-08-06T07:35:22.107Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://purl.org/dc/terms/creator": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ], "http://purl.org/dc/terms/license": [ { "@id": "https://creativecommons.org/licenses/by/4.0/" } ], "http://purl.org/nanopub/x/introduces": [ { "@id": "https://w3id.org/np/RAL-Y2PSWEtvpAYpdx4PF3MJ3TuZB7cFskTVdPA_JCg3o#get-latest-accepted" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAZiDQHQ8EoNtowNmXdpXgDETDWGezgPyBu3idykDpAhM" } ], "http://purl.org/nanopub/x/wasCreatedAt": [ { "@id": "https://nanodash.knowledgepixels.com/" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "http://purl.org/np/RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "http://purl.org/np/RAA2MfqdBCzmz9yVWjKLXNbyfBNcwsMmOqcNUxkk1maIM" }, { "@id": "http://purl.org/np/RAh1gm83JiG5M6kDxXhaYT1l49nCzyrckMvTzcPn-iv90" }, { "@id": "http://purl.org/np/RAjpBMlw3owYhJUBo3DtsuDlXsNAJ8cnGeWAutDVjuAuI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAYvkQOT9-zrcql5lzMW9OpiPjA9UvSh-RezaVwYmWvns" } ] } ] } ]