@prefix this: <https://w3id.org/np/RAMfC4hYZyHjdb3buXxrPJlMiCNmZuasNiUaCGhhzUWP8> .
@prefix sub: <https://w3id.org/np/RAMfC4hYZyHjdb3buXxrPJlMiCNmZuasNiUaCGhhzUWP8/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix nt: <https://w3id.org/np/o/ntemplate/> .
@prefix npx: <http://purl.org/nanopub/x/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix orcid: <https://orcid.org/> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
sub:Head {
  this: np:hasAssertion sub:assertion ;
    np:hasProvenance sub:provenance ;
    np:hasPublicationInfo sub:pubinfo ;
    a np:Nanopublication .
}
sub:assertion {
  dct:creator rdfs:label "created by" .
  dct:description rdfs:label "has description" .
  dct:license rdfs:label "has license" .
  dct:title rdfs:label "has title" .
  <https://codemeta.github.io/terms/hasInputFormat> rdfs:label "expects input format" .
  <https://codemeta.github.io/terms/hasOutputFormat> rdfs:label "produces output format" .
  <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" .
  sub:application-category rdfs:label "primary computational purpose" ;
    nt:possibleValue <http://www.wikidata.org/entity/Q11660> , <http://www.wikidata.org/entity/Q12483> , <http://www.wikidata.org/entity/Q128570> , <http://www.wikidata.org/entity/Q2539> , <http://www.wikidata.org/entity/Q30642> , <http://www.wikidata.org/entity/Q4027615> ;
    nt:possibleValuesFromApi "https://www.wikidata.org/w/api.php?action=wbsearchentities&search={query}&language=en&format=json" .
  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 ;
    nt:hasTag "Jupyter Method" ;
    nt:hasTargetNanopubType <https://schema.org/SoftwareSourceCode> .
  sub:creator rdfs:label "ORCID of creator" ;
    nt:hasPrefix "https://orcid.org/" ;
    nt:hasPrefixLabel "ORCID" ;
    nt:hasRegex "0000-\\d{4}-\\d{4}-\\d{4}" .
  sub:description rdfs:label "description of what the method does" ;
    nt:hasRegex "[\\s\\S]{10,1000}" .
  sub:github-repo rdfs:label "GitHub repository URL" .
  sub:input-format rdfs:label "expected input data format" ;
    nt:possibleValue <http://edamontology.org/format_2333> , <http://edamontology.org/format_3464> , <http://edamontology.org/format_3591> , <http://edamontology.org/format_3620> , <http://edamontology.org/format_3752> ;
    nt:possibleValuesFromApi "https://www.ebi.ac.uk/ols/api/search?q={query}&ontology=edam&type=class&fieldList=iri,label,description" .
  sub:keywords rdfs:label "research keywords from Wikidata" ;
    nt:possibleValuesFromApi "https://www.wikidata.org/w/api.php?action=wbsearchentities&search={query}&language=en&format=json" .
  sub:license 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 rdfs:label "URI of the Jupyter Notebook method" .
  sub:output-format 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_3603> , <http://edamontology.org/format_3752> ;
    nt:possibleValuesFromApi "https://www.ebi.ac.uk/ols/api/search?q={query}&ontology=edam&type=class&fieldList=iri,label,description" .
  sub:programming-language 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:title rdfs:label "title of the computational method" ;
    nt:hasRegex "[\\s\\S]{5,200}" .
  sub:zenodo-doi rdfs:label "Zenodo DOI URL" ;
    nt:hasPrefix "https://doi.org/" ;
    nt:hasPrefixLabel "DOI" ;
    nt:hasRegex "10.(\\d)+/(\\S)+" .
}
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-13T15:45:59.875Z"^^xsd:dateTime ;
    dct:creator orcid:0000-0002-1784-2920 ;
    dct:license <https://creativecommons.org/licenses/by/4.0/> ;
    npx:wasCreatedAt <https://nanodash.knowledgepixels.com/> ;
    rdfs:label "Template: Jupyter Notebook Computational Method" ;
    nt:wasCreatedFromProvenanceTemplate <https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU> ;
    nt:wasCreatedFromPubinfoTemplate <https://w3id.org/np/RA0J4vUn_dekg-U1kK3AOEt02p9mT2WO03uGxLDec1jLw> , <https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI> ;
    nt:wasCreatedFromTemplate <https://w3id.org/np/RA5reLVXOCPQFWr2UiCJb19ES7NwOpQRmudb17e2iB0c4> .
  sub:sig npx:hasAlgorithm "RSA" ;
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDWv2pJnmDsBOq8OlT1aSvYXSuWT34WOp4FYqEzdnn2F0kqzcFevBqWGZDxJWC0lqCrDEuNfp2QFyPe/+nES9dlHGYIhqPi68fwK6ZiNUotRFxXou+rjFznVvUxtCL8Ede79EBHwWN61QtwSIcU12bLoZsNPFlqQASQ93BJuKlihwIDAQAB" ;
    npx:hasSignature "MNgq7dQ/y6J0gj20MNR5LPw0vWeGMD1UO9ggnE/nBzhlgnKLjdSzuDL0BLkC0tkAkGFr7zZII4iXclahpPFPbpegf1GQnk5Wh1ExaB74k1kSB1HVpanpsI3o/NTuMToyStqHlWa2HW5C45D+pdnXHlEKIEl0tgoI8LNOBG+RhLI=" ;
    npx:hasSignatureTarget this: ;
    npx:signedBy orcid:0000-0002-1784-2920 .
}