Nanopublication

< Home

ID

https://w3id.org/np/RAjJhJQ9mirqPg4UX6egiSsUtJxBTAEY5Wfz6JJCedfcw

Formats

.trig | .trig.txt | .jelly | .jelly.txt | .jsonld | .jsonld.txt | .nq | .nq.txt | .xml | .xml.txt

Content

@prefix this: <https://w3id.org/np/RAjJhJQ9mirqPg4UX6egiSsUtJxBTAEY5Wfz6JJCedfcw> .
@prefix sub: <https://w3id.org/np/RAjJhJQ9mirqPg4UX6egiSsUtJxBTAEY5Wfz6JJCedfcw/> .
@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: a np:Nanopublication;
    np:hasAssertion sub:assertion;
    np:hasProvenance sub:provenance;
    np:hasPublicationInfo sub:pubinfo .
}

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 a nt:GuidedChoicePlaceholder;
    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 a nt:AssertionTemplate;
    dct:description "Template for describing a Jupyter Notebook as a reusable computational method with semantic metadata for discovery and reuse tracking";
    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 a nt:UriPlaceholder;
    rdfs:label "ORCID of creator";
    nt:hasPrefix "https://orcid.org/";
    nt:hasPrefixLabel "ORCID";
    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:github-repo a nt:UriPlaceholder;
    rdfs:label "GitHub repository URL" .
  
  sub:input-format a nt:GuidedChoicePlaceholder;
    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 a nt:GuidedChoicePlaceholder;
    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 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:GuidedChoicePlaceholder;
    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 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 a nt:RepeatableStatement;
    rdf:object sub:github-repo;
    rdf:predicate <https://schema.org/codeRepository>;
    rdf:subject sub:notebook .
  
  sub:st06 a nt:RepeatableStatement;
    rdf:object sub:creator;
    rdf:predicate dct:creator;
    rdf:subject sub:notebook .
  
  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 a nt:OptionalStatement, nt:RepeatableStatement;
    rdf:object sub:keywords;
    rdf:predicate <https://schema.org/keywords>;
    rdf:subject sub:notebook .
  
  sub:st10 a nt:OptionalStatement, nt:RepeatableStatement;
    rdf:object sub:input-format;
    rdf:predicate <https://codemeta.github.io/terms/hasInputFormat>;
    rdf:subject sub:notebook .
  
  sub:st11 a nt:OptionalStatement, nt:RepeatableStatement;
    rdf:object sub:output-format;
    rdf:predicate <https://codemeta.github.io/terms/hasOutputFormat>;
    rdf:subject sub:notebook .
  
  sub:st12 rdf:object sub:license;
    rdf:predicate dct:license;
    rdf:subject sub:notebook .
  
  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";
    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-13T17:14:32.780Z"^^xsd:dateTime;
    dct:creator orcid:0000-0002-1784-2920;
    dct:license <https://creativecommons.org/licenses/by/4.0/>;
    npx:supersedes <https://w3id.org/np/RAMfC4hYZyHjdb3buXxrPJlMiCNmZuasNiUaCGhhzUWP8>;
    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/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw>, <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 "0olRSWS5xVdYIm5YsAgo9JNG/2EybJB2j6Q0bZIAI+ATMB8HBCUEsdthh5IgOLN160AmmeiAuXH563/r3qCl/GlyrZywvhoX9nUSpkJKOr8c6bkBjy4ZK5tIgM2m5WChkiWmTEqjUT/7wdQolb6D1Fcb/Y+tD4tyjQXWJP/7p7I=";
    npx:hasSignatureTarget this:;
    npx:signedBy orcid:0000-0002-1784-2920 .
}