https://w3id.org/np/RANdmg7GStHuxpwp3PHj4rf-rxUdUR56s9d8ah5RJ-gqc
.trig | .trig.txt | .jelly | .jelly.txt | .jsonld | .jsonld.txt | .nq | .nq.txt | .xml | .xml.txt
@prefix this: <https://w3id.org/np/RANdmg7GStHuxpwp3PHj4rf-rxUdUR56s9d8ah5RJ-gqc> .
@prefix sub: <https://w3id.org/np/RANdmg7GStHuxpwp3PHj4rf-rxUdUR56s9d8ah5RJ-gqc/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix grlc: <https://w3id.org/kpxl/grlc/> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix nt: <https://w3id.org/np/o/ntemplate/> .
@prefix npx: <http://purl.org/nanopub/x/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix orcid: <https://orcid.org/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
sub:Head {
this: a np:Nanopublication;
np:hasAssertion sub:assertion;
np:hasProvenance sub:provenance;
np:hasPublicationInfo sub:pubinfo .
}
sub:assertion {
sub:get-community-recommended-fsrs a grlc:grlc-query;
dct:description "For a FAIR Implementation Community, lists the FAIR Supporting Resources (FSRs) it recommends (fip:recommended-by), with the FSR types and a checkmark when the latest metadata nanopublication of the FSR is curated by the GO FAIR Foundation. An FSR whose newest nanopublication a GO FAIR Foundation curator has disapproved of (npx:disapprovesOf, signed with a curator's key and not invalidated) is left out, as in the Recommended FSRs list of the space. 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.";
dct:license <http://www.apache.org/licenses/LICENSE-2.0>;
rdfs:label "Get the FSRs recommended by a community";
grlc:endpoint <https://w3id.org/np/l/nanopub-query-1.1/repo/full>;
grlc:sparql """prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>
prefix np: <http://www.nanopub.org/nschema#>
prefix npa: <http://purl.org/nanopub/admin/>
prefix npx: <http://purl.org/nanopub/x/>
prefix xsd: <http://www.w3.org/2001/XMLSchema#>
prefix dct: <http://purl.org/dc/terms/>
prefix owl: <http://www.w3.org/2002/07/owl#>
prefix foaf: <http://xmlns.com/foaf/0.1/>
prefix prov: <http://www.w3.org/ns/prov#>
prefix skos: <http://www.w3.org/2004/02/skos/core#>
prefix schema: <https://schema.org/>
prefix gen: <https://w3id.org/kpxl/gen/terms/>
prefix fip: <https://w3id.org/fair/fip/terms/>
prefix tpff: <https://w3id.org/fair/3pff/>
prefix search: <http://www.openrdf.org/contrib/lucenesail#>
select ?fsr (coalesce(min(?fsr_label_x), replace(str(?fsr), \"^.*[/#]\", \"\")) as ?fsr_label)
(group_concat(distinct str(?type); separator=\" \") as ?types_multi_iri) (group_concat(distinct ?type_label; separator=\"\\n\") as ?types_label_multi)
(max(?curated_x) as ?curated) (min(?rnp) as ?np) (\"^\" as ?np_label)
where {
{ select (concat(\" \", group_concat(distinct ?cur_pkh; separator=\" \"), \" \") as ?curator_pkhs) where {
service <https://w3id.org/np/l/nanopub-query-1.1/repo/spaces> {
graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?cur_g . }
graph ?cur_g {
?cur_ri a gen:RoleInstantiation ; npa:forSpace <https://w3id.org/spaces/FAIR-Implementation-Space> ;
gen:hasRole <https://w3id.org/np/RAxIxwWh0xiHc3W-h3JvGjz6pHLQrwKSffj-OsqdWWzEc/curatorRole> ; npa:forAgent ?cur_agent .
?cur_acct a npa:AccountState ; npa:agent ?cur_agent ; npa:pubkey ?cur_pkh .
}
}
} }
graph npa:graph { ?rnp npx:hasNanopubType fip:recommended-by ; np:hasAssertion ?ra ; npa:hasValidSignatureForPublicKey ?rpk . filter not exists { ?rx npx:invalidates ?rnp ; npa:hasValidSignatureForPublicKey ?rpk . } }
graph ?ra { ?fsr fip:recommended-by ?_community_iri . }
optional {
graph npa:graph {
?fsrnp npx:introduces|npx:describes ?fsr ; rdfs:label ?fsr_label_x ; npa:hasValidSignatureForPublicKey ?spk ; dct:created ?sdate .
?fsrnp npx:hasNanopubType ?sft . values ?sft { fip:FAIR-Enabling-Resource fip:FAIR-Supporting-Resource }
filter not exists { ?fsrnp npx:hasNanopubType npx:ExampleNanopub . }
filter not exists { ?sx npx:invalidates ?fsrnp ; npa:hasValidSignatureForPublicKey ?spk . }
}
}
optional {
graph npa:graph { ?fsrnp npx:hasNanopubType ?type . }
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))
bind(replace(replace(str(?type), \"^.*/\", \"\"), \"-\", \" \") as ?type_label)
}
optional {
graph ?qa { ?qualifier npx:qualifies ?fsrnp . }
values ?qualifier { <https://ror.org/056j50v04> <https://www.gofairfoundation.org> <https://www.gofairfoundation.org/> <https://gofairfoundation.org> }
graph npa:graph {
?qnp np:hasAssertion ?qa ; npa:hasValidSignatureForPublicKeyHash ?qpk .
filter not exists { ?qx npx:invalidates ?qnp ; npa:hasValidSignatureForPublicKeyHash ?qpk . }
}
filter(contains(?curator_pkhs, concat(\" \", ?qpk, \" \")))
}
# Left out when the newest nanopublication of the FSR is curator-disapproved, as in the space's Recommended FSRs.
filter not exists {
graph npa:graph { ?ndn npx:introduces|npx:describes ?fsr . }
graph ?dan { ?disapprovern npx:disapprovesOf ?ndn . }
graph npa:graph { ?dnpn np:hasAssertion ?dan ; npa:hasValidSignatureForPublicKeyHash ?dpkn . filter not exists { ?dxn npx:invalidates ?dnpn ; npa:hasValidSignatureForPublicKeyHash ?dpkn . } }
filter(contains(?curator_pkhs, concat(\" \", ?dpkn, \" \")))
graph npa:graph {
?ndn npx:hasNanopubType ?ndtn ; npa:hasValidSignatureForPublicKey ?ndpkn ; dct:created ?nddn .
filter(?ndtn in (fip:FAIR-Enabling-Resource, fip:FAIR-Supporting-Resource))
filter not exists { ?ndxn npx:invalidates ?ndn ; npa:hasValidSignatureForPublicKey ?ndpkn . }
filter not exists { ?ndn npx:hasNanopubType npx:ExampleNanopub . }
filter not exists {
?nnn npx:introduces|npx:describes ?fsr ; npx:hasNanopubType ?nntn ; npa:hasValidSignatureForPublicKey ?nnpkn ; dct:created ?nndn .
filter(?nntn in (fip:FAIR-Enabling-Resource, fip:FAIR-Supporting-Resource))
filter(?nndn > ?nddn)
filter not exists { ?nnxn npx:invalidates ?nnn ; npa:hasValidSignatureForPublicKey ?nnpkn . }
filter not exists { ?nnn npx:hasNanopubType npx:ExampleNanopub . }
}
}
}
bind(if(bound(?qnp), \"✓\", \"\") as ?curated_x)
} group by ?fsr order by ?fsr_label
""" .
}
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-11-23T15:18:19Z"^^xsd:dateTime;
dct:creator <https://w3id.org/np/RAlgF8um78nQxxJhJTNMZ3tpWJOntfTULJWMWr5Fmo4zU/fairimpl-bot>;
dct:license <https://creativecommons.org/licenses/by/4.0/>;
npx:embeds sub:get-community-recommended-fsrs;
npx:supersedes <https://w3id.org/np/RAqirVk89XeGjjLkX1NFT9Dk9Yvca7lrsdbMAVxXtgQv8>;
rdfs:label "Get the FSRs recommended by a community";
nt:wasCreatedFromProvenanceTemplate <https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU>;
nt:wasCreatedFromPubinfoTemplate <https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8>,
<https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI>;
nt:wasCreatedFromTemplate <https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k> .
sub:sig npx:hasAlgorithm "RSA";
npx:hasPublicKey "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzZAkv4Mu1YSUxQMriBnhYunqosX5wpuQ3FjUyzW8wTC51wjCmhsChyhS+mCx7Od+2MTDpdhxDWA+pH1r9AX508X2rIY/sbpMS+pd56e0qKPQ0t4folln1TgamPN9iOlY/yLc2x27AdipWIGXUdtL2iAcb+P/Y5dQS2AkHMS3lP2e5JBL5/bD/10qvTLKvdsqIKts8qjuLpxr9CFbsS2gLjMkXL5D2IsJ0cL5sgmIfS1inLVxIfXrS/OgqYNFqeNznUYCVWfo0g7DKjnjiICz3omeQeJFLYwlJ6PhUhYDQS6O318DGwUCwhnuXbBbwL9evZa2I/0Pwu5xpZdNLYJ5UwIDAQAB";
npx:hasSignature "hiaGL1dp9X2L7WWA80jXGOlT80e5bU1DleBIg19crDbIhMi1KojglsqHOV2bSeNH5+oFCKfSC9YcTdcEsTwL9xoZSNagAbiOpyg9Fj6Q1DTHk1M9zmQGjI5QIfMR5AZYJHJF9MoTI/fwZ4xfvIiWHC0SZLi9MSko3kZ5BKid10meu/kSsvsCPA1aKSpG4Bjj/GuM3JDwZ04jqOCh9YLxSqRNHwvCKIVWclop3fPWXar1LJ3iNyr8zv7s3QsoYnB+d8szY2TP9H0NLu4Mnge8+MXApS7+CUK+4DXV78XnetKkPXRplupWS/q+RMYVldSEYdLxh1pJ22MU1/Cg8AELrQ==";
npx:hasSignatureTarget this:;
npx:signedBy <https://w3id.org/np/RAlgF8um78nQxxJhJTNMZ3tpWJOntfTULJWMWr5Fmo4zU/fairimpl-bot> .
}