[ { "@graph" : [ { "@id" : "https://w3id.org/np/RAvL7pe2ppsfq4mVWTdJjssYGsjrmliNd_sZO2ytLvg1Y", "@type" : [ "http://www.nanopub.org/nschema#Nanopublication" ], "http://www.nanopub.org/nschema#hasAssertion" : [ { "@id" : "https://w3id.org/np/RAvL7pe2ppsfq4mVWTdJjssYGsjrmliNd_sZO2ytLvg1Y#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance" : [ { "@id" : "https://w3id.org/np/RAvL7pe2ppsfq4mVWTdJjssYGsjrmliNd_sZO2ytLvg1Y#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo" : [ { "@id" : "https://w3id.org/np/RAvL7pe2ppsfq4mVWTdJjssYGsjrmliNd_sZO2ytLvg1Y#pubinfo" } ] } ], "@id" : "https://w3id.org/np/RAvL7pe2ppsfq4mVWTdJjssYGsjrmliNd_sZO2ytLvg1Y#Head" }, { "@graph" : [ { "@id" : "https://w3id.org/np/RAvL7pe2ppsfq4mVWTdJjssYGsjrmliNd_sZO2ytLvg1Y#get-most-used-templates-last30d", "@type" : [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://purl.org/dc/terms/description" : [ { "@value" : "This query returns the most used assertion templates of the last 30 days, considering the latest versions of these templates." } ], "http://purl.org/dc/terms/license" : [ { "@id" : "http://www.apache.org/licenses/LICENSE-2.0" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "Get the most used templates of the last 30 days" } ], "https://w3id.org/kpxl/grlc/endpoint" : [ { "@id" : "https://w3id.org/np/l/nanopub-query-1.1/repo/last30d" } ], "https://w3id.org/kpxl/grlc/sparql" : [ { "@value" : "prefix rdfs: \r\nprefix np: \r\nprefix npa: \r\nprefix npx: \r\nprefix nt: \r\nprefix dct: \r\n\r\nselect ?template_np ?label (sum(?npcount) as ?overallcount) {\r\n { select ?used_template_np (count(distinct ?np) as ?npcount) where {\r\n graph npa:graph {\r\n ?np npa:hasValidSignatureForPublicKey ?pubkey .\r\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . }\r\n ?np np:hasPublicationInfo ?i .\r\n }\r\n graph ?i {\r\n ?np nt:wasCreatedFromTemplate ?used_template_np .\r\n }\r\n } group by ?used_template_np }\r\n bind(uri(concat(\"https://w3id.org/np/l/nanopub-query-1.1/repo/type/\", sha256(str(nt:AssertionTemplate)))) as ?atservice)\r\n { service ?atservice {\r\n graph npa:networkGraph {\r\n ?template_np npx:supersedes* ?used_template_np .\r\n }\r\n graph npa:graph {\r\n ?used_template_np npa:hasValidSignatureForPublicKey ?pubkey .\r\n ?template_np npa:hasValidSignatureForPublicKey ?pubkey .\r\n filter not exists { ?template_npx npx:invalidates ?template_np ; npa:hasValidSignatureForPublicKey ?pubkey . }\r\n ?used_template_np np:hasAssertion ?a .\r\n }\r\n graph ?a {\r\n ?a rdfs:label ?label .\r\n } \r\n } }\r\n} group by ?template_np ?label order by desc(?overallcount) limit 10" } ] } ], "@id" : "https://w3id.org/np/RAvL7pe2ppsfq4mVWTdJjssYGsjrmliNd_sZO2ytLvg1Y#assertion" }, { "@graph" : [ { "@id" : "https://w3id.org/np/RAvL7pe2ppsfq4mVWTdJjssYGsjrmliNd_sZO2ytLvg1Y#assertion", "http://www.w3.org/ns/prov#wasAttributedTo" : [ { "@id" : "https://orcid.org/0000-0002-1267-0234" } ] } ], "@id" : "https://w3id.org/np/RAvL7pe2ppsfq4mVWTdJjssYGsjrmliNd_sZO2ytLvg1Y#provenance" }, { "@graph" : [ { "@id" : "https://orcid.org/0000-0002-1267-0234", "http://xmlns.com/foaf/0.1/name" : [ { "@value" : "Tobias Kuhn" } ] }, { "@id" : "https://w3id.org/np/RAvL7pe2ppsfq4mVWTdJjssYGsjrmliNd_sZO2ytLvg1Y", "http://purl.org/dc/terms/created" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2024-09-24T12:18:41.405Z" } ], "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/RAvL7pe2ppsfq4mVWTdJjssYGsjrmliNd_sZO2ytLvg1Y#get-most-used-templates-last30d" } ], "http://purl.org/nanopub/x/supersedes" : [ { "@id" : "https://w3id.org/np/RAT5odJScFpREW7nbgGcnZBw4b4r3nPdqva7h24NJbbiI" } ], "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" } ] }, { "@id" : "https://w3id.org/np/RAvL7pe2ppsfq4mVWTdJjssYGsjrmliNd_sZO2ytLvg1Y#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" : "L4Kq1BM/4P6RBd+o0dH5x7mF1VCRMn12gGrIffykof0eiaisk4Z9JoIX8PQbdMrP+op0M+qiAT4u7FZJGo4z7jqav087wCaUBqsbtQJAiAfsDLLild50ITrrKso9eKHxzVqysK4VlkD21cuq8V8ei/zlXrwTf6Qk2/ys2zaFXuk=" } ], "http://purl.org/nanopub/x/hasSignatureTarget" : [ { "@id" : "https://w3id.org/np/RAvL7pe2ppsfq4mVWTdJjssYGsjrmliNd_sZO2ytLvg1Y" } ], "http://purl.org/nanopub/x/signedBy" : [ { "@id" : "https://orcid.org/0000-0002-1267-0234" } ] } ], "@id" : "https://w3id.org/np/RAvL7pe2ppsfq4mVWTdJjssYGsjrmliNd_sZO2ytLvg1Y#pubinfo" } ]