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: "RACuMqS35XX_lDsdT2Z5B3NH6bFK6J05rdCVpU0Q_orsw" } } rows { namespace { name: "this" value { prefix_id: 1 } } } rows { prefix { value: "https://w3id.org/np/RACuMqS35XX_lDsdT2Z5B3NH6bFK6J05rdCVpU0Q_orsw/" } } 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: "http://purl.org/dc/terms/" } } rows { namespace { name: "dct" value { prefix_id: 4 name_id: 2 } } } rows { prefix { value: "https://w3id.org/np/o/ntemplate/" } } rows { namespace { name: "nt" value { prefix_id: 5 name_id: 2 } } } rows { prefix { value: "http://purl.org/nanopub/x/" } } rows { namespace { name: "npx" value { prefix_id: 6 name_id: 2 } } } rows { prefix { value: "http://www.w3.org/2001/XMLSchema#" } } rows { namespace { name: "xsd" value { prefix_id: 7 name_id: 2 } } } rows { prefix { value: "http://www.w3.org/2000/01/rdf-schema#" } } rows { namespace { name: "rdfs" value { prefix_id: 8 name_id: 2 } } } rows { prefix { value: "https://orcid.org/" } } rows { namespace { name: "orcid" value { prefix_id: 9 name_id: 2 } } } rows { prefix { value: "http://www.w3.org/ns/prov#" } } rows { namespace { name: "prov" value { prefix_id: 10 name_id: 2 } } } rows { prefix { value: "http://xmlns.com/foaf/0.1/" } } rows { namespace { name: "foaf" value { prefix_id: 11 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: 12 } o_iri { prefix_id: 3 } } } rows { name { value: "get-popular-fsrs-for-domain-and-question" } } rows { name { value: "description" } } rows { quad { s_iri { prefix_id: 2 } p_iri { prefix_id: 4 } o_literal { lex: "This query returns the most popular FAIR Supporting Resources (FSRs) for a given research domain, based on the current FIP declarations of the FAIR Implementation Communities in that domain (including its subdomains). It allows a search for specific FIP Questions (e.g. F1-D, I3-MD). For each FSR it shows the declaring communities (by the short name of their identifier), the FIP questions it was declared under, the matched (sub)domains, and the number of distinct declaring communities. This query is based on the query used for the \'Most used FSRs\' resource view shown on domain part pages of the fair connect space." } 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: 4 name_id: 14 } o_iri { prefix_id: 13 } } } rows { prefix { value: "https://w3id.org/kpxl/grlc/" } } rows { name { value: "grlc-query" } } rows { quad { p_iri { prefix_id: 12 name_id: 10 } o_iri { prefix_id: 14 name_id: 16 } } } rows { name { value: "label" } } rows { quad { p_iri { prefix_id: 8 } o_literal { lex: "Get popular FSRs for domain and FIP-Question" } } } 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: 14 } o_iri { prefix_id: 15 } } } rows { name { value: "sparql" } } rows { quad { p_iri { prefix_id: 14 } o_literal { lex: "prefix rdfs: \r\nprefix np: \r\nprefix npa: \r\nprefix npx: \r\nprefix dct: \r\nprefix fip: \r\n\r\nselect ?fsr (min(?fsr_label_x) as ?fsr_label)\r\n (group_concat(distinct str(?community); separator=\" \") as ?communities_multi_iri)\r\n (group_concat(distinct replace(str(?community), \"^.*[#/]\", \"\"); separator=\"\\n\") as ?communities_label_multi)\r\n (group_concat(distinct ?qcode; separator=\", \") as ?questions)\r\n (group_concat(distinct str(?subdomain); separator=\" \") as ?subdomains_multi_iri)\r\n (group_concat(distinct replace(str(?subdomain), \"^.*[#/]\", \"\"); separator=\"\\n\") as ?subdomains_label_multi)\r\n (count(distinct ?community) as ?count)\r\n (min(?fsrnp_x) as ?np) (min(\"^\") as ?np_label)\r\nwhere {\r\n # --- INJECT GENERALIZED PARAMETER HERE ---\r\n # The templating engine will replace ?_question_codes with a string literal here.\r\n VALUES ?question_codes { ?_question_codes }\r\n\r\n { select distinct ?community ?subdomain where {\r\n \r\n # --- INJECT GENERALIZED PARAMETER HERE ---\r\n # The templating engine will replace ?_domain_iri with an IRI here.\r\n VALUES ?domain_filter { ?_domain_iri }\r\n\r\n graph npa:graph {\r\n ?cnp npa:hasValidSignatureForPublicKey ?cpubkey ;\r\n npx:hasNanopubType fip:FAIR-Implementation-Community ;\r\n np:hasAssertion ?ca .\r\n ?cnp npx:introduces|npx:describes ?community .\r\n filter not exists { ?cnp npx:hasNanopubType npx:ExampleNanopub . }\r\n filter not exists { ?cnpx npx:invalidates ?cnp ; npa:hasValidSignatureForPublicKey ?cpubkey . }\r\n }\r\n graph ?ca {\r\n ?community a fip:FAIR-Implementation-Community ;\r\n fip:has-research-domain ?subdomain .\r\n }\r\n graph {\r\n ?subdomain rdfs:subClassOf* ?domain_filter .\r\n }\r\n } }\r\n \r\n graph ?fa {\r\n ?fip fip:declared-by ?community ;\r\n fip:has-declaration-index ?index .\r\n }\r\n graph npa:graph {\r\n ?fipnp np:hasAssertion ?fa ;\r\n npx:hasNanopubType fip:FAIR-Implementation-Profile ;\r\n npa:hasValidSignatureForPublicKey ?fippubkey .\r\n filter not exists { ?fipnp npx:hasNanopubType npx:ExampleNanopub . }\r\n filter not exists { ?fipnpx npx:invalidates ?fipnp ; npa:hasValidSignatureForPublicKey ?fippubkey . }\r\n ?index npa:hasValidSignatureForPublicKey ?ipubkey .\r\n filter not exists { ?indexx npx:invalidates ?index ; npa:hasValidSignatureForPublicKey ?ipubkey . }\r\n }\r\n graph npa:networkGraph {\r\n ?index npx:includesElement ?dnp .\r\n }\r\n graph npa:graph {\r\n ?dnp npx:hasNanopubType fip:FIP-Declaration ;\r\n np:hasAssertion ?da .\r\n }\r\n graph ?da {\r\n ?decl fip:declared-by ?community ;\r\n fip:refers-to-question ?question ;\r\n (fip:declares-current-use-of|fip:declares-planned-use-of) ?fsr .\r\n }\r\n \r\n bind(replace(str(?question), \"^.*-([^-MD]+(-[MD]+)?)$\", \"$1\") as ?qcode)\r\n \r\n # --- SAFE FILTER ---\r\n # Because ?question_codes is always a SPARQL variable, bound() will never fail.\r\n filter(!bound(?question_codes) || ?question_codes = \"\" || contains(?question_codes, ?qcode))\r\n \r\n optional {\r\n graph npa:graph {\r\n ?fsrnp_x npx:introduces|npx:describes ?fsr ;\r\n rdfs:label ?fsr_label_x ;\r\n npa:hasValidSignatureForPublicKey ?fpubkey .\r\n filter not exists { ?fsrnp_x npx:hasNanopubType npx:ExampleNanopub . }\r\n filter not exists { ?fsrnpx npx:invalidates ?fsrnp_x ; npa:hasValidSignatureForPublicKey ?fpubkey . }\r\n }\r\n }\r\n filter( bound(?fsrnp_x) || not exists { graph npa:graph { ?onp npx:introduces|npx:describes ?fsr . } } )\r\n}\r\ngroup by ?fsr\r\norder by desc(?count)" } } } 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: 10 name_id: 21 } o_iri { prefix_id: 9 } g_iri { prefix_id: 2 name_id: 7 } } } rows { name { value: "0000-0002-0319-6542" } } rows { name { value: "name" } } rows { quad { s_iri { prefix_id: 9 name_id: 23 } p_iri { prefix_id: 11 } o_literal { lex: "Dario Bijker" } g_iri { prefix_id: 2 name_id: 9 } } } rows { quad { s_iri { prefix_id: 9 name_id: 22 } o_literal { lex: "Tobias Kuhn" } } } 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: 4 name_id: 25 } o_literal { lex: "2026-08-20T13:31:06.552Z" datatype: 1 } } } rows { name { value: "creator" } } rows { quad { p_iri { } o_iri { prefix_id: 9 name_id: 23 } } } rows { quad { o_iri { name_id: 22 } } } rows { prefix { value: "https://creativecommons.org/licenses/by/4.0/" } } rows { quad { p_iri { prefix_id: 4 name_id: 14 } o_iri { prefix_id: 16 name_id: 2 } } } rows { name { value: "embeds" } } rows { quad { p_iri { prefix_id: 6 name_id: 27 } o_iri { prefix_id: 2 name_id: 12 } } } rows { name { value: "supersedes" } } rows { name { value: "RAJuVRbqaSK-Bbwpi-3RcKWvBJBggKSywpvUNVMM9ZwfA" } } rows { quad { p_iri { prefix_id: 6 name_id: 28 } o_iri { prefix_id: 1 } } } rows { name { value: "wasCreatedAt" } } rows { prefix { id: 5 value: "https://nanodash.knowledgepixels.com/" } } rows { quad { p_iri { prefix_id: 6 } o_iri { prefix_id: 5 name_id: 2 } } } rows { name { value: "wasDerivedFrom" } } rows { name { value: "RA-DEv4tdQj_FxVDNuoxPEelSDupUVXk8G2r9HrY-qq8o" } } rows { quad { p_iri { prefix_id: 10 name_id: 31 } o_iri { prefix_id: 1 } } } rows { prefix { id: 7 value: "https://w3id.org/np/o/ntemplate/" } } rows { name { value: "wasCreatedFromProvenanceTemplate" } } rows { name { value: "RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU" } } rows { quad { p_iri { prefix_id: 7 } o_iri { prefix_id: 1 } } } rows { name { value: "wasCreatedFromPubinfoTemplate" } } rows { name { value: "RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" } } rows { quad { p_iri { prefix_id: 7 } o_iri { prefix_id: 1 } } } rows { name { value: "RAMEgudZsQ1bh1fZhfYnkthqH6YSXpghSE_DEN1I-6eAI" } } rows { quad { o_iri { } } } rows { name { value: "RARW4MsFkHuwjycNElvEVtuMjpf4yWDL10-0C5l2MqqRQ" } } rows { quad { o_iri { } } } 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: 7 } o_iri { prefix_id: 1 } } } rows { name { value: "sig" } } rows { name { value: "hasAlgorithm" } } rows { quad { s_iri { prefix_id: 2 } p_iri { prefix_id: 6 } o_literal { lex: "RSA" } } } rows { name { value: "hasPublicKey" } } rows { quad { p_iri { } o_literal { lex: "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCfUo0FLu1y2EeueL40lqkVdm9fTJa6WhF6MhyjhKAagbuaWe1wwyk453ot8KAQ3aHtL3B8Ze/aLf+wHrBhS0nz4wS6urc8ksIzlLCoa9KIfa0JuQunBLFptV0U9fTR8kDlPoB+klNrUfzeCXmkdgnnUiiwBoN+j1eN87XMSHKI3wIDAQAB" } } } rows { name { value: "hasSignature" } } rows { quad { p_iri { } o_literal { lex: "TaklKiArQv4iuyn1GoS/7a1swYGEmz5qzq6q5OrLeknBv43LWUl31e8WXO1PbeNe11Po7tz1v6XnBDnNsbSgIbYRMmuPUYr9RJkzXSoEjOyHMx1uaxcRozEH6ubM7M69i+m6UmDVZRgZbmMM0iD/6EkFzd28ropKjt0MebOdH6s=" } } } 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: 6 name_id: 48 } o_iri { prefix_id: 9 name_id: 23 } } }