Nanopublication

< Home

ID

https://w3id.org/np/RAQ2LTf6jouFy3oefQPigk3g8L9yH53KXSe-WQGIZXLHk

Formats

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

Content

@prefix this: <https://w3id.org/np/RAQ2LTf6jouFy3oefQPigk3g8L9yH53KXSe-WQGIZXLHk> .
@prefix sub: <https://w3id.org/np/RAQ2LTf6jouFy3oefQPigk3g8L9yH53KXSe-WQGIZXLHk/> .
@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 "The SPARQL must parse";
    gen:hasContent """<p>A nanopublication cannot be changed once published, so a query whose SPARQL does not parse would be broken permanently: it could never run, and the only remedy would be publishing a corrected version.</p>
<p>Since nanopub-java 1.94.0 both signing and publishing refuse such a nanopublication, reporting the parser's own error, and <code>check</code> reports it as an issue. This catches the doubled-backslash mistake at signing time rather than after publication.</p>
<p>Where the parser stops at a character outside ASCII, the message names it, because these queries are more often broken by a character picked up from a word processor or a web page than by a mistyped keyword. A non-breaking space, for instance, is reported as <code>Encountered: '160' (160)</code>.</p>
<p>Older versions of the tool have no such check: they sign and publish the nanopublication, and only the query API rejects it afterwards.</p>""";
    gen:hasPositionString "12" .
}

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 "The SPARQL must parse";
    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 "hnngNLnX83OT7YdWUbjJdV92wDf0yFCHF/xmkdOMBbHoUE6sMBvny7w5bABxJRUpTWIHCiUWjZs3KH7hBfaw51t7JSbTDOe+VYvOUSiaASX7I1wCpLUsIebu8NHnnQP+wuBwlNxlvD5ZEImr3bWtTyNOtVh+giFIFBv0oXD2YaTA+ftZSu3UAsrnFqZ6iLwfuFts74v2W1hVcV+GIg+V/FXSl04AF9MadF01XrRTabSqFFLjZUn6w7re+lJzxHF23xZuC0/pD8zhjxUk1LRgyqaWQbKngHcxkyYaTivqOn1Y4LxJraHQpDtW5Z9pXZ872JsPs+YDNANSF8ytpHjShA==";
    npx:hasSignatureTarget this:;
    npx:signedBy <https://w3id.org/np/RAFJKwxgChOLOQ2UduMAT1bYf1VNaWIZYIPmTT3YvJ8y0/docs-bot> .
}