[ { "@id": "https://w3id.org/np/RAG3yiBFwxjZJeA2v_g5PfFqKf3Pett_DyquAufOeH7Nk/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAG3yiBFwxjZJeA2v_g5PfFqKf3Pett_DyquAufOeH7Nk/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAG3yiBFwxjZJeA2v_g5PfFqKf3Pett_DyquAufOeH7Nk/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/RAG3yiBFwxjZJeA2v_g5PfFqKf3Pett_DyquAufOeH7Nk", "http://purl.org/dc/terms/created": [ { "@value": "2026-10-12T10:53:10Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://purl.org/dc/terms/creator": [ { "@id": "https://w3id.org/np/RAlgF8um78nQxxJhJTNMZ3tpWJOntfTULJWMWr5Fmo4zU/fairimpl-bot" } ], "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/RAG3yiBFwxjZJeA2v_g5PfFqKf3Pett_DyquAufOeH7Nk/get-space-rfips" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get the reference FIPs (rFIPs) of a space" } ], "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/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" }, { "@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/RAG3yiBFwxjZJeA2v_g5PfFqKf3Pett_DyquAufOeH7Nk/sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzZAkv4Mu1YSUxQMriBnhYunqosX5wpuQ3FjUyzW8wTC51wjCmhsChyhS+mCx7Od+2MTDpdhxDWA+pH1r9AX508X2rIY/sbpMS+pd56e0qKPQ0t4folln1TgamPN9iOlY/yLc2x27AdipWIGXUdtL2iAcb+P/Y5dQS2AkHMS3lP2e5JBL5/bD/10qvTLKvdsqIKts8qjuLpxr9CFbsS2gLjMkXL5D2IsJ0cL5sgmIfS1inLVxIfXrS/OgqYNFqeNznUYCVWfo0g7DKjnjiICz3omeQeJFLYwlJ6PhUhYDQS6O318DGwUCwhnuXbBbwL9evZa2I/0Pwu5xpZdNLYJ5UwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "I3EVot9chuOpnI68CsQM6anBJWRXp9OwUJPIoO20qYnmDkx6Hh/g/KtUj+obsbDKImqs/4cIntKNBCOyhQEn5a79ecKa5zOcYfgZgNACpMtWNQv6ElOeW5+f/FKofNG1hWfV+yUY7zUl2RABx6bNJ+JvfDVc4nq83E69U1RuRAzHYk7YU4F++LjJItPzF6eZUM2iMYDMcAxB5pz+F76VOX4oOX+i04a6w+vJVfDnt12/xP3lCcWzRbh8MLcVhqqrHImS3x4LCbUlH5Y2Pzeujm0RcSIxOmC0ce16PSZ8k/3PrmjPHNJd+e9eafJluv5VuzrifJVIVW0Jhsq5xSYHyg==" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAG3yiBFwxjZJeA2v_g5PfFqKf3Pett_DyquAufOeH7Nk" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://w3id.org/np/RAlgF8um78nQxxJhJTNMZ3tpWJOntfTULJWMWr5Fmo4zU/fairimpl-bot" } ] } ] }, { "@id": "https://w3id.org/np/RAG3yiBFwxjZJeA2v_g5PfFqKf3Pett_DyquAufOeH7Nk/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAG3yiBFwxjZJeA2v_g5PfFqKf3Pett_DyquAufOeH7Nk/get-space-rfips", "http://purl.org/dc/terms/description": [ { "@value": "Returns the reference FAIR Implementation Profiles (rFIPs) of a space, one row per community: the rFIP nanopublication with the newest dct:created among those declared by that community, restricted to the FAIR communities of the given space and of its sub-spaces. The space-scoped counterpart of the \"Get reference FIPs (latest version per community)\" query, with the same columns. Successive versions of an rFIP are not reliably chained by npx:supersedes -- the FIP wizard supersedes some earlier nanopublication rather than the preceding rFIP -- so filtering on invalidation alone leaves several versions of the same profile in the listing (three for PARC Toxicology). The community given by fip:declared-by is used as the identity of the profile, since each version re-introduces the rFIP under a new IRI and therefore cannot be grouped by it. Three steps lead from the space to the communities: Nanodash fills the multi placeholder with the space IRI and the alt IDs of its root definition (its owl:sameAs objects, which for a space that is also a FAIR community is the community IRI the rFIPs point at); gen:isSubSpaceOf adds the sub-spaces, taken from non-invalidated nanopublications and followed transitively, so nested sub-spaces count too; and owl:sameAs in a non-invalidated nanopublication that introduces or describes a space in scope maps each of them to its FAIR community, in either direction. The sub-space links are read from the plain nanopublication graphs rather than from the materialised space state of the spaces repository, which the rFIP data is not in: any non-invalidated sub-space declaration counts, without the admin-side authority check that the spaces repository applies. The scope is resolved inside the per-community sub-select, so the newest version is only computed for the communities in scope; running against the full repository rather than the rFIP type repository is what makes the space definitions reachable in the first place." } ], "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 the reference FIPs (rFIPs) of a space" } ], "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 rdf: \nprefix rdfs: \nprefix np: \nprefix npa: \nprefix npx: \nprefix xsd: \nprefix dct: \nprefix owl: \nprefix foaf: \nprefix prov: \nprefix skos: \nprefix schema: \nprefix gen: \nprefix fip: \nprefix tpff: \nprefix search: \n\nselect (?rfip as ?rFIP) (?rfip_label as ?rFIP_label) ?version ?community ?np (\"^\" as ?np_label) where {\n { select ?community (max(?date) as ?latest) where {\n { select distinct ?community where {\n { select distinct ?scope where {\n { values ?_space_multi_iri {} bind(?_space_multi_iri as ?scope) }\n union\n { values ?_space_multi_iri {}\n graph npa:graph {\n ?sub_np np:hasAssertion ?sub_a ; npa:hasValidSignatureForPublicKey ?sub_pk .\n filter not exists { ?sub_x npx:invalidates ?sub_np ; npa:hasValidSignatureForPublicKey ?sub_pk . }\n }\n graph ?sub_a { ?scope gen:isSubSpaceOf ?parent . }\n ?parent gen:isSubSpaceOf* ?_space_multi_iri .\n }\n } }\n ?scope (owl:sameAs|^owl:sameAs)? ?community .\n filter(?community = ?scope || exists {\n graph npa:graph {\n ?same_np npx:introduces|npx:describes ?scope ; np:hasAssertion ?same_a ; npa:hasValidSignatureForPublicKey ?same_pk .\n filter not exists { ?same_x npx:invalidates ?same_np ; npa:hasValidSignatureForPublicKey ?same_pk . }\n }\n graph ?same_a { { ?scope owl:sameAs ?community } union { ?community owl:sameAs ?scope } }\n })\n } }\n graph npa:graph {\n ?cnp npx:hasNanopubType fip:Reference-FAIR-Implementation-Profile ; npa:hasValidSignatureForPublicKeyHash ?cpubkey ; dct:created ?date ; np:hasAssertion ?ca ; npx:introduces ?crfip .\n filter not exists { ?cnpx npx:invalidates ?cnp ; npa:hasValidSignatureForPublicKeyHash ?cpubkey . }\n }\n graph ?ca { ?crfip fip:declared-by ?community . }\n } group by ?community }\n graph npa:graph {\n ?np npx:hasNanopubType fip:Reference-FAIR-Implementation-Profile ; npa:hasValidSignatureForPublicKeyHash ?pubkey ; dct:created ?latest ; np:hasAssertion ?a ; npx:introduces ?rfip .\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }\n }\n graph ?a {\n ?rfip a fip:Reference-FAIR-Implementation-Profile ; rdfs:label ?rfip_label ; fip:declared-by ?community .\n optional { ?rfip schema:version ?version . }\n }\n}\n" } ] } ] }, { "@id": "https://w3id.org/np/RAG3yiBFwxjZJeA2v_g5PfFqKf3Pett_DyquAufOeH7Nk/Head", "@graph": [ { "@id": "https://w3id.org/np/RAG3yiBFwxjZJeA2v_g5PfFqKf3Pett_DyquAufOeH7Nk", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAG3yiBFwxjZJeA2v_g5PfFqKf3Pett_DyquAufOeH7Nk/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAG3yiBFwxjZJeA2v_g5PfFqKf3Pett_DyquAufOeH7Nk/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAG3yiBFwxjZJeA2v_g5PfFqKf3Pett_DyquAufOeH7Nk/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] } ]