Nanopublication

< Home

ID

https://w3id.org/np/RA_RoJGBBrc6tOqSjwRbA3m3h5ZsodCxxAU8zhr5ZJBhc

Formats

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

Content

@prefix this: <https://w3id.org/np/RA_RoJGBBrc6tOqSjwRbA3m3h5ZsodCxxAU8zhr5ZJBhc> .
@prefix sub: <https://w3id.org/np/RA_RoJGBBrc6tOqSjwRbA3m3h5ZsodCxxAU8zhr5ZJBhc/> .
@prefix schema: <http://schema.org/> .
@prefix gen: <https://w3id.org/kpxl/gen/terms/> .
@prefix np: <http://www.nanopub.org/nschema#> .
@prefix dct: <http://purl.org/dc/terms/> .
@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 prov: <http://www.w3.org/ns/prov#> .

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

sub:assertion {
  <https://w3id.org/np/RAVBATv4g3b9iEJ22fi_A1BGYDKr_pJzkT3D_4h9KI928/paragraph> a gen:Paragraph;
    schema:about nt:NanopubTemplate;
    schema:title "Dates and other typed values";
    gen:hasContent """<p><code>nt:hasDatatype</code> on a literal placeholder both constrains the value and changes the field. With <code>xsd:date</code> or <code>xsd:dateTime</code>, the form shows a date picker instead of a text field. For a point in time coarser than a day, the types <code>xsd:gYear</code>, <code>xsd:gYearMonth</code>, <code>xsd:gMonth</code>, <code>xsd:gMonthDay</code> and <code>xsd:gDay</code> are offered as parts to pick, such as a year alone.</p>
<p>A fixed datatype suits a field whose precision the template can decide. Where it is the author's to decide — one person knows only the year, another the hour — use <code>nt:DatePlaceholder</code> instead (Nanodash 5.20 and later). It offers year, month, day, time and timezone, and the published value is typed by what was entered: <code>\"2026\"^^xsd:gYear</code>, <code>\"2026-11\"^^xsd:gYearMonth</code>, <code>\"2026-11-16\"^^xsd:date</code>, or a full <code>xsd:dateTime</code>. On this placeholder, <code>nt:hasDatatype</code> lists the precisions accepted instead of fixing one.</p>
<p>The datatype is matched exactly. A placeholder with a datatype does not accept a plain, untyped value, so adding a datatype to a field of an existing template makes the older nanopublications, whose values are untyped, no longer fit it.</p>""";
    gen:hasPositionString "090" .
}

sub:provenance {
  sub:assertion prov:wasAttributedTo <https://w3id.org/np/RAFJKwxgChOLOQ2UduMAT1bYf1VNaWIZYIPmTT3YvJ8y0/docs-bot> .
}

sub:pubinfo {
  this: dct:created "2026-11-18T12:45:49.175+01:00"^^xsd:dateTime;
    dct:creator <https://w3id.org/np/RAFJKwxgChOLOQ2UduMAT1bYf1VNaWIZYIPmTT3YvJ8y0/docs-bot>;
    dct:license <https://creativecommons.org/publicdomain/zero/1.0/>;
    npx:introduces <https://w3id.org/np/RAVBATv4g3b9iEJ22fi_A1BGYDKr_pJzkT3D_4h9KI928/paragraph>;
    rdfs:label "Editing a paragraph";
    prov:wasDerivedFrom <https://w3id.org/np/RAVBATv4g3b9iEJ22fi_A1BGYDKr_pJzkT3D_4h9KI928>;
    nt:wasCreatedFromProvenanceTemplate <https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU>;
    nt:wasCreatedFromPubinfoTemplate <https://w3id.org/np/RA-N4_kFxcruvBTlo1yJv29E4SLOXsx5KO_th69PprMrA>,
      <https://w3id.org/np/RA7NZ9N1vb-mbTo6pOyR14fdbQ8PpFtJHTY3UBPb6vMh4>, <https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8>;
    nt:wasCreatedFromTemplate <https://w3id.org/np/RAdxrv0Rie-65L6gdURjpy8nTt7YagghQfX20Zw4pR7t0> .
  
  sub:sig npx:hasAlgorithm "RSA";
    npx:hasPublicKey "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl8cMusqtNyKA6UIsi3f7BAcZmHQXWxU0qk0PLsboMWQxYrGBfGgHTgRHJrBRxL+Zn9kJHKVmz2smDcjCBptXi/OwWy80gjsx+Pbe6IWz3zFPWF1UoFIKfPnC0slV67CQgdM853zW7Bmk9/uflCtK4EtZKmPdRGtUHVC7DTVvDBMDzLRGdE2KCBVN29EbM5GGVNvijYbaZQ9OFQPBkQshayqSIyGRr6rreJdkrRVLIzu3uuAjKYydaeXZWSN2JLnVBwrClKUxaEdCwhb5nXpMtKOMD+R+LgaXLeJUWM8BdRSYnta9ZqI5pHY4y3v+eW7J+HHeTvRbHvlik+Z4hFUXmQIDAQAB";
    npx:hasSignature "HfIVPzKKz0AbyM5XcwZnfcmuZEJMCXKgYeSBaQZezwTcH4JDjvx7FmiNcK3Fyj1TUR2938IzrnVKY6SewRrtPFVb0ShH7kKnJCA5SV3DYdEAbzfxGqogBWC3vmqkpyGx+/som+X+jRbzkMmx1lspGPH8YFt3+jOOWNAqEbW3RSOaWKi7YIvfLp1NJciJcCpNlq7ICL3OVD577UJVEIsDaYc54nkpQFZ6vpnYnEw+ohB3I/IZHWPikAjL4vZ4F9AF0jdTvvhb/gw1OLxeTuW/0zCAwQCV+SLcf7Beq61GQV0jO1KarvVMUKCuJbQVRyi1ZXPEPRMMM2p/C4T6/SQLvQ==";
    npx:hasSignatureTarget this:;
    npx:signedBy <https://w3id.org/np/RAFJKwxgChOLOQ2UduMAT1bYf1VNaWIZYIPmTT3YvJ8y0/docs-bot> .
}