@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix this: <http://purl.org/np/RAe-UmP1S8IqX_S31_Zc8Etvzsbm49Z9Yr5j3OoQUIAPM> .
@prefix sub: <http://purl.org/np/RAe-UmP1S8IqX_S31_Zc8Etvzsbm49Z9Yr5j3OoQUIAPM#> .
@prefix np: <http://www.nanopub.org/nschema#> .
@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:hasPublicKey rdfs:label "has public key" .
  sub:assertion a nt:AssertionTemplate ;
    rdfs:label "Introducing a user" ;
    nt:hasStatement sub:st1 , sub:st2 ;
    nt:hasTag "Meta" .
  sub:key-declaration a nt:LocalResource , nt:UriPlaceholder ;
    rdfs:label "short id of key declaration" .
  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 foaf: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: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]" .
  foaf: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 "VrnoxoFal9vWeTDHbX07BNY2o0UWmLUIQPqJTN/7ZtonsM6d4+QkseRdSIXiRmHRxJ2IDE7kNA+ilNeTDYEXHz4w60751wK3Djpej+kOcNQPfWPHVkDgnkdjLIH3uHDRXfwPPM7gHhCGCwYh/9rYW98bGUv+2dkJ589o+BOE8Wg=" ;
    npx:hasSignatureTarget this: .
  this: dcterms:created "2022-02-01T16:27:58.037+01:00"^^xsd:dateTime ;
    dcterms:creator orcid:0000-0002-1267-0234 ;
    nt:wasCreatedFromProvenanceTemplate <http://purl.org/np/RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM> ;
    nt:wasCreatedFromPubinfoTemplate <http://purl.org/np/RAA2MfqdBCzmz9yVWjKLXNbyfBNcwsMmOqcNUxkk1maIM> ;
    nt:wasCreatedFromTemplate <http://purl.org/np/RARMBqX_-9lnhkaqk4BuxfLcC6H5cqTlzdtDzeDIwuKdU> .
}