Nanopublication

< Home

ID

https://w3id.org/np/RAsx4xAtpLTu9XdZHmO8K1jBHJf-T3iDB9lCM2ef91zHE

Formats

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

Content

@prefix this: <https://w3id.org/np/RAsx4xAtpLTu9XdZHmO8K1jBHJf-T3iDB9lCM2ef91zHE> .
@prefix sub: <https://w3id.org/np/RAsx4xAtpLTu9XdZHmO8K1jBHJf-T3iDB9lCM2ef91zHE/> .
@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 {
  sub:paragraph a gen:Paragraph;
    schema:about <https://w3id.org/kpxl/grlc/grlc-query>;
    schema:title "Testing a query before publishing";
    gen:hasContent """<p>A query template can be run before it is published. Encode the signed nanopublication in base64url and pass it as the <code>_nanopub_trig</code> parameter of an ordinary API call, together with the parameters the query expects. The service then answers using that nanopublication as if it had been published.</p>
<p>The same parameter works on the OpenAPI page, which gives a form for the query's parameters and is the easier way to try several values.</p>
<p>Testing this way matters because the checks made at signing time are about syntax only. A query that parses can still join nothing, return the wrong rows, or be too slow, and none of that is visible until it runs. Note also that a very large query nanopublication can exceed the URL length the server accepts, in which case the query has to be tried against the repository endpoint directly.</p>""";
    gen:hasPositionString "13" .
}

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

sub:pubinfo {
  this: dct:created "2026-09-09T14:46:50Z"^^xsd:dateTime;
    dct:creator <https://w3id.org/np/RAFJKwxgChOLOQ2UduMAT1bYf1VNaWIZYIPmTT3YvJ8y0/docs-bot>;
    dct:license <https://creativecommons.org/publicdomain/zero/1.0/>;
    npx:introduces sub:paragraph;
    rdfs:label "Testing a query before publishing";
    nt:wasCreatedFromProvenanceTemplate <https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU>;
    nt:wasCreatedFromPubinfoTemplate <https://w3id.org/np/RA-N4_kFxcruvBTlo1yJv29E4SLOXsx5KO_th69PprMrA>,
      <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 "aphIz0i29/aFHC+Ej193bkJjF29F3ZsbYi+aep/3Zonp+g4d1kEAnLlb1OBBZx/7KfurrqhRa1RHnscJbeVQ3Xlbvm7BykZtL6WKjy4YpLw3Pi3yCDYYmgbTTZQkVl2QW25VxJ2m1segIBdkOsF2GhfxNB/3nndsM0n0SM66eXti9Gmux8CcB1A0E+QIQkHU1MHprzU4qc0BeDbBhGSXEaJz60OJGJD+3tA62b5YwqYibJxBZdOl7pDseZx2ieNPntQMO5Bx2dNuUWGe2obalVnIjOTgCqVCkyvvMsYruwJuM1keJu+GhAvBS7Wgv5fg5K9P8MDA4ix/vN2G2Qn7rA==";
    npx:hasSignatureTarget this:;
    npx:signedBy <https://w3id.org/np/RAFJKwxgChOLOQ2UduMAT1bYf1VNaWIZYIPmTT3YvJ8y0/docs-bot> .
}