sub:assertion {
dct:title rdfs:label "has title" .
rdf:type rdfs:label "is a" .
<
https://schema.org/description>
rdfs:label "has description" .
<
https://schema.org/runtimePlatform>
rdfs:label "can be run via runtime platform" .
<
https://schema.org/softwareRequirements>
rdfs:label "has software requirements" .
<
https://schema.org/text>
rdfs:label "has content" .
sub:assertion dct:description "Template for creating nanopublications with executable content blocks like code cells, mathematical equations, markdown, HTML, etc. with their runtime environment and dependencies for computational reproducibility." ;
a nt:AssertionTemplate ;
rdfs:label "Executable Content Block Template" ;
nt:hasNanopubLabelPattern "Executable Content: ${content-type} - ${block-title}" ;
nt:hasStatement sub:st01 ,
sub:st02 ,
sub:st03 ,
sub:st04 ,
sub:st05 ,
sub:st06 ;
nt:hasTag "computational" .
sub:block-description a nt:LongLiteralPlaceholder ;
rdfs:label "Content block description (optional)" .
sub:block-title a nt:LiteralPlaceholder ;
rdfs:label "Content block title" .
sub:code-content a nt:LongLiteralPlaceholder ;
rdfs:label "Enter your executable content here" .
sub:content-block a nt:LocalResource ;
rdfs:label "Executable content block" .
sub:content-type a nt:RestrictedChoicePlaceholder ;
rdfs:label "Content type" .
sub:dependency a nt:LiteralPlaceholder ;
rdfs:label "Software dependency (e.g., pandas==1.5.0, ggplot2>=3.4.0)" .
sub:runtime-platform a nt:UriPlaceholder ;
rdfs:label "Runtime platform (executable link, container image, or environment description)" .
sub:st01 rdf:object sub:content-type ;
rdf:predicate rdf:type ;
rdf:subject sub:content-block .
sub:st02 rdf:object sub:code-content ;
rdf:predicate <
https://schema.org/text> ;
rdf:subject sub:content-block .
sub:st03 rdf:object sub:runtime-platform ;
rdf:predicate <
https://schema.org/runtimePlatform> ;
rdf:subject sub:content-block .
sub:st04 rdf:object sub:dependency ;
rdf:predicate <
https://schema.org/softwareRequirements> ;
rdf:subject sub:content-block ;
a nt:OptionalStatement ,
nt:RepeatableStatement .
sub:st05 rdf:object sub:block-title ;
rdf:predicate dct:title ;
rdf:subject sub:content-block ;
a nt:OptionalStatement .
sub:st06 rdf:object sub:block-description ;
rdf:predicate <
https://schema.org/description> ;
rdf:subject sub:content-block ;
a nt:OptionalStatement .
}