@prefix this: <https://w3id.org/np/RAcxXXpyy1ePZJVQhFoBaa55tSbGzjfqjrFmLBIsn8OPQ> .
@prefix sub: <https://w3id.org/np/RAcxXXpyy1ePZJVQhFoBaa55tSbGzjfqjrFmLBIsn8OPQ#> .
@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 ns1: <http://purl.org/np/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
sub:Head {
  this: np:hasAssertion sub:assertion ;
    np:hasProvenance sub:provenance ;
    np:hasPublicationInfo sub:pubinfo ;
    a np:Nanopublication .
}
sub:assertion {
  dct:creator rdfs:label "is written by - connects an agent (left) to a thing the agent created (right)" .
  rdfs:comment rdfs:label "has the text - states a comment (right) about a thing (left)" .
  sub:Keyword a nt:LiteralPlaceholder ;
    rdfs:label "Relevant keyword for this assertion" ;
    nt:hasRegex "[\\s\\S]{0,20}" .
  sub:assertion dct:description "Such a nanopublication includes a text that refers to an existing resource, which could be a paper, another document, or any URL, such as stating an agreement or a correction. The reference to the existing paper is based on the <a href=\"https://sparontologies.github.io/cito/current/cito.html\" target=\"_blank\">Citation Typing Ontology (CiTO)</a>., bibo and CSm ontology." ;
    a nt:AssertionTemplate ;
    rdfs:label "Semantic social posting with CSm v0" ;
    nt:hasNanopubLabelPattern "${relation} ${paper}" ;
    nt:hasStatement sub:st1 , sub:st2 , sub:st3 , sub:st4 , sub:st5 ;
    nt:hasTag "Comments" ;
    nt:hasTargetNanopubType <http://purl.org/spar/cito/cites> .
  sub:doi a nt:ValuePlaceholder ;
    rdfs:label "DOI if resource is an article" ;
    nt:hasRegex "[\\s\\S]{0,20}" .
  sub:relation a nt:RestrictedChoicePlaceholder ;
    rdfs:label "choose relation" ;
    nt:possibleValuesFrom ns1:RAJb-zZdFrNzgwxmMzFstFeKTZAJImhMGNL-IzEJY4kx8 .
  sub:resource a nt:UriPlaceholder ;
    rdfs:label "URL of resource" .
  sub:st1 rdf:object nt:CREATOR ;
    rdf:predicate dct:creator ;
    rdf:subject nt:ASSERTION .
  sub:st2 rdf:object sub:resource ;
    rdf:predicate sub:relation ;
    rdf:subject nt:ASSERTION ;
    a nt:RepeatableStatement .
  sub:st3 rdf:object sub:text ;
    rdf:predicate rdfs:comment ;
    rdf:subject nt:ASSERTION .
  sub:st4 rdf:object sub:Keyword ;
    rdf:predicate <http://purl.org/spar/cso/prop/hasKeyword> ;
    rdf:subject nt:ASSERTION ;
    a nt:OptionalStatement , nt:RepeatableStatement .
  sub:st5 rdf:object sub:doi ;
    rdf:predicate <http://purl.org/ontology/bibo/doi> ;
    rdf:subject sub:resource ;
    a nt:OptionalStatement , nt:RepeatableStatement .
  sub:text a nt:LongLiteralPlaceholder ;
    rdfs:label "your text (max. 500 characters)" ;
    nt:hasRegex "[\\s\\S]{0,500}" .
}
sub:provenance {
  sub:assertion prov:wasAttributedTo orcid:0009-0006-8801-650X .
}
sub:pubinfo {
  orcid:0009-0006-8801-650X foaf:name "Shahar Oriel Kagan" .
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCDBbAQ2ftjOcRyg81w+qvXIOHx0RzUyDw7rY1TLH1wOj5UOWH/dSmImH/t89C/V/OuUC5Z5YfTFa8lbicL3RgYA3+pqiKpowAarwnDhyn/TismWjbaau7jwGrg70CFyA6EC3BtmV7CqRyNrJl08iD0BzoPVpOl8BYVzqogDDyJjwIDAQAB" ;
    npx:hasSignature "E7Pa2iwGa8BDep2ij1Fkm1VDdXL7ZiK7RmIbR2470Gx//FK/7LQI2Lkdm/coM14QnQj5CT1CTAtodcbqnGe9/lPsm9m6Z3KTifQT7vD2VU4+Ox4Qh4LI0BqRqg7n6W2ybwGbTpT3ZvkSZso6FQtlmM4S1sin1MubbOhAh/x24YU=" ;
    npx:hasSignatureTarget this: ;
    npx:signedBy orcid:0009-0006-8801-650X .
  this: dct:created "2024-02-12T19:04:27.956Z"^^xsd:dateTime ;
    dct:creator orcid:0000-0002-1267-0234 , orcid:0009-0006-8801-650X ;
    dct:license <https://creativecommons.org/licenses/by/4.0/> ;
    npx:supersedes <https://w3id.org/np/RAVq6NXDR9bJJQRYkC8UUarc93LK2SfzAx2syxjOTLVzg> ;
    npx:wasCreatedAt <https://nanodash.petapico.org/> ;
    rdfs:label "Template: Semantic social posting with CSm v0" ;
    prov:wasDerivedFrom ns1:RAVEpTdLrX5XrhNl_gnvTaBcjRRSDu_hhZix8gu2HO7jI ;
    nt:wasCreatedFromProvenanceTemplate ns1:RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM ;
    nt:wasCreatedFromPubinfoTemplate ns1:RA2vCBXZf-icEcVRGhulJXugTGxpsV5yVr9yqCI1bQh4A , ns1:RAA2MfqdBCzmz9yVWjKLXNbyfBNcwsMmOqcNUxkk1maIM , ns1:RABngHbKpoJ3U9Nebc8mX_KUdv_vXw28EejqAyQya5zVA , ns1:RAh1gm83JiG5M6kDxXhaYT1l49nCzyrckMvTzcPn-iv90 , ns1:RAjpBMlw3owYhJUBo3DtsuDlXsNAJ8cnGeWAutDVjuAuI ;
    nt:wasCreatedFromTemplate ns1:RAJwu5sVubRqXY4t2gkSoGxWkMyZqnpkGTCPiTlmvi4so .
}