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}" .
}