@prefix this: . @prefix sub: . @prefix np: . @prefix dct: . @prefix rdf: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . @prefix foaf: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { dct:format rdfs:label "needs or produces data format" . dct:title rdfs:label "has title" . rdf:type rdfs:label "is a" . rdfs:label "GNU Bash" . rdfs:label "JavaScript" . rdfs:label "R" . rdfs:label "Python" . rdfs:label "SQL" . rdfs:label "LaTeX" . rdfs:label "HTML" . rdfs:label "serves computational function" . rdfs:label "has description" . rdfs:label "can be run via runtime platform" . rdfs:label "has software requirements" . rdfs:label "has content" . sub:assertion a nt:AssertionTemplate; 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."; 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 , , , , , , , , . 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 ; rdf:subject sub:content-block . sub:st03 rdf:object sub:runtime-platform; rdf:predicate ; rdf:subject sub:content-block . sub:st04 a nt:OptionalStatement, nt:RepeatableStatement; rdf:object sub:dependency; rdf:predicate ; rdf:subject sub:content-block . sub:st05 a nt:OptionalStatement; rdf:object sub:block-title; rdf:predicate dct:title; rdf:subject sub:content-block . sub:st06 a nt:OptionalStatement; rdf:object sub:block-description; rdf:predicate ; rdf:subject sub:content-block . sub:st07 a nt:OptionalStatement; rdf:object sub:function-type; rdf:predicate ; rdf:subject sub:content-block . sub:st08 a nt:OptionalStatement, nt:RepeatableStatement; rdf:object sub:input-spec; rdf:predicate dct:format; rdf:subject sub:content-block . sub:st09 a nt:OptionalStatement, nt:RepeatableStatement; rdf:object sub:output-spec; rdf:predicate dct:format; rdf:subject sub:content-block . rdfs:label "Markdown" . rdfs:label "Julia" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1784-2920 . } sub:pubinfo { orcid:0000-0002-1784-2920 foaf:name "Anne Fouilloux" . this: dct:created "2025-08-15T16:29:17.982Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1784-2920; dct:license ; npx:supersedes ; npx:wasCreatedAt ; rdfs:label "Template: Executable Content Block Template"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDWv2pJnmDsBOq8OlT1aSvYXSuWT34WOp4FYqEzdnn2F0kqzcFevBqWGZDxJWC0lqCrDEuNfp2QFyPe/+nES9dlHGYIhqPi68fwK6ZiNUotRFxXou+rjFznVvUxtCL8Ede79EBHwWN61QtwSIcU12bLoZsNPFlqQASQ93BJuKlihwIDAQAB"; npx:hasSignature "Ws2uPivHD4GiCaNp2WwHVTEuoEhl1CR2qfk/icqQV7FoW4CQnc8sxDIBymLhdRxVD76t9Uib14MaBsbCzfsdttZO6lVSnEcemvwt8K+YBivjgCAnd9qc/ooCJ+E7OrkQAT4D2OEu3Ngs1dwEWfiJ9KMlBltUFpbO24knSa7wkeU="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1784-2920 . }