@prefix this: . @prefix sub: . @prefix np: . @prefix grlc: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . @prefix foaf: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:get-fsr-types a grlc:grlc-query; dct:description "Counts the 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). Type labels come from the published class definitions. Example nanopublications and invalidated nanopublications are excluded."; dct:license ; rdfs:label "Get FSR types"; grlc:endpoint ; grlc:sparql """prefix rdf: prefix rdfs: prefix np: prefix npa: prefix npx: prefix xsd: prefix dct: prefix owl: prefix foaf: prefix prov: prefix skos: prefix schema: prefix gen: prefix fip: prefix tpff: prefix search: select ?type ?type_label (count(distinct ?np) as ?count) where { { select distinct ?type (min(?tl) as ?type_label) where { ?type rdfs:subClassOf+ fip:FAIR-Supporting-Resource . filter(strstarts(str(?type), \"https://w3id.org/fair/fip/terms/\")) 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)) graph npa:graph { ?tnp npx:introduces ?type ; np:hasAssertion ?ta . } graph ?ta { ?type rdfs:label ?tl . } } group by ?type } graph npa:graph { ?np npx:hasNanopubType ?type ; npx:hasNanopubType ?fsr_type ; npa:hasValidSignatureForPublicKey ?pk ; dct:created ?date . values ?fsr_type { fip:FAIR-Enabling-Resource fip:FAIR-Supporting-Resource } filter(str(?date) > \"2022\") filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . } filter not exists { ?x npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pk . } } } group by ?type ?type_label order by desc(?count) """ . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" . this: dct:created "2026-09-11T09:23:01Z"^^xsd:dateTime; dct:creator ; dct:license ; npx:embeds sub:get-fsr-types; rdfs:label "Get FSR types"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzZAkv4Mu1YSUxQMriBnhYunqosX5wpuQ3FjUyzW8wTC51wjCmhsChyhS+mCx7Od+2MTDpdhxDWA+pH1r9AX508X2rIY/sbpMS+pd56e0qKPQ0t4folln1TgamPN9iOlY/yLc2x27AdipWIGXUdtL2iAcb+P/Y5dQS2AkHMS3lP2e5JBL5/bD/10qvTLKvdsqIKts8qjuLpxr9CFbsS2gLjMkXL5D2IsJ0cL5sgmIfS1inLVxIfXrS/OgqYNFqeNznUYCVWfo0g7DKjnjiICz3omeQeJFLYwlJ6PhUhYDQS6O318DGwUCwhnuXbBbwL9evZa2I/0Pwu5xpZdNLYJ5UwIDAQAB"; npx:hasSignature "rZwcGEKKwkB05qpDFZRdQ0xqn30uDT9mZcYSlQQ0mU462/W8V6KmJ0o+AFZTJId5RLqDSFD8FhDNrzJ2nNaSG9+nMYsXuJibg0RZrnyxN+NpgTqK6RBNl/VcibCp9TNHwyZrx2TvgfoNa7BJqCiwHbuePoWmJymW/hxTWgzv9gemyTAcH13CNQP/z1SfiCJV1WbRB2E85TiJa4V7QTbuboFc97+crajmpFmGYrc5Pl8Kkvskt7HOVRBpijLjkC0AbsZDTho6Re7s7T+INc+8K1WRajQ2D0UBXiHkq9xnYT74Ju90lFK9d+gn/dbVsACYf59h0HkhBLkvyRfbCUYQRQ=="; npx:hasSignatureTarget this:; npx:signedBy . }