rows { options { physical_type: PHYSICAL_STREAM_TYPE_QUADS max_name_table_size: 128 max_prefix_table_size: 16 max_datatype_table_size: 16 logical_type: LOGICAL_STREAM_TYPE_DATASETS version: 2 } } rows { prefix { value: "https://w3id.org/np/" } } rows { name { value: "RACCSXrZgFf4FUteEPLhFVZ62pJNtL_FrfM_27POnrlE4" } } rows { namespace { name: "this" value { prefix_id: 1 } } } rows { prefix { value: "https://w3id.org/np/RACCSXrZgFf4FUteEPLhFVZ62pJNtL_FrfM_27POnrlE4/" } } rows { name { } } rows { namespace { name: "sub" value { prefix_id: 2 } } } rows { prefix { value: "http://www.nanopub.org/nschema#" } } rows { namespace { name: "np" value { prefix_id: 3 name_id: 2 } } } rows { prefix { value: "https://w3id.org/kpxl/grlc/" } } rows { namespace { name: "grlc" value { prefix_id: 4 name_id: 2 } } } rows { prefix { value: "http://purl.org/dc/terms/" } } rows { namespace { name: "dct" value { prefix_id: 5 name_id: 2 } } } rows { prefix { value: "https://w3id.org/np/o/ntemplate/" } } rows { namespace { name: "nt" value { prefix_id: 6 name_id: 2 } } } rows { prefix { value: "http://purl.org/nanopub/x/" } } rows { namespace { name: "npx" value { prefix_id: 7 name_id: 2 } } } rows { prefix { value: "http://www.w3.org/2001/XMLSchema#" } } rows { namespace { name: "xsd" value { prefix_id: 8 name_id: 2 } } } rows { prefix { value: "http://www.w3.org/2000/01/rdf-schema#" } } rows { namespace { name: "rdfs" value { prefix_id: 9 name_id: 2 } } } rows { prefix { value: "https://orcid.org/" } } rows { namespace { name: "orcid" value { prefix_id: 10 name_id: 2 } } } rows { prefix { value: "http://www.w3.org/ns/prov#" } } rows { namespace { name: "prov" value { prefix_id: 11 name_id: 2 } } } rows { prefix { value: "http://xmlns.com/foaf/0.1/" } } rows { namespace { name: "foaf" value { prefix_id: 12 name_id: 2 } } } rows { name { value: "hasAssertion" } } rows { name { value: "assertion" } } rows { name { value: "Head" } } rows { quad { s_iri { prefix_id: 1 name_id: 1 } p_iri { prefix_id: 3 name_id: 3 } o_iri { prefix_id: 2 } g_iri { } } } rows { name { value: "hasProvenance" } } rows { name { value: "provenance" } } rows { quad { p_iri { prefix_id: 3 } o_iri { prefix_id: 2 } } } rows { name { value: "hasPublicationInfo" } } rows { name { value: "pubinfo" } } rows { quad { p_iri { prefix_id: 3 } o_iri { prefix_id: 2 } } } rows { prefix { value: "http://www.w3.org/1999/02/22-rdf-syntax-ns#" } } rows { name { value: "type" } } rows { name { value: "Nanopublication" } } rows { quad { p_iri { prefix_id: 13 } o_iri { prefix_id: 3 } } } rows { name { value: "get-space-fips" } } rows { name { value: "description" } } rows { quad { s_iri { prefix_id: 2 } p_iri { prefix_id: 5 } o_literal { lex: "Returns the FAIR Implementation Profiles (FIPs) of a space: the same columns as the \"Get all FIPs\" query of the FAIR Implementation Space (FIP, declaring community, version, publication date, number of declarations in the declaration index, top-level research domains of the community), but restricted to the FAIR communities of the given space and of its sub-spaces. 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 FIPs 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 FIP data is not in: any non-invalidated sub-space declaration counts, without the admin-side authority check that the spaces repository applies. Reference FIPs (rFIPs) and example nanopublications are excluded, as in the all-FIPs query. Rows are ordered by publication date, newest first; the date column is also sortable in the rendered table. The declaration count is computed once per declaration index in a self-contained sub-select rather than by joining the index elements into the main pattern, which keeps the query about five times faster. FIP nanopublications that a GO FAIR Foundation curator has disapproved of (npx:disapprovesOf, signed with a curator\'s key and not invalidated) are left out, as in the FIPs list. Curators are the holders of the FAIR Implementation Space\'s Curator role, read live from the space state (the trust-approved keys of their accounts, nanopub-query repo/spaces); the FIP Wizard applies the same rules with the keys of the curators list https://w3id.org/np/RA27Uhopq4MHZziL2lKXX-wTb1jz4KVLbHaupxyAcCt9Y instead, which is maintained separately." } g_iri { prefix_id: 2 name_id: 4 } } } rows { name { value: "license" } } rows { prefix { value: "http://www.apache.org/licenses/" } } rows { name { value: "LICENSE-2.0" } } rows { quad { p_iri { prefix_id: 5 name_id: 14 } o_iri { prefix_id: 14 } } } rows { name { value: "grlc-query" } } rows { quad { p_iri { prefix_id: 13 name_id: 10 } o_iri { prefix_id: 4 name_id: 16 } } } rows { name { value: "label" } } rows { quad { p_iri { prefix_id: 9 } o_literal { lex: "Get the FIPs of a space" } } } rows { name { value: "endpoint" } } rows { prefix { value: "https://w3id.org/np/l/nanopub-query-1.1/repo/" } } rows { name { value: "full" } } rows { quad { p_iri { prefix_id: 4 } o_iri { prefix_id: 15 } } } rows { name { value: "sparql" } } rows { quad { p_iri { prefix_id: 4 } o_literal { lex: "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 ?fip (min(?fip_label) as ?fip_label) (min(?community) as ?community) (min(?community_label) as ?community_label) (min(?version) as ?version)\n (coalesce(min(?decl_count), 0) as ?declarations)\n (group_concat(distinct str(?top); separator=\" \") as ?domains_multi_iri) (group_concat(distinct ?top_label; separator=\"\\n\") as ?domains_label_multi)\n (min(?date) as ?date) (min(?np) as ?np) (\"^\" as ?np_label)\nwhere {\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 ?np npx:hasNanopubType fip:FAIR-Implementation-Profile ; npx:introduces ?fip ; npa:hasValidSignatureForPublicKey ?pk ; dct:created ?date ; np:hasAssertion ?a .\n filter not exists { ?np npx:hasNanopubType fip:Reference-FAIR-Implementation-Profile . }\n filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . }\n filter not exists { ?x npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pk . }\n }\n { select (concat(\" \", group_concat(distinct ?cur_pkh; separator=\" \"), \" \") as ?curator_pkhs) where {\n service {\n graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?cur_g . }\n graph ?cur_g {\n ?cur_ri a gen:RoleInstantiation ; npa:forSpace ;\n gen:hasRole ; npa:forAgent ?cur_agent .\n ?cur_acct a npa:AccountState ; npa:agent ?cur_agent ; npa:pubkey ?cur_pkh .\n }\n }\n } }\n filter not exists {\n graph ?daf { ?disapproverf npx:disapprovesOf ?np . }\n graph npa:graph { ?dnpf np:hasAssertion ?daf ; npa:hasValidSignatureForPublicKeyHash ?dpkf . filter not exists { ?dxf npx:invalidates ?dnpf ; npa:hasValidSignatureForPublicKeyHash ?dpkf . } }\n filter(contains(?curator_pkhs, concat(\" \", ?dpkf, \" \")))\n }\n graph ?a {\n ?fip a fip:FAIR-Implementation-Profile ; rdfs:label ?fip_label ; fip:declared-by ?community .\n optional { ?fip schema:version| ?version . }\n optional { ?fip fip:has-declaration-index ?index . }\n }\n optional {\n { select ?index (count(distinct ?decl_np) as ?decl_count) where {\n graph npa:networkGraph { ?index npx:includesElement ?decl_np . }\n } group by ?index }\n }\n optional {\n graph npa:graph { ?cnp npx:hasNanopubType fip:FAIR-Implementation-Community ; npx:introduces|npx:describes ?community ; np:hasAssertion ?ca ; npa:hasValidSignatureForPublicKey ?cpk . filter not exists { ?cx npx:invalidates ?cnp ; npa:hasValidSignatureForPublicKey ?cpk . } }\n graph ?ca { ?community rdfs:label ?community_label . optional { ?community fip:has-research-domain ?domain . } }\n graph npa:graph {\n ?srao_np npx:describes ;\n npa:hasValidSignatureForPublicKeyHash \"9069576dbf1967483c9a3095fb8a7c38b4770974a1733c681d5969e14e455e2b\" ;\n np:hasAssertion ?srao_a .\n filter not exists { ?srao_x npx:invalidates ?srao_np ; npa:hasValidSignatureForPublicKeyHash \"9069576dbf1967483c9a3095fb8a7c38b4770974a1733c681d5969e14e455e2b\" . }\n }\n optional { graph ?srao_a { ?domain rdfs:subClassOf* ?top . filter not exists { ?top rdfs:subClassOf ?tp . } ?top rdfs:label ?top_label . } }\n }\n} group by ?fip order by desc(min(?date))\n" } } } rows { name { value: "wasAttributedTo" } } rows { name { value: "0000-0002-1267-0234" } } rows { quad { s_iri { prefix_id: 2 name_id: 4 } p_iri { prefix_id: 11 name_id: 21 } o_iri { prefix_id: 10 } g_iri { prefix_id: 2 name_id: 7 } } } rows { name { value: "name" } } rows { quad { s_iri { prefix_id: 10 name_id: 22 } p_iri { prefix_id: 12 } o_literal { lex: "Tobias Kuhn" } g_iri { prefix_id: 2 name_id: 9 } } } rows { name { value: "created" } } rows { datatype { value: "http://www.w3.org/2001/XMLSchema#dateTime" } } rows { quad { s_iri { prefix_id: 1 name_id: 1 } p_iri { prefix_id: 5 name_id: 24 } o_literal { lex: "2026-11-23T15:23:48Z" datatype: 1 } } } rows { name { value: "creator" } } rows { prefix { value: "https://w3id.org/np/RAlgF8um78nQxxJhJTNMZ3tpWJOntfTULJWMWr5Fmo4zU/" } } rows { name { value: "fairimpl-bot" } } rows { quad { p_iri { } o_iri { prefix_id: 16 } } } rows { prefix { id: 6 value: "https://creativecommons.org/licenses/by/4.0/" } } rows { quad { p_iri { prefix_id: 5 name_id: 14 } o_iri { prefix_id: 6 name_id: 2 } } } rows { name { value: "embeds" } } rows { quad { p_iri { prefix_id: 7 name_id: 27 } o_iri { prefix_id: 2 name_id: 12 } } } rows { name { value: "supersedes" } } rows { name { value: "RATULLRvWR11hclzbrF9bihm_6kzHwQRgyotVWtfnaaj8" } } rows { quad { p_iri { prefix_id: 7 name_id: 28 } o_iri { prefix_id: 1 } } } rows { quad { p_iri { prefix_id: 9 name_id: 17 } o_literal { lex: "Get the FIPs of a space" } } } rows { prefix { id: 8 value: "https://w3id.org/np/o/ntemplate/" } } rows { name { value: "wasCreatedFromProvenanceTemplate" } } rows { name { value: "RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU" } } rows { quad { p_iri { prefix_id: 8 name_id: 30 } o_iri { prefix_id: 1 } } } rows { name { value: "wasCreatedFromPubinfoTemplate" } } rows { name { value: "RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" } } rows { quad { p_iri { prefix_id: 8 } o_iri { prefix_id: 1 } } } rows { name { value: "RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } } rows { quad { o_iri { } } } rows { name { value: "wasCreatedFromTemplate" } } rows { name { value: "RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } } rows { quad { p_iri { prefix_id: 8 } o_iri { prefix_id: 1 } } } rows { name { value: "sig" } } rows { name { value: "hasAlgorithm" } } rows { quad { s_iri { prefix_id: 2 } p_iri { prefix_id: 7 } o_literal { lex: "RSA" } } } rows { name { value: "hasPublicKey" } } rows { quad { p_iri { } o_literal { lex: "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzZAkv4Mu1YSUxQMriBnhYunqosX5wpuQ3FjUyzW8wTC51wjCmhsChyhS+mCx7Od+2MTDpdhxDWA+pH1r9AX508X2rIY/sbpMS+pd56e0qKPQ0t4folln1TgamPN9iOlY/yLc2x27AdipWIGXUdtL2iAcb+P/Y5dQS2AkHMS3lP2e5JBL5/bD/10qvTLKvdsqIKts8qjuLpxr9CFbsS2gLjMkXL5D2IsJ0cL5sgmIfS1inLVxIfXrS/OgqYNFqeNznUYCVWfo0g7DKjnjiICz3omeQeJFLYwlJ6PhUhYDQS6O318DGwUCwhnuXbBbwL9evZa2I/0Pwu5xpZdNLYJ5UwIDAQAB" } } } rows { name { value: "hasSignature" } } rows { quad { p_iri { } o_literal { lex: "lLLe94T3lnc0lIAg7Ow6RzrtQCrMXdy44IJadzvkzuIFs3HsAvptgCtrnDj0qGHZmQGTCMTpMsQYSfYrYk1wcjHJDqRSOHN54oz95wYsYhSggXf/BvGgwFFU+ewJI0TQAsAj+UH30O3jsfSYndSPRPwRqsP/xCV5QKAGa96ME5Fygkzf3gniqzN+ljXLN8yZ1Nc8TOEMy7jJbwBUCqZq8gn2dl0wPkfdpXLtE+yjaYQb5wFbT7SF58rrXXGCOVENYM7kUq22bKQwdFvsCk1wcCk2liLju/gDJRDWxvlMR2WivGSg5gGbR/+11E6Sj1eL9Nyulc7woveMTpAUFk1cHQ==" } } } rows { name { value: "hasSignatureTarget" } } rows { quad { p_iri { } o_iri { prefix_id: 1 name_id: 1 } } } rows { name { value: "signedBy" } } rows { quad { p_iri { prefix_id: 7 name_id: 42 } o_iri { prefix_id: 16 name_id: 26 } } }