Nanopublication

< Home

ID

http://purl.org/np/RAhyUIYOBm6ogLClSsBMucEMGZ3c-pulHf0inWAke8XgE

Formats

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

Content

@prefix bpmn: <http://dkm.fbk.eu/index.php/BPMN2_Ontology#> .
@prefix dc1: <http://purl.org/dc/terms/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix npx: <http://purl.org/nanopub/x/> .
@prefix orcid: <https://orcid.org/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix pplan: <http://purl.org/net/p-plan#> .
@prefix prov: <http://www.w3.org/ns/prov#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix schema: <https://schema.org/> .
@prefix sub: <http://purl.org/np/RAhyUIYOBm6ogLClSsBMucEMGZ3c-pulHf0inWAke8XgE#> .
@prefix this: <http://purl.org/np/RAhyUIYOBm6ogLClSsBMucEMGZ3c-pulHf0inWAke8XgE> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

sub:Head {
  this: a np:Nanopublication;
    np:hasAssertion sub:assertion;
    np:hasProvenance sub:provenance;
    np:hasPublicationInfo sub:pubinfo .
}

sub:assertion {
  sub:_LinguisticSystem a schema:ComputerLanguage;
    rdfs:label "python";
    rdfs:seeAlso <https://www.wikidata.org/wiki/Q28865>;
    owl:versionInfo "3.9.15.final.0" .
  
  sub:_a a pplan:Variable;
    rdfs:comment "int";
    rdfs:label "a" .
  
  sub:_b a pplan:Variable;
    rdfs:comment "int";
    rdfs:label "b" .
  
  sub:_out1 a pplan:Variable;
    rdfs:comment "int";
    rdfs:label "out1" .
  
  sub:_step a bpmn:ScriptTask, pplan:Step;
    dc1:description """    @is_fairstep(label='test_label')
    def add(a: int, b: int) -> int:
        \"\"\"
        Computational step adding two ints together.
        \"\"\"
        return a + b
""";
    dc1:language sub:_LinguisticSystem;
    pplan:hasInputVar sub:_a, sub:_b;
    pplan:hasOutputVar sub:_out1;
    rdfs:label "test_label" .
}

sub:provenance {
  sub:assertion prov:generatedAtTime "2022-12-15T15:23:35.937967"^^xsd:dateTime .
}

sub:pubinfo {
  sub:sig npx:hasAlgorithm "RSA";
    npx:hasPublicKey "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAlKZel+uM9w+JiWuhs0NHtaXdRrGkGAjvnnLFQL2nmgZDGIjX+is2YJBd6R2kBkr67lYiUDWdtih0F0yqUlAW5GdYUihk1MBiWyLe4RNt7I5iC/5wwK/i5vV6/YKa6Zwf4oymwChpdXddlKc6d73StgFqOafQPeNeBUHTZbkmUKFAqGXf0nAclB23DEeN5qVl6XRa1qqtL91AKW+UxTvlZR3pFNFn8xKTfbOSgmuAkYSUwJrp84rNI92qXYtOJ12oH0oT/enzcThxcfPLomGc9BMd+QBCj08LdrtuAArHzcivMKDzreDCD+haZ/GdObRWHpQ5O4bEWIx3dZVQq7t0KQIDAQAB";
    npx:hasSignature "G7SnQ6vTCJiUEauqeUdLvv+y4fKbYXf5izotftLx6OUza9HrxwkbPuzJMOQVm0vDc5fPB2LQgS9Wzju9YkQN/GaOD1xjVLHsbZtz69QMcrv8/flDJDreaBXt36gOkWnNgES29lBgDBxfcEDUwvaVRyKyLGrYLyiTXZHy00YYNcseWiEMFRjT7zsYPBJXDaYFsfgouKkqISEaysU7IJwCr/Ac39pt83QLaOOhbfb611IBmFkCIzcT9oYmcpr/jSd3Kl6JaEAqnZuvsiIFGA4k3I3AxUwxtRlIxC1LcJOCv7ovkyBPNElXqLySveg9jnbsrcJK5gG3H12Pp5j2HQO9bw==";
    npx:hasSignatureTarget this: .
  
  this: prov:wasAttributedTo orcid:0000-0000-0000-0000 .
}