[ { "@graph" : [ { "@id" : "https://w3id.org/np/RAFv-lX-vlyT3rwXaaz2dlxQuuT8JzN0AOoOH_m8Bfmac", "@type" : [ "http://www.nanopub.org/nschema#Nanopublication" ], "http://www.nanopub.org/nschema#hasAssertion" : [ { "@id" : "https://w3id.org/np/RAFv-lX-vlyT3rwXaaz2dlxQuuT8JzN0AOoOH_m8Bfmac/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance" : [ { "@id" : "https://w3id.org/np/RAFv-lX-vlyT3rwXaaz2dlxQuuT8JzN0AOoOH_m8Bfmac/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo" : [ { "@id" : "https://w3id.org/np/RAFv-lX-vlyT3rwXaaz2dlxQuuT8JzN0AOoOH_m8Bfmac/pubinfo" } ] } ], "@id" : "https://w3id.org/np/RAFv-lX-vlyT3rwXaaz2dlxQuuT8JzN0AOoOH_m8Bfmac/Head" }, { "@graph" : [ { "@id" : "https://w3id.org/np/RAFv-lX-vlyT3rwXaaz2dlxQuuT8JzN0AOoOH_m8Bfmac/fers_by_type", "@type" : [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://purl.org/dc/terms/description" : [ { "@value" : "Get FAIR-Enabling Resources by type." } ], "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 FERs by type (with community count)" } ], "https://w3id.org/kpxl/grlc/endpoint" : [ { "@id" : "https://w3id.org/np/l/nanopub-query-1.1/repo/full" } ], "https://w3id.org/kpxl/grlc/sparql" : [ { "@value" : "prefix rdfs: \r\nprefix np: \r\nprefix npa: \r\nprefix npx: \r\nprefix xsd: \r\nprefix dct: \r\nprefix fip: \r\nprefix search: \r\n\r\nselect distinct ?np ?thing ?description ?label ?date ?types ?qualifier (group_concat(distinct ?community; separator=\" \") as ?communities) (count(distinct ?community) as ?community_count) where {\r\n\r\n { select ?latest_curators_assertion where {\r\n graph npa:graph {\r\n npa:hasValidSignatureForPublicKey ?curators_np_pk .\r\n ?latest_curators_np npa:hasValidSignatureForPublicKey ?curators_np_pk .\r\n filter not exists { ?latest_curators_npx npx:invalidates ?latest_curators_np ; npa:hasValidSignatureForPublicKey ?curators_np_pk . }\r\n ?latest_curators_np np:hasAssertion ?latest_curators_assertion .\r\n }\r\n graph npa:networkGraph {\r\n ?latest_curators_np (npx:supersedes)* .\r\n filter not exists { ?latest_curators_npxx npx:supersedes ?latest_curators_np }\r\n }\r\n } }\r\n\r\n { select ?np ?thing ?label ?description ?date (group_concat(distinct ?type; separator=\" \") as ?types) where {\r\n\r\n graph npa:graph {\r\n ?np rdfs:label ?label ;\r\n dct:description ?description ;\r\n npa:hasValidSignatureForPublicKey ?pubkey ;\r\n dct:created ?date .\r\n ?np npx:introduces|npx:describes ?thing .\r\n filter(str(?date) > \"2022\")\r\n filter exists { ?np npx:hasNanopubType ?fsr_type . values ?fsr_type { fip:FAIR-Enabling-Resource fip:FAIR-Supporting-Resource } }\r\n filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . }\r\n ?np npx:hasNanopubType ?_type_iri .\r\n ?np npx:hasNanopubType ?type .\r\n values ?type {\r\n fip:Authentication-and-authorization-service\r\n fip:Editor\r\n fip:FAIR-Representation-Service\r\n fip:FAIR-Supporting-Software\r\n fip:Identifier-service\r\n fip:Provenance-Tracking-Service\r\n fip:Registry\r\n fip:Validation-Service\r\n fip:Web-API\r\n fip:Communication-protocol\r\n fip:Crosswalk\r\n fip:FAIR-Implementation-Profile\r\n fip:Knowledge-representation-language\r\n fip:Metadata-schema\r\n fip:Metadata-data-linking-schema\r\n fip:Provenance-model\r\n fip:Semantic-model\r\n fip:Structured-vocabulary\r\n fip:FAIR-Data-Policy\r\n fip:Data-usage-license\r\n fip:Metadata-preservation-policy\r\n fip:Persistency-Policy\r\n fip:FAIR-Practice\r\n }\r\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . }\r\n }\r\n\r\n filter not exists {\r\n graph ?da {\r\n ?disapprover npx:disapprovesOf ?np .\r\n }\r\n graph npa:graph {\r\n ?disapproval_np np:hasAssertion ?da ;\r\n npa:hasValidSignatureForPublicKey ?dpubkey .\r\n filter not exists { ?disapproval_npx npx:invalidates ?disapproval_np ; npa:hasValidSignatureForPublicKey ?dpubkey . }\r\n }\r\n graph ?latest_curators_assertion {\r\n ?qpubkeys npx:hasPublicKey ?dpubkey .\r\n }\r\n }\r\n\r\n } group by ?np ?thing ?label ?description ?date }\r\n\r\n\r\n optional {\r\n graph ?qa {\r\n ?qualifier npx:qualifies ?np .\r\n }\r\n graph npa:graph {\r\n ?qualification_np np:hasAssertion ?qa ;\r\n npa:hasValidSignatureForPublicKey ?qpubkey .\r\n filter not exists { ?qualification_npx npx:invalidates ?qualification_np ; npa:hasValidSignatureForPublicKey ?qpubkey . }\r\n }\r\n graph ?latest_curators_assertion {\r\n ?qpubkeys npx:hasPublicKey ?qpubkey .\r\n }\r\n }\r\n\r\n optional {\r\n graph npa:graph {\r\n ?decl_np npx:hasNanopubType fip:FIP-Declaration .\r\n ?decl_np np:hasAssertion ?decl_a ;\r\n npa:hasValidSignatureForPublicKey ?decl_pubkey .\r\n filter not exists { ?decl_npx npx:invalidates ?decl_np ; npa:hasValidSignatureForPublicKey ?decl_pubkey . }\r\n }\r\n graph ?decl_a {\r\n ?decl a fip:FIP-Declaration .\r\n # ----\r\n # not really needed but seems to make query faster:\r\n values ?use { fip:declares-current-use-of fip:declares-planned-use-of fip:declares-planned-development-of fip:declares-planned-replacement-of }\r\n ?decl ?use ?thing .\r\n # ----\r\n ?decl fip:declared-by ?community .\r\n }\r\n }\r\n\r\n} group by ?np ?thing ?description ?label ?date ?types ?qualifier order by desc(?community_count)" } ] } ], "@id" : "https://w3id.org/np/RAFv-lX-vlyT3rwXaaz2dlxQuuT8JzN0AOoOH_m8Bfmac/assertion" }, { "@graph" : [ { "@id" : "https://w3id.org/np/RAFv-lX-vlyT3rwXaaz2dlxQuuT8JzN0AOoOH_m8Bfmac/assertion", "http://www.w3.org/ns/prov#wasAttributedTo" : [ { "@id" : "https://orcid.org/0000-0002-1267-0234" } ] } ], "@id" : "https://w3id.org/np/RAFv-lX-vlyT3rwXaaz2dlxQuuT8JzN0AOoOH_m8Bfmac/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/RAFv-lX-vlyT3rwXaaz2dlxQuuT8JzN0AOoOH_m8Bfmac", "http://purl.org/dc/terms/created" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2026-02-24T11:52:56.939Z" } ], "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/embeds" : [ { "@id" : "https://w3id.org/np/RAFv-lX-vlyT3rwXaaz2dlxQuuT8JzN0AOoOH_m8Bfmac/fers_by_type" } ], "http://purl.org/nanopub/x/wasCreatedAt" : [ { "@id" : "https://nanodash.knowledgepixels.com/" } ], "http://www.w3.org/ns/prov#wasDerivedFrom" : [ { "@id" : "https://w3id.org/np/RAZo8545v2A3iUCm2JTWjs0K04bDn2C32uhs8rru-Vz1Q" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate" : [ { "@id" : "https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate" : [ { "@id" : "https://w3id.org/np/RA0J4vUn_dekg-U1kK3AOEt02p9mT2WO03uGxLDec1jLw" }, { "@id" : "https://w3id.org/np/RARW4MsFkHuwjycNElvEVtuMjpf4yWDL10-0C5l2MqqRQ" }, { "@id" : "https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate" : [ { "@id" : "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id" : "https://w3id.org/np/RAFv-lX-vlyT3rwXaaz2dlxQuuT8JzN0AOoOH_m8Bfmac/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" : "tM/V4/oXEcvas6GRUUEMSUkp5Gs9AcXMpMszxL7Yr7u5R4AvUEz8FdE1nVDEeOeapXL+CpNU6MhJlGQkwZ7RJnd3XCtR+SG/8D4RiLIIcdHTfgqiwzdSe7f1UA3OBUdJn81m/DLP7d/Ic1G1OujW9LyeugXfK+TQ6o2hAYOfNHU=" } ], "http://purl.org/nanopub/x/hasSignatureTarget" : [ { "@id" : "https://w3id.org/np/RAFv-lX-vlyT3rwXaaz2dlxQuuT8JzN0AOoOH_m8Bfmac" } ], "http://purl.org/nanopub/x/signedBy" : [ { "@id" : "https://orcid.org/0000-0002-1267-0234" } ] } ], "@id" : "https://w3id.org/np/RAFv-lX-vlyT3rwXaaz2dlxQuuT8JzN0AOoOH_m8Bfmac/pubinfo" } ]