@prefix this: . @prefix sub: . @prefix np: . @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:fip-communities a ; dct:description "This query returns all communities that have at least one FAIR Implementation Profile (FIP)."; dct:license ; rdfs:label "Get FIP communities"; ; """prefix rdfs: prefix np: prefix npa: prefix npx: prefix xsd: prefix dct: prefix fip: prefix search: select ?community ?community_label (count(distinct ?fipnp) as ?fip_count) where { graph npa:graph { ?np npa:hasValidSignatureForPublicKey ?pubkey ; dct:created ?date ; npx:hasNanopubType fip:FAIR-Implementation-Community ; np:hasAssertion ?a . ?np npx:introduces|npx:describes ?community . ?np dct:created ?date . filter(str(?date) > \"2022\") filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . } filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . } } graph ?a { ?community a fip:FAIR-Implementation-Community ; rdfs:label ?community_label . } service { # (https://w3id.org/fair/fip/terms/FAIR-Implementation-Profile) select ?fipnp ?fip ?fiplabel ?community { graph npa:graph { ?fipnp np:hasAssertion ?fa . optional { ?fipnp rdfs:label ?fiplabel . } ?fipnp npx:introduces|npx:describes ?fip . ?fipnp npa:hasValidSignatureForPublicKey ?fpubkey . ?fipnp npx:hasNanopubType fip:FAIR-Implementation-Profile . filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . } filter not exists { ?fipnpx npx:invalidates ?fipnp ; npa:hasValidSignatureForPublicKey ?fpubkey . } } graph ?fa { ?fip fip:declared-by ?community . } } } } group by ?community ?community_label order by desc(?fip_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-01-15T09:10:53.141Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:fip-communities; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB"; npx:hasSignature "9CV5jNKUpb5HgoL9UstQxbj8LreRvdGjMyHbdJjUR4EoWxQTT5FAbicbNeifus0cQohZCKV5aIYn6TOe6pHW9t2PK+zPkbYFuDsLoI7+ruYuxaByT3sRjchvitrIeTPDUZHkjSMv5xprdi9WLgS0mfSJ8vmE5897OhjF/nVfKWY="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }