[ { "@graph" : [ { "@id" : "https://w3id.org/np/RAkVaxm_xPxkZsOGEWQ0NhJPr8HouSjT9VRkkVkb_r7Ko", "@type" : [ "http://www.nanopub.org/nschema#Nanopublication" ], "http://www.nanopub.org/nschema#hasAssertion" : [ { "@id" : "https://w3id.org/np/RAkVaxm_xPxkZsOGEWQ0NhJPr8HouSjT9VRkkVkb_r7Ko#assertion" } ], "http://www.nanopub.org/nschema#hasProvenance" : [ { "@id" : "https://w3id.org/np/RAkVaxm_xPxkZsOGEWQ0NhJPr8HouSjT9VRkkVkb_r7Ko#provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo" : [ { "@id" : "https://w3id.org/np/RAkVaxm_xPxkZsOGEWQ0NhJPr8HouSjT9VRkkVkb_r7Ko#pubinfo" } ] } ], "@id" : "https://w3id.org/np/RAkVaxm_xPxkZsOGEWQ0NhJPr8HouSjT9VRkkVkb_r7Ko#Head" }, { "@graph" : [ { "@id" : "https://w3id.org/np/RAkVaxm_xPxkZsOGEWQ0NhJPr8HouSjT9VRkkVkb_r7Ko#get-fer-pref-ids-extra-available", "@type" : [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://purl.org/dc/terms/description" : [ { "@value" : "This query returns the preferred IDs of FAIR-Enabling Resources (FERs) as an extra list to the get-fer-pref-ids list, adding the ones that are *only* tagged as fip:Available-FAIR-Enabling-Resource." } ], "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 FER preferred IDs (extra available FERs)" } ], "https://w3id.org/kpxl/grlc/endpoint" : [ { "@id" : "https://w3id.org/np/l/nanopub-query-1.1/repo/type/ab9afe2ff44e1c42e9f93092c0d6978a4d519b04fb0abecbc360603af23a34c2" } ], "https://w3id.org/kpxl/grlc/sparql" : [ { "@value" : "prefix rdfs: \r\nprefix dct: \r\nprefix np: \r\nprefix npa: \r\nprefix npx: \r\nprefix fip: \r\n\r\nselect distinct ?resource_pref_id ?res ?reslabel ?res_np_date ?resourcetype ?res_np ?np_pre ?pubkey_hash ?np_pre_pubkey_hash where {\r\n graph npa:graph {\r\n ?res_np npa:hasValidSignatureForPublicKey ?pubkey .\r\n filter not exists { ?npx npx:invalidates ?res_np ; npa:hasValidSignatureForPublicKey ?pubkey . }\r\n bind(sha256(?pubkey) as ?pubkey_hash) ## workaround due to https://github.com/knowledgepixels/nanopub-query/issues/14\r\n ?res_np npx:hasNanopubType fip:Available-FAIR-Enabling-Resource .\r\n filter not exists { ?res_np npx:hasNanopubType fip:FAIR-Enabling-Resource . }\r\n ?res_np (npx:introduces|npx:describes) ?resource_pref_id .\r\n bind(replace(str(?resource_pref_id), \"^.*?(#|/)([^/#]*/?[^/#]*)/?$\", \"$2\") as ?res)\r\n ?res_np dct:created ?res_np_date .\r\n ?res_np rdfs:label ?reslabel .\r\n bind(fip:Available-FAIR-Enabling-Resource as ?resourcetype)\r\n }\r\n optional { select * { graph npa:networkGraph {\r\n ?res_np npx:supersedes* ?np_pre_x .\r\n } } }\r\n bind(coalesce(?np_pre_x, ?res_np) as ?np_pre)\r\n bind(concat(str(?np_pre), \" \", ?pubkey_hash) as ?np_pre_pubkey_hash)\r\n} order by ?resource_pref_id ?res_np" } ] } ], "@id" : "https://w3id.org/np/RAkVaxm_xPxkZsOGEWQ0NhJPr8HouSjT9VRkkVkb_r7Ko#assertion" }, { "@graph" : [ { "@id" : "https://w3id.org/np/RAkVaxm_xPxkZsOGEWQ0NhJPr8HouSjT9VRkkVkb_r7Ko#assertion", "http://www.w3.org/ns/prov#wasAttributedTo" : [ { "@id" : "https://orcid.org/0000-0002-1267-0234" } ] } ], "@id" : "https://w3id.org/np/RAkVaxm_xPxkZsOGEWQ0NhJPr8HouSjT9VRkkVkb_r7Ko#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/RAkVaxm_xPxkZsOGEWQ0NhJPr8HouSjT9VRkkVkb_r7Ko", "http://purl.org/dc/terms/created" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2025-03-10T14:23:45.486Z" } ], "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/RAkVaxm_xPxkZsOGEWQ0NhJPr8HouSjT9VRkkVkb_r7Ko#get-fer-pref-ids-extra-available" } ], "http://purl.org/nanopub/x/wasCreatedAt" : [ { "@id" : "https://nanodash.knowledgepixels.com/" } ], "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/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate" : [ { "@id" : "https://w3id.org/np/RAYvkQOT9-zrcql5lzMW9OpiPjA9UvSh-RezaVwYmWvns" } ] }, { "@id" : "https://w3id.org/np/RAkVaxm_xPxkZsOGEWQ0NhJPr8HouSjT9VRkkVkb_r7Ko#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" : "2g6y4NqeUq99jIJB9Jtykzzg1CN6eMfALod1yoeJvbGmbeuK8+M4KxdMoXq0Jcm/Xy348xI65O2rAwvJmG5X4C7o5VDg+5kLK7HcNi8LzmBszyUPtLGzJRBjTpQmV3H40pKj0+goWBC12duAaOszHok9E4wIIHkaFvrRQXyLUcg=" } ], "http://purl.org/nanopub/x/hasSignatureTarget" : [ { "@id" : "https://w3id.org/np/RAkVaxm_xPxkZsOGEWQ0NhJPr8HouSjT9VRkkVkb_r7Ko" } ], "http://purl.org/nanopub/x/signedBy" : [ { "@id" : "https://orcid.org/0000-0002-1267-0234" } ] } ], "@id" : "https://w3id.org/np/RAkVaxm_xPxkZsOGEWQ0NhJPr8HouSjT9VRkkVkb_r7Ko#pubinfo" } ]