Nanopublication

< Home

ID

https://w3id.org/np/RAbUN__q83k-WBAey8ypfarU85QWj96kONaSCEhuBTAa4

Formats

.trig | .trig.txt | .jelly | .jelly.txt | .jsonld | .jsonld.txt | .nq | .nq.txt | .xml | .xml.txt

Content

@prefix this: <https://w3id.org/np/RAbUN__q83k-WBAey8ypfarU85QWj96kONaSCEhuBTAa4> .
@prefix sub: <https://w3id.org/np/RAbUN__q83k-WBAey8ypfarU85QWj96kONaSCEhuBTAa4/> .
@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-qualified-users a grlc:grlc-query;
    dct:description "Lists, one row per person, everyone who holds a 3PFF qualification of the GO FAIR Foundation (implementer, facilitator or trainer) together with the holders of the FAIR Implementation Space's Curator role, with a column for each, so the two lists can be compared in both directions: the qualification column names the 3PFF qualification types and the date of the latest one, the curator role column carries a check mark for role holders. A qualification counts only when it is issued by the GO FAIR Foundation (schema:issuedBy ROR 056j50v04), is not invalidated and is signed with the trust-approved key of a holder of the space's Curator role. Role holders and their keys are read live from the space state (nanopub-query repo/spaces). Names come from the people's introduction nanopublications. Based on Marvin Friedl's 'Get Implementers, Facilitators and Trainers' (https://w3id.org/np/RA2bxIg8vz95gwYZYOP36ED73mH3GIISZg8AOks9emuQw).";
    dct:license <http://www.apache.org/licenses/LICENSE-2.0>;
    rdfs:label "Get curators and 3PFF-qualified people";
    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#>

prefix dcat: <https://www.w3.org/ns/dcat#>
select ?user (min(?name) as ?user_label)
  (group_concat(distinct ?qtype_label; separator=\", \") as ?qualification)
  (max(?startdate) as ?qualified_on)
  (if(max(coalesce(?role, 0)) = 1, \"✓\", \"\") as ?curator_role)
  (min(?np) as ?np) (\"^\" as ?np_label)
where {
  {
    # 3PFF qualifications issued by the GO FAIR Foundation, signed with the trust-approved key of a Curator-role holder
    graph npa:graph {
      ?np npx:hasNanopubType tpff:3PFF-Qualification ; npa:hasValidSignatureForPublicKeyHash ?pk ; np:hasAssertion ?a .
      filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pk . }
    }
    graph ?a {
      ?np tpff:issued-to ?user ; npx:qualifies ?qtype ; <https://schema.org/issuedBy>|<http://schema.org/issuedBy> <https://ror.org/056j50v04> .
      optional { ?np <https://www.w3.org/ns/dcat#startDate>|<http://www.w3.org/ns/dcat#startDate> ?startdate . }
    }
    { 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 .
      }
    }
  } }
    filter(contains(?curator_pkhs, concat(\" \", ?pk, \" \")))
    bind(replace(str(?qtype), \"^.*/\", \"\") as ?qtype_label)
  } union {
    # the holders of the FAIR Implementation Space's Curator role
    { select distinct ?user 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 ?user .
        }
      }
    } }
    bind(1 as ?role)
  }
  optional {
    graph npa:graph { ?inp np:hasAssertion ?ia ; npa:hasValidSignatureForPublicKey ?ipk . filter not exists { ?ix npx:invalidates ?inp ; npa:hasValidSignatureForPublicKey ?ipk . } }
    graph ?ia { ?decl npx:declaredBy ?user . ?user foaf:name ?name . }
  }
} group by ?user order by ?user_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:23: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-qualified-users;
    rdfs:label "Get curators and 3PFF-qualified people";
    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 "ATrwGiKXUcKX6bRJ5Ui4hu3Ifhus5ZYRdB4XP+ZMmIE1UixkGPmuHPOLBSJguyvE6TjDcYBePHQRMYaKz1SN6AikxgUS3iq0sekUQtIKPucig6sBeEFY1OH8tfoyR9hLBECuE/KaUKOteAxL5x2hkWxn7/vKpfU4biofZgzN60vCyN5QYAi6b8z8iz5Faq82HrZqstakMRokBCC/akJa33+7MO5FaDJndZR/kI8H4OXgy7qIlRaHDHooPq7YmWKjJZ+9UCLNGErDY9WEY+QaxE/yjT/gqnyTO+twkaf9vllgXBoqQq+VVwnevgYNQlsFLkHpq3MYGI0rRvai4c147g==";
    npx:hasSignatureTarget this:;
    npx:signedBy <https://w3id.org/np/RAlgF8um78nQxxJhJTNMZ3tpWJOntfTULJWMWr5Fmo4zU/fairimpl-bot> .
}