Nanopublication

< Home

ID

https://w3id.org/np/RAfDGuybNhcIxbTDKL3YS3jyUQvGjj5CL8QWhbYq0-gWY

Formats

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

Content

@prefix this: <https://w3id.org/np/RAfDGuybNhcIxbTDKL3YS3jyUQvGjj5CL8QWhbYq0-gWY> .
@prefix sub: <https://w3id.org/np/RAfDGuybNhcIxbTDKL3YS3jyUQvGjj5CL8QWhbYq0-gWY/> .
@prefix gen: <https://w3id.org/kpxl/gen/terms/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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 {
  npx:QuotaGrant rdfs:label "quota grant for a Nanopub Registry account" .
  
  npx:forAgent rdfs:label "is for the account of the agent" .
  
  npx:hasPublicKeyHash rdfs:label "with the public key that has the hash" .
  
  npx:hasQuota rdfs:label "sets the quota (number of nanopublications) to" .
  
  rdf:type rdfs:label "is a" .
  
  sub:agent a nt:AgentPlaceholder, nt:ExternalUriPlaceholder;
    rdfs:label "the agent whose account gets the quota (ORCID or other agent IRI)" .
  
  sub:grant a nt:EmbeddedResource, nt:LocalResource;
    rdfs:label "this quota grant" .
  
  sub:pubkeyhash a nt:LiteralPlaceholder;
    rdfs:label "hash of that agent's public key: 64 lowercase hex characters, as shown on the registry";
    nt:hasRegex "[0-9a-f]{64}" .
  
  sub:quota a nt:LiteralPlaceholder;
    rdfs:label "the quota, e.g. 20000 (0 shuts the account off)";
    nt:hasDatatype xsd:integer;
    nt:hasRegex "0|[1-9][0-9]{0,8}" .
  
  sub:st01 rdf:object npx:QuotaGrant;
    rdf:predicate rdf:type;
    rdf:subject sub:grant .
  
  sub:st02 rdf:object sub:agent;
    rdf:predicate npx:forAgent;
    rdf:subject sub:grant .
  
  sub:st03 rdf:object sub:pubkeyhash;
    rdf:predicate npx:hasPublicKeyHash;
    rdf:subject sub:grant .
  
  sub:st04 rdf:object sub:quota;
    rdf:predicate npx:hasQuota;
    rdf:subject sub:grant .
  
  sub:templateVersion a nt:AssertionTemplate, nt:UnlistedTemplate;
    dct:description "Sets the publishing quota of one account, that is one public key of one agent, on the Nanopub Registries that list the signer of this nanopublication as a quota authority (REGISTRY_QUOTA_AUTHORITIES). Signed with any other key it has no effect. A quota grant sets a quota and approves nothing: it applies once the trust network approves that agent with that key, and overrides the quota computed from the trust ratio. To change a quota, publish an update of this nanopublication, so that it supersedes the earlier one; to withdraw it, retract it.";
    dct:isVersionOf sub:template;
    rdfs:label "Setting the quota of a Nanopub Registry account";
    gen:governedBy <https://w3id.org/spaces/knowledgepixels>;
    nt:hasNanopubLabelPattern "Quota grant: ${quota} for ${agent}";
    nt:hasStatement sub:st01, sub:st02, sub:st03, sub:st04;
    nt:hasTargetNanopubType npx:QuotaGrant .
}

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-24T16:00:29.121+01:00"^^xsd:dateTime;
    dct:creator orcid:0000-0002-1267-0234;
    dct:license <https://creativecommons.org/licenses/by/4.0/>;
    npx:embeds sub:templateVersion;
    npx:introduces sub:template;
    rdfs:label "Setting the quota of a Nanopub Registry account";
    nt:wasCreatedFromProvenanceTemplate <https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU>;
    nt:wasCreatedFromPubinfoTemplate <https://w3id.org/np/RA-N4_kFxcruvBTlo1yJv29E4SLOXsx5KO_th69PprMrA>,
      <https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8>;
    nt:wasCreatedFromTemplate <https://w3id.org/np/RAgeON_vGgJCt5E4DPMi0eOPaGwNv9tbfFTRZtBwdQL0w/templateVersion> .
  
  sub:sig npx:hasAlgorithm "RSA";
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB";
    npx:hasSignature "DXT4KB4xgNeXB1Ur9sYPs7iLqUPUiIP4jgLQXDJQjGtPloxYRg4m4fOz3TPx/F4CemHgMGA3cvFS0lqawEXL9MKu5IQzICthNRjs5WUWG158dPU0PS8h3OUFpzLPMxPNLDNY95xzIkyVxTbQM/W7yYKshfMD0ybH6HcegORlHyg=";
    npx:hasSignatureTarget this:;
    npx:signedBy orcid:0000-0002-1267-0234 .
}