@prefix this: . @prefix sub: . @prefix gen: . @prefix np: . @prefix dct: . @prefix rdf: . @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 { 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 ; 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 ; npx:embeds sub:templateVersion; npx:introduces sub:template; rdfs:label "Setting the quota of a Nanopub Registry account"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . 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 . }