@prefix this: <http://purl.org/np/RAr2tFRzWYsYNdtfZBkT9b47gbLWiHM_Sd_uenlqcYKt8> .
@prefix sub: <http://purl.org/np/RAr2tFRzWYsYNdtfZBkT9b47gbLWiHM_Sd_uenlqcYKt8#> .
@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#> .
sub:Head {
  this: np:hasAssertion sub:assertion ;
    np:hasProvenance sub:provenance ;
    np:hasPublicationInfo sub:pubinfo ;
    a np:Nanopublication .
}
sub:assertion {
  npx:declaredBy rdfs:label "is declared by" .
  npx:hasAlgorithm rdfs:label "has algorithm" .
  npx:hasKeyLocation rdfs:label "has key location" .
  npx:hasPublicKey rdfs:label "has public key" .
  sub:assertion a nt:AssertionTemplate ;
    rdfs:label "Introducing a user" ;
    nt:hasStatement sub:st1 , sub:st2 , sub:st3 ;
    nt:hasTag "Meta" .
  sub:key-declaration a nt:LocalResource , nt:UriPlaceholder ;
    rdfs:label "short id of key declaration" .
  sub:key-declaration-ref a nt:RestrictedChoicePlaceholder ;
    nt:possibleValue sub:key-declaration .
  sub:key-location a nt:UriPlaceholder ;
    rdfs:label "URL where the private key is stored" .
  sub:name a nt:LiteralPlaceholder ;
    rdfs:label "name of the user" .
  sub:public-key a nt:LongLiteralPlaceholder ;
    rdfs:label "public key" .
  sub:st1 rdf:object sub:name ;
    rdf:predicate <http://xmlns.com/foaf/0.1/name> ;
    rdf:subject sub:user .
  sub:st2 a nt:GroupedStatement , nt:RepeatableStatement ;
    nt:hasStatement sub:st2a , sub:st2b , sub:st2c .
  sub:st2a rdf:object sub:user ;
    rdf:predicate npx:declaredBy ;
    rdf:subject sub:key-declaration .
  sub:st2b rdf:object "RSA" ;
    rdf:predicate npx:hasAlgorithm ;
    rdf:subject sub:key-declaration .
  sub:st2c rdf:object sub:public-key ;
    rdf:predicate npx:hasPublicKey ;
    rdf:subject sub:key-declaration .
  sub:st3 rdf:object sub:key-location ;
    rdf:predicate npx:hasKeyLocation ;
    rdf:subject sub:key-declaration-ref ;
    a nt:OptionalStatement , nt:RepeatableStatement .
  sub:user a nt:UriPlaceholder ;
    rdfs:label "ORCID identifier of the user to be introduced" ;
    nt:hasPrefix "https://orcid.org/" ;
    nt:hasPrefixLabel "user with ORCID" ;
    nt:hasRegex "[0-9]{4}-[0-9]{4}-[0-9]{4}-[0-9]{3}[0-9X]" .
  <http://xmlns.com/foaf/0.1/name> rdfs:label "has the name" .
}
sub:provenance {
  sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 .
}
sub:pubinfo {
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" ;
    npx:hasSignature "XYN/Kbw4d+DWr9bsk9UKZyb+OK3zI7lishFaMR2bnN8uCJnSKIQxNHmEqqcIxbQh8K81ZbeLgFQHuuAXnnbi0oCgofCCkOsPOY4TVuGVuBq8KYcDlfm038UwfhRiCE169QHd49CWuHxi6cpvlIWWuSKswGCW/03wkijuLoSBhEg=" ;
    npx:hasSignatureTarget this: .
  this: dct:created "2022-07-25T12:56:27.966+02:00"^^xsd:dateTime ;
    dct:creator orcid:0000-0002-1267-0234 ;
    npx:supersedes <http://purl.org/np/RAe-UmP1S8IqX_S31_Zc8Etvzsbm49Z9Yr5j3OoQUIAPM> ;
    nt:wasCreatedFromProvenanceTemplate <http://purl.org/np/RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM> ;
    nt:wasCreatedFromPubinfoTemplate <http://purl.org/np/RAA2MfqdBCzmz9yVWjKLXNbyfBNcwsMmOqcNUxkk1maIM> , <http://purl.org/np/RAjpBMlw3owYhJUBo3DtsuDlXsNAJ8cnGeWAutDVjuAuI> ;
    nt:wasCreatedFromTemplate <http://purl.org/np/RARMBqX_-9lnhkaqk4BuxfLcC6H5cqTlzdtDzeDIwuKdU> .
}