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: "RAo_olh20wOiS7izMJNfkhqqd7pGMioAdYluQB3FCbpbw" } } rows { namespace { name: "this" value { prefix_id: 1 } } } rows { prefix { value: "https://w3id.org/np/RAo_olh20wOiS7izMJNfkhqqd7pGMioAdYluQB3FCbpbw/" } } 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-fip-declared-fsrs" } } rows { name { value: "description" } } rows { quad { s_iri { prefix_id: 2 } p_iri { prefix_id: 5 } o_literal { lex: "For a FAIR Implementation Profile (FIP) or reference FIP (rFIP), lists every FAIR Supporting Resource (FSR) it declares: the FSR (labelled from its metadata nanopublication, or by its identifier), its FSR types, the FIP question(s) it was declared under with the FAIR principle they refer to, the kind of use (current use, planned use, planned replacement), and the declaration nanopublication. A FIP is resolved through its declaration index; a FIP without an index (such as an rFIP) through the declarations of the same community. For such a FIP the declaration version is chosen by ranking the community\'s declaration versions: a version equal to the FIP\'s own schema:version wins, otherwise the most recently published one is used. Versions are compared after stripping a leading \"v\" or \"v.\", because the FIP wizard writes the profile version and the declaration versions in different formats (e.g. \"0.0.2\" vs \"v0.1.1\") and does not keep their numbering in step; without this fallback such an rFIP lists no FSRs at all. Rows are grouped by FSR." } 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 FSRs declared in a FIP" } } } 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 ?fsr (coalesce(min(?fsr_label_x), replace(str(?fsr), \"^.*[/#]\", \"\")) as ?fsr_label)\n (group_concat(distinct str(?type); separator=\" \") as ?types_multi_iri) (group_concat(distinct ?type_label; separator=\"\\n\") as ?types_label_multi)\n (group_concat(distinct ?qcode; separator=\", \") as ?questions)\n (group_concat(distinct str(?principle); separator=\" \") as ?principles_multi_iri) (group_concat(distinct ?principle_label; separator=\"\\n\") as ?principles_label_multi)\n (group_concat(distinct ?use; separator=\", \") as ?use)\n (min(?dnp) as ?np) (\"^\" as ?np_label)\nwhere {\n graph npa:graph {\n ?fipnp npx:introduces ?_fip_iri ; np:hasAssertion ?fa ; npa:hasValidSignatureForPublicKey ?fpk .\n filter not exists { ?fx npx:invalidates ?fipnp ; npa:hasValidSignatureForPublicKey ?fpk . }\n }\n graph ?fa { ?_fip_iri fip:declared-by ?community . optional { ?_fip_iri schema:version| ?version . } }\n {\n graph ?fa { ?_fip_iri fip:has-declaration-index ?index . }\n graph npa:networkGraph { ?index npx:includesElement ?dnp . }\n } union {\n graph ?fa { filter not exists { ?_fip_iri fip:has-declaration-index ?ix . } }\n {\n select ?community (?dvC as ?chosenRawVersion) where {\n graph npa:graph { ?fnpB npx:introduces ?_fip_iri ; np:hasAssertion ?faB . }\n graph ?faB {\n ?_fip_iri fip:declared-by ?community .\n optional { ?_fip_iri schema:version| ?vB . }\n }\n bind(replace(str(coalesce(?vB, \"\")), \"^[vV][.]?\", \"\") as ?nverB)\n graph ?daC { ?declC fip:declared-by ?community ; schema:version| ?dvC . }\n graph npa:graph { ?dnpC np:hasAssertion ?daC ; npx:hasNanopubType fip:FIP-Declaration ; dct:created ?dtC . }\n bind(if(replace(str(?dvC), \"^[vV][.]?\", \"\") = ?nverB, 0, 1) as ?pref)\n } order by ?pref desc(?dtC) limit 1\n }\n graph ?da0 { ?decl0 fip:declared-by ?community ; schema:version| ?chosenRawVersion . }\n graph npa:graph { ?dnp np:hasAssertion ?da0 . }\n }\n graph npa:graph { ?dnp np:hasAssertion ?da . }\n graph ?da {\n ?decl a fip:FIP-Declaration ; fip:refers-to-question ?question .\n { ?decl fip:declares-current-use-of ?fsr . bind(\"current use\" as ?use) }\n union { ?decl fip:declares-planned-use-of ?fsr . bind(\"planned use\" as ?use) }\n union { ?decl fip:declares-planned-replacement-of ?fsr . bind(\"planned replacement\" as ?use) }\n union { ?decl fip:declares-replacement-from ?fsr . bind(\"replacement from\" as ?use) }\n union { ?decl fip:declares-replacement-to ?fsr . bind(\"replacement to\" as ?use) }\n }\n graph npa:graph {\n ?dnp npx:hasNanopubType fip:FIP-Declaration ; npa:hasValidSignatureForPublicKey ?dpk .\n filter not exists { ?dx npx:invalidates ?dnp ; npa:hasValidSignatureForPublicKey ?dpk . }\n }\n bind(replace(str(?question), \"^.*FIP-Question-\", \"\") as ?qcode)\n optional { graph npa:graph { ?qnp2 npx:introduces ?question ; np:hasAssertion ?qa2 . } graph ?qa2 { ?question fip:refers-to-principle ?principle . } }\n bind(replace(str(?principle), \"^.*/\", \"\") as ?principle_label)\n optional {\n values ?p { npx:introduces npx:describes }\n graph npa:graph {\n ?fsrnp ?p ?fsr ; rdfs:label ?fsr_label_x ; npx:hasNanopubType ?sft ; npa:hasValidSignatureForPublicKey ?spk .\n values ?sft { fip:FAIR-Enabling-Resource fip:FAIR-Supporting-Resource }\n filter not exists { ?sx npx:invalidates ?fsrnp ; npa:hasValidSignatureForPublicKey ?spk . }\n }\n optional {\n graph npa:graph { ?fsrnp npx:hasNanopubType ?type . }\n filter(strstarts(str(?type), \"https://w3id.org/fair/fip/terms/\"))\n filter(?type not in (fip:FAIR-Enabling-Resource, fip:FAIR-Supporting-Resource, fip:Available-FAIR-Enabling-Resource, fip:Available-FAIR-Supporting-Resource, fip:FAIR-Enabling-Resource-to-be-Developed, fip:FAIR-Supporting-Resource-to-be-Developed))\n bind(replace(replace(str(?type), \"^.*/\", \"\"), \"-\", \" \") as ?type_label)\n }\n }\n} group by ?fsr order by ?fsr_label\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-09-16T09:49:14Z" 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: "RAbp8IbiFUvYo7VCWJFRqX3mkKk-n-VXIgHFIlktDrPRI" } } 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 FSRs declared in a FIP" } } } 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: "RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw" } } rows { quad { o_iri { } } } 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: "KlfApBOhxv08sOk5w86nE4UpBEiVM5t80mQ4pMDqyvYluPs7PLmNlOzjVdE2j43/IOqP9DWy8IGV0IWhI9m5LVfTXLEhGDiAtfM4FogqiW3W3SQDKU9zadY2tfszlT7B8sSEfj09HTWg5hwS+CrsN2ko1qBjx+Rn/x1Ug6o52Y4kFTUYqgyMgXt9AyEm6kTPjZY3euI/yJysPQqtphtFMoSuVHF4BghggYjnyE0hyLgzeTvFMRXYAtm5DaVFUIyGRgP3AITkCww9XxkNLZI2+Vf1SjlMujUTE1Ss27VnAC3i4UnELDxZhoV1t6FOAmzsbGr4Cs7EyA3U5Nqz8Knmyw==" } } } 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: 43 } o_iri { prefix_id: 16 name_id: 26 } } }