[ { "@id": "https://w3id.org/np/RA9vmi3k3fL4Aff2TyOVOkL-mdJVVwXhaYnbUwMRIQA9Y/provenance", "@graph": [ { "@id": "https://w3id.org/np/RA9vmi3k3fL4Aff2TyOVOkL-mdJVVwXhaYnbUwMRIQA9Y/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RA9vmi3k3fL4Aff2TyOVOkL-mdJVVwXhaYnbUwMRIQA9Y/Head", "@graph": [ { "@id": "https://w3id.org/np/RA9vmi3k3fL4Aff2TyOVOkL-mdJVVwXhaYnbUwMRIQA9Y", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RA9vmi3k3fL4Aff2TyOVOkL-mdJVVwXhaYnbUwMRIQA9Y/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RA9vmi3k3fL4Aff2TyOVOkL-mdJVVwXhaYnbUwMRIQA9Y/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RA9vmi3k3fL4Aff2TyOVOkL-mdJVVwXhaYnbUwMRIQA9Y/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RA9vmi3k3fL4Aff2TyOVOkL-mdJVVwXhaYnbUwMRIQA9Y/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/RA9vmi3k3fL4Aff2TyOVOkL-mdJVVwXhaYnbUwMRIQA9Y", "http://purl.org/dc/terms/created": [ { "@value": "2026-11-23T15:22:31Z", "@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/RA9vmi3k3fL4Aff2TyOVOkL-mdJVVwXhaYnbUwMRIQA9Y/get-fsr-types" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAUtA0j7NAjITIryp1LZr5ZsivsXczD8MsnUpH0nh_Ads" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get FSR types as SVG" } ], "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/RA9vmi3k3fL4Aff2TyOVOkL-mdJVVwXhaYnbUwMRIQA9Y/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": "AhlQngNMXcrRvKUlK/W8n+9g+ptwmYHTHIbVjZ3VQyVx/RH4deAxlTA7qIpcybjukEXBvUFVxDuG54RQrvY+4Xzas1+1aaQGuX9sDrht6AK1ZpnPw7XLc91MBEjzrp8HL2Iar69iku2DsZh+mWnIldccpbH5kHbmoBf9QyVHWsRlm0ThzEiIeDYl6XYyw982kSgLz6OUoG2zxVHhQjKWde0mHr2GC3f9ufcJvZncNrtwI9gnQiWM5nnreJgQooVJs9MFg3Y0DGR9SJOY4n3rjjZtuvldbUAxP+bJR7auLmd4K25nImLgRpewMnmUPglhCZ7+k9BXJ/IJOcwLpLM81g==" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RA9vmi3k3fL4Aff2TyOVOkL-mdJVVwXhaYnbUwMRIQA9Y" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://w3id.org/np/RAlgF8um78nQxxJhJTNMZ3tpWJOntfTULJWMWr5Fmo4zU/fairimpl-bot" } ] } ] }, { "@id": "https://w3id.org/np/RA9vmi3k3fL4Aff2TyOVOkL-mdJVVwXhaYnbUwMRIQA9Y/assertion", "@graph": [ { "@id": "https://w3id.org/np/RA9vmi3k3fL4Aff2TyOVOkL-mdJVVwXhaYnbUwMRIQA9Y/get-fsr-types", "http://purl.org/dc/terms/description": [ { "@value": "Returns one row with an SVG column: a horizontal bar chart of the number of metadata nanopublications of FAIR Supporting Resources (FSRs, including FAIR-Enabling Resources) per FSR type. The types are read dynamically from the FIP Ontology: every class in the fip namespace that is a (transitive) subclass of FAIR-Supporting-Resource, excluding the structural classes (FER/FSR, Available-*, *-to-be-Developed) and a hard-coded list of types that were left out of the chart on request. Type labels come from the published class definitions. Example nanopublications, invalidated nanopublications and nanopublications a GO FAIR Foundation curator has disapproved of (npx:disapprovesOf, signed with a curator's key and not invalidated, as in the FERs-by-type registry table) are excluded. Bars are sorted by count, and each label links root-relatively to the part page of the FSR type (/part?id=...), where the resources of that type are shown. Bar positions are computed with rank subqueries, so the output is deterministic. This is the query behind the \"FSR types\" SVG view. 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." } ], "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 FSR types as SVG" } ], "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 ?svg where {\n # One bar per FSR type, ordered by count: rank is the number of types scoring at\n # least as high, which gives the row its y position.\n { select (group_concat(?bar; separator=\"\") as ?bars) (max(?rank) as ?k) where {\n { select ?type ?label ?n (max(?n2) as ?max) (count(*) as ?rank) where {\n { select distinct ?type (min(?label_x) as ?label) (count(distinct ?N_np) as ?n) where {\n { select distinct ?type (min(?tl) as ?label_x) where {\n ?type rdfs:subClassOf+ fip:FAIR-Supporting-Resource .\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 # Types left out of the chart on request:\n filter(?type not in (fip:Mature-Community, fip:Emerging-Community, fip:Generalist-Registry, fip:Domain-Specific-Registry, fip:FAIR-Supporting-Service, fip:FAIR-Implementation-Community, fip:FAIR-Supporting-Software, fip:Reference-FAIR-Implementation-Profile, fip:FAIR-Specification, fip:FAIR-Data-Stewardship-Event, fip:Web-API))\n graph npa:graph { ?tnpa npx:introduces ?type ; np:hasAssertion ?taa . }\n graph ?taa { ?type rdfs:label ?tl . }\n } group by ?type }\n graph npa:graph {\n ?N_np npx:hasNanopubType ?type ; npx:hasNanopubType ?fsrtypea ; npa:hasValidSignatureForPublicKey ?pka ; dct:created ?datea .\n values ?fsrtypea { fip:FAIR-Enabling-Resource fip:FAIR-Supporting-Resource }\n filter(str(?datea) > \"2022\")\n filter not exists { ?N_np npx:hasNanopubType npx:ExampleNanopub . }\n filter not exists { ?xa npx:invalidates ?N_np ; npa:hasValidSignatureForPublicKey ?pka . }\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 ?daa { ?disapprovera npx:disapprovesOf ?N_np . }\n graph npa:graph { ?dnpa np:hasAssertion ?daa ; npa:hasValidSignatureForPublicKeyHash ?dpka . filter not exists { ?dxa npx:invalidates ?dnpa ; npa:hasValidSignatureForPublicKeyHash ?dpka . } }\n filter(contains(?curator_pkhs, concat(\" \", ?dpka, \" \")))\n }\n } group by ?type }\n { select distinct ?type2 (min(?label2_x) as ?label2) (count(distinct ?n2_np) as ?n2) where {\n { select distinct ?type2 (min(?tl) as ?label2_x) where {\n ?type2 rdfs:subClassOf+ fip:FAIR-Supporting-Resource .\n filter(strstarts(str(?type2), \"https://w3id.org/fair/fip/terms/\"))\n filter(?type2 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 # Types left out of the chart on request:\n filter(?type2 not in (fip:Mature-Community, fip:Emerging-Community, fip:Generalist-Registry, fip:Domain-Specific-Registry, fip:FAIR-Supporting-Service, fip:FAIR-Implementation-Community, fip:FAIR-Supporting-Software, fip:Reference-FAIR-Implementation-Profile, fip:FAIR-Specification, fip:FAIR-Data-Stewardship-Event, fip:Web-API))\n graph npa:graph { ?tnpc npx:introduces ?type2 ; np:hasAssertion ?tac . }\n graph ?tac { ?type2 rdfs:label ?tl . }\n } group by ?type2 }\n graph npa:graph {\n ?n2_np npx:hasNanopubType ?type2 ; npx:hasNanopubType ?fsrtypec ; npa:hasValidSignatureForPublicKey ?pkc ; dct:created ?datec .\n values ?fsrtypec { fip:FAIR-Enabling-Resource fip:FAIR-Supporting-Resource }\n filter(str(?datec) > \"2022\")\n filter not exists { ?n2_np npx:hasNanopubType npx:ExampleNanopub . }\n filter not exists { ?xc npx:invalidates ?n2_np ; npa:hasValidSignatureForPublicKey ?pkc . }\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 ?dac { ?disapproverc npx:disapprovesOf ?n2_np . }\n graph npa:graph { ?dnpc np:hasAssertion ?dac ; npa:hasValidSignatureForPublicKeyHash ?dpkc . filter not exists { ?dxc npx:invalidates ?dnpc ; npa:hasValidSignatureForPublicKeyHash ?dpkc . } }\n filter(contains(?curator_pkhs, concat(\" \", ?dpkc, \" \")))\n }\n } group by ?type2 }\n filter(?n2 > ?n || (?n2 = ?n && str(?type2) <= str(?type)))\n } group by ?type ?label ?n }\n bind(34 + (?rank - 1) * 20 as ?y)\n bind(round(280 * ?n / ?max) as ?w)\n bind(replace(replace(replace(?label, \"&\", \"&\"), \"<\", \"<\"), \">\", \">\") as ?lbl)\n bind(concat(\n '', ?lbl, '',\n '',\n '', str(?n), ''\n ) as ?bar)\n } }\n bind(34 + ?k * 20 + 8 as ?height)\n bind(concat(\n '',\n 'FAIR Supporting Resources per type',\n ?bars,\n '') as ?svg)\n}\n" } ] } ] } ]