sub:assertion {
dct:format rdfs:label "needs or produces data format" .
dct:title rdfs:label "has title" .
rdf:type rdfs:label "is a" .
<
http://www.wikidata.org/entity/Q189248>
rdfs:label "GNU Bash" .
<
http://www.wikidata.org/entity/Q2005>
rdfs:label "JavaScript" .
<
http://www.wikidata.org/entity/Q206904>
rdfs:label "R" .
<
http://www.wikidata.org/entity/Q28865>
rdfs:label "Python" .
<
http://www.wikidata.org/entity/Q47607>
rdfs:label "SQL" .
<
http://www.wikidata.org/entity/Q5310>
rdfs:label "LaTeX" .
<
http://www.wikidata.org/entity/Q8811>
rdfs:label "HTML" .
<
https://schema.org/applicationCategory>
rdfs:label "serves computational function" .
<
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 ,
sub:st07 ,
sub:st08 ,
sub:st09 ;
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 (Markdown, Python, LaTeX, etc.)" ;
nt:possibleValue <
http://www.wikidata.org/entity/Q189248> , <
http://www.wikidata.org/entity/Q2005> , <
http://www.wikidata.org/entity/Q206904> , <
http://www.wikidata.org/entity/Q28865> , <
http://www.wikidata.org/entity/Q47607> , <
http://www.wikidata.org/entity/Q5310> , <
http://www.wikidata.org/entity/Q8811> , <
https://www.wikidata.org/wiki/Q1193600> , <
https://www.wikidata.org/wiki/Q2613697> .
sub:dependency a nt:LiteralPlaceholder ;
rdfs:label "Software dependency (e.g., pandas==1.5.0, ggplot2>=3.4.0)" .
sub:function-type a nt:GuidedChoicePlaceholder ;
rdfs:label "computational function (e.g., data loading, visualization, analysis)" ;
nt:possibleValuesFromApi "https://www.wikidata.org/w/api.php?action=wbsearchentities&language=en&format=json&limit=5&search=" .
sub:input-spec a nt:LiteralPlaceholder ;
rdfs:label "input data format (e.g., CSV file, pandas DataFrame)" ;
nt:hasPrefix "input:" ;
nt:hasPrefixLabel "Input:" .
sub:output-spec a nt:LiteralPlaceholder ;
rdfs:label "output data format (e.g., PNG image, JSON file)" ;
nt:hasPrefix "output:" ;
nt:hasPrefixLabel "Output:" .
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 .
sub:st07 rdf:object sub:function-type ;
rdf:predicate <
https://schema.org/applicationCategory> ;
rdf:subject sub:content-block ;
a nt:OptionalStatement .
sub:st08 rdf:object sub:input-spec ;
rdf:predicate dct:format ;
rdf:subject sub:content-block ;
a nt:OptionalStatement ,
nt:RepeatableStatement .
sub:st09 rdf:object sub:output-spec ;
rdf:predicate dct:format ;
rdf:subject sub:content-block ;
a nt:OptionalStatement ,
nt:RepeatableStatement .
<
https://www.wikidata.org/wiki/Q1193600>
rdfs:label "Markdown" .
<
https://www.wikidata.org/wiki/Q2613697>
rdfs:label "Julia" .
}