Nanopublication

< Home

ID

http://www.example.org/pub1.RAK6pHIwnaOro0NCDVsGl0kQry-hn3fblMoKESLISrh_Y

Formats

.trig | .trig.txt | .jelly | .jelly.txt

Content

@prefix dc: <http://purl.org/dc/elements/1.1/> .
@prefix this: <http://www.example.org/pub1.RAK6pHIwnaOro0NCDVsGl0kQry-hn3fblMoKESLISrh_Y> .
@prefix bpmn: <https://www.omg.org/spec/BPMN/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix p-plan: <http://purl.org/net/p-plan/> .
@prefix plex: <https://plex.org/> .
@prefix prov: <http://www.w3.org/ns/prov/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix npx: <http://purl.org/nanopub/x/> .

this:\#%23Head {
  this: a np:Nanopublication;
    np:hasAssertion this:\#%23assertion;
    np:hasProvenance this:\#%23provenance;
    np:hasPublicationInfo this:\#%23pubInfo .
}

this:\#%23assertion {
  plex:add a p-plan:Step, bpmn:scriptTask;
    dc:description """@FairStep(fw)
def add(int1, int2):
    \"\"\"
        Add two integers together (int1 and int2).
    \"\"\"
    result = int1 + int2
    return result
""";
    p-plan:hasInputVar plex:int1, plex:int2 .
  
  plex:int1 a p-plan:Variable .
  
  plex:int2 a p-plan:Variable .
}

this:\#%23provenance {
  this:\#%23assertion prov:generatedAtTime "2020-04-09T10:39:49.086793"^^xsd:date;
    prov:wasAttributedTo this:\#experimentScientist;
    prov:wasDerivedFrom this:\#experiment .
}

this:\#%23pubInfo {
  this:\#sig npx:hasAlgorithm "RSA";
    npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCoZmUKAHAF0CY2sKahOanR1V8wP62NOw3G0wcVLULWxqXB/gcW25bGPcA5RKoiuhT6dUbfcRXmwLknE29h6KWfKYLtNaqdrHbjSnNC65dNmNxCNp0i6ZLZRh51mxw9IPJHZrDqQ9bcLwm9d1G1fDKasA+h1vrF3Hv1YrQsF9aW1QIDAQAB";
    npx:hasSignature "du/eiXmtndHkWPtgAFCD0CWwvXlV4ldVB4kXJQvF8gYvNvkrgy7nOXJorShuMFY0PJ5uVOx7Wd8kRZkW5Y6K9Ogs+6kEeqXqWtQHZiNIhKeKsoOhNPqY3RJLx01BFkf73KXa5JJDXwQ6/rRNYQwST4MOXpY36wfCnHb33Y6gggI=";
    npx:hasSignatureTarget this: .
  
  this: prov:generatedAtTime "2020-04-09T10:39:49.086793"^^xsd:date;
    prov:wasAttributedTo this:\#DrBob .
}