sub:assertion {
<
http://edamontology.org/format_2333>
rdfs:label "Binary format" .
<
http://edamontology.org/format_3464>
rdfs:label "JSON" .
<
http://edamontology.org/format_3508>
rdfs:label "PDF" .
<
http://edamontology.org/format_3590>
rdfs:label "HDF5" .
<
http://edamontology.org/format_3603>
rdfs:label "PNG" .
<
http://edamontology.org/format_3650>
rdfs:label "NetCDF" .
<
http://edamontology.org/format_3752>
rdfs:label "CSV" .
<
http://edamontology.org/format_3915>
rdfs:label "Zarr" .
<
http://edamontology.org/format_3997>
rdfs:label "MPEG-4" .
dct:creator rdfs:label "created by" .
dct:description rdfs:label "has description" .
dct:license rdfs:label "has license" .
dct:title rdfs:label "has title" .
<
http://www.wikidata.org/entity/Q15777>
rdfs:label "C" .
<
http://www.wikidata.org/entity/Q206904>
rdfs:label "R" .
<
http://www.wikidata.org/entity/Q2407>
rdfs:label "C++" .
<
http://www.wikidata.org/entity/Q28865>
rdfs:label "Python" .
<
https://codemeta.github.io/terms/hasInputFormat>
rdfs:label "expects input format" .
<
https://codemeta.github.io/terms/hasOutputFormat>
rdfs:label "produces output format" .
<
https://creativecommons.org/licenses/by/4.0/>
rdfs:label "CC-BY-4.0" .
<
https://schema.org/applicationCategory>
rdfs:label "serves purpose" .
<
https://schema.org/codeRepository>
rdfs:label "has source repository" .
<
https://schema.org/keywords>
rdfs:label "has keywords" .
<
https://schema.org/programmingLanguage>
rdfs:label "uses programming language" .
<
https://schema.org/url>
rdfs:label "is accessible via" .
<
https://spdx.org/licenses/Apache-2.0.html>
rdfs:label "Apache 2.0" .
<
https://spdx.org/licenses/BSD-3-Clause.html>
rdfs:label "BSD 3 Clause" .
<
https://spdx.org/licenses/GPL-3.0.html>
rdfs:label "GPL 3.0" .
<
https://spdx.org/licenses/MIT.html>
rdfs:label "MIT" .
sub:application-category a nt:GuidedChoicePlaceholder ;
rdfs:label "primary computational purpose" ;
nt:possibleValuesFromApi "https://www.wikidata.org/w/api.php?action=wbsearchentities&language=en&format=json&limit=5&search=" .
sub:assertion dct:description "Template for describing a Jupyter Notebook as a reusable computational method with semantic metadata for discovery and reuse tracking" ;
a nt:AssertionTemplate ;
rdfs:label "Jupyter Notebook Computational Method" ;
nt:hasNanopubLabelPattern "Method: ${title}" ;
nt:hasStatement sub:st01 ,
sub:st02 ,
sub:st03 ,
sub:st04 ,
sub:st05 ,
sub:st06 ,
sub:st07 ,
sub:st08 ,
sub:st09 ,
sub:st10 ,
sub:st11 ,
sub:st12 ,
sub:st13 ;
nt:hasTag "Jupyter Method" ;
nt:hasTargetNanopubType <
https://schema.org/SoftwareSourceCode> .
sub:creator a nt:UriPlaceholder ;
rdfs:label "ORCID of creator" ;
nt:hasPrefix "https://orcid.org/" ;
nt:hasPrefixLabel "ORCID (just the 16-digit ID)" ;
nt:hasRegex "0000-\\d{4}-\\d{4}-\\d{4}" .
sub:description a nt:LongLiteralPlaceholder ;
rdfs:label "description of what the method does" ;
nt:hasRegex "[\\s\\S]{10,1000}" .
sub:executable-url a nt:UriPlaceholder ;
rdfs:label "direct link to execute this notebook online (e.g. binder)" .
sub:github-repo a nt:UriPlaceholder ;
rdfs:label "GitHub repository URL" .
sub:input-format a nt:RestrictedChoicePlaceholder ;
rdfs:label "expected input data format" ;
nt:possibleValue <
http://edamontology.org/format_2333> , <
http://edamontology.org/format_3464> , <
http://edamontology.org/format_3590> , <
http://edamontology.org/format_3591> , <
http://edamontology.org/format_3620> , <
http://edamontology.org/format_3650> , <
http://edamontology.org/format_3752> , <
http://edamontology.org/format_3915> , <
http://edamontology.org/format_3997> .
sub:keywords a nt:GuidedChoicePlaceholder ;
rdfs:label "research keywords from Wikidata" ;
nt:possibleValuesFromApi "https://www.wikidata.org/w/api.php?action=wbsearchentities&language=en&format=json&limit=5&search=" .
sub:license a nt:RestrictedChoicePlaceholder ;
rdfs:label "software license" ;
nt:possibleValue <
https://creativecommons.org/licenses/by/4.0/> , <
https://spdx.org/licenses/Apache-2.0.html> , <
https://spdx.org/licenses/BSD-3-Clause.html> , <
https://spdx.org/licenses/GPL-3.0.html> , <
https://spdx.org/licenses/MIT.html> .
sub:notebook a nt:UriPlaceholder ;
rdfs:label "URI of the Jupyter Notebook method" .
sub:output-format a nt:RestrictedChoicePlaceholder ;
rdfs:label "produced output format" ;
nt:possibleValue <
http://edamontology.org/format_2333> , <
http://edamontology.org/format_3464> , <
http://edamontology.org/format_3508> , <
http://edamontology.org/format_3590> , <
http://edamontology.org/format_3603> , <
http://edamontology.org/format_3650> , <
http://edamontology.org/format_3752> , <
http://edamontology.org/format_3915> , <
http://edamontology.org/format_3997> .
sub:programming-language a nt:RestrictedChoicePlaceholder ;
rdfs:label "primary programming language" ;
nt:possibleValue <
http://www.wikidata.org/entity/Q15777> , <
http://www.wikidata.org/entity/Q206904> , <
http://www.wikidata.org/entity/Q2407> , <
http://www.wikidata.org/entity/Q28865> .
sub:st01 rdf:object <
https://schema.org/SoftwareSourceCode> ;
rdf:predicate rdf:type ;
rdf:subject sub:notebook .
sub:st02 rdf:object sub:title ;
rdf:predicate dct:title ;
rdf:subject sub:notebook .
sub:st03 rdf:object sub:description ;
rdf:predicate dct:description ;
rdf:subject sub:notebook .
sub:st04 rdf:object sub:zenodo-doi ;
rdf:predicate <
https://schema.org/url> ;
rdf:subject sub:notebook .
sub:st05 rdf:object sub:github-repo ;
rdf:predicate <
https://schema.org/codeRepository> ;
rdf:subject sub:notebook ;
a nt:RepeatableStatement .
sub:st06 rdf:object sub:creator ;
rdf:predicate dct:creator ;
rdf:subject sub:notebook ;
a nt:RepeatableStatement .
sub:st07 rdf:object sub:programming-language ;
rdf:predicate <
https://schema.org/programmingLanguage> ;
rdf:subject sub:notebook .
sub:st08 rdf:object sub:application-category ;
rdf:predicate <
https://schema.org/applicationCategory> ;
rdf:subject sub:notebook .
sub:st09 rdf:object sub:keywords ;
rdf:predicate <
https://schema.org/keywords> ;
rdf:subject sub:notebook ;
a nt:OptionalStatement ,
nt:RepeatableStatement .
sub:st10 rdf:object sub:input-format ;
rdf:predicate <
https://codemeta.github.io/terms/hasInputFormat> ;
rdf:subject sub:notebook ;
a nt:OptionalStatement ,
nt:RepeatableStatement .
sub:st11 rdf:object sub:output-format ;
rdf:predicate <
https://codemeta.github.io/terms/hasOutputFormat> ;
rdf:subject sub:notebook ;
a nt:OptionalStatement ,
nt:RepeatableStatement .
sub:st12 rdf:object sub:license ;
rdf:predicate dct:license ;
rdf:subject sub:notebook .
sub:st13 rdf:object sub:executable-url ;
rdf:predicate <
https://schema.org/actionPlatform> ;
rdf:subject sub:notebook ;
a nt:OptionalStatement ,
nt:RepeatableStatement .
sub:title a nt:LiteralPlaceholder ;
rdfs:label "title of the computational method" ;
nt:hasRegex "[\\s\\S]{5,200}" .
sub:zenodo-doi a nt:UriPlaceholder ;
rdfs:label "Zenodo DOI URL" ;
nt:hasPrefix "https://doi.org/" ;
nt:hasPrefixLabel "DOI (starting with '10.')" ;
nt:hasRegex "10.(\\d)+/(\\S)+" .
}