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)" .
<
https://schema.org/keywords>
rdfs:label "has a keyword" .
sub:Keyword a nt:LiteralPlaceholder ;
rdfs:label "has keywords - Relevant keyword for this post" ;
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>., schema.org and CoSMO - Common sensemaking ontology." ;
a nt:AssertionTemplate ,
nt:UnlistedTemplate ;
rdfs:label "Semantic social posting with CSm test" ;
nt:hasDefaultProvenance <
https://w3id.org/np/RAT5O7Rys5GREnyIE-02sAbdquSPG0tN_o7i8YA1iAm2U> ;
nt:hasNanopubLabelPattern "${relation} ${resource}" ;
nt:hasStatement sub:st1 ,
sub:st2 ,
sub:st3 ,
sub:st4 ;
nt:hasTag "Comments" ;
nt:hasTargetNanopubType npx:ExampleNanopub , <
https://sense-nets.xyz/SemanticPost> .
sub:relation a nt:RestrictedChoicePlaceholder ;
rdfs:label "choose relation" ;
nt:possibleValuesFrom <
https://w3id.org/np/RAEy7cQ-6u-8befHl3ZJ5VqoR7s3szbSeoPFOW_x2ok8Y> .
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 <
https://schema.org/keywords> ;
rdf:subject nt:ASSERTION ;
a nt:OptionalStatement ,
nt:RepeatableStatement .
sub:text a nt:LongLiteralPlaceholder ;
rdfs:label "your text (max. 500 characters)" ;
nt:hasRegex "[\\s\\S]{0,500}" .
}