[ { "@id": "https://w3id.org/np/RAUpUs6PmUnz4C4gJCssFV-pL4kUHkkB5e_rWvWNxcjiA/pubinfo", "@graph": [ { "@id": "https://w3id.org/np/RAUpUs6PmUnz4C4gJCssFV-pL4kUHkkB5e_rWvWNxcjiA", "http://purl.org/dc/terms/created": [ { "@value": "2026-11-18T12:45:49.203+01:00", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://purl.org/dc/terms/creator": [ { "@id": "https://w3id.org/np/RAFJKwxgChOLOQ2UduMAT1bYf1VNaWIZYIPmTT3YvJ8y0/docs-bot" } ], "http://purl.org/dc/terms/license": [ { "@id": "https://creativecommons.org/publicdomain/zero/1.0/" } ], "http://purl.org/nanopub/x/introduces": [ { "@id": "https://w3id.org/np/RAsx4xAtpLTu9XdZHmO8K1jBHJf-T3iDB9lCM2ef91zHE/paragraph" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Editing a paragraph" } ], "http://www.w3.org/ns/prov#wasDerivedFrom": [ { "@id": "https://w3id.org/np/RAsx4xAtpLTu9XdZHmO8K1jBHJf-T3iDB9lCM2ef91zHE" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "https://w3id.org/np/RA-N4_kFxcruvBTlo1yJv29E4SLOXsx5KO_th69PprMrA" }, { "@id": "https://w3id.org/np/RA7NZ9N1vb-mbTo6pOyR14fdbQ8PpFtJHTY3UBPb6vMh4" }, { "@id": "https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAdxrv0Rie-65L6gdURjpy8nTt7YagghQfX20Zw4pR7t0" } ] }, { "@id": "https://w3id.org/np/RAUpUs6PmUnz4C4gJCssFV-pL4kUHkkB5e_rWvWNxcjiA/sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl8cMusqtNyKA6UIsi3f7BAcZmHQXWxU0qk0PLsboMWQxYrGBfGgHTgRHJrBRxL+Zn9kJHKVmz2smDcjCBptXi/OwWy80gjsx+Pbe6IWz3zFPWF1UoFIKfPnC0slV67CQgdM853zW7Bmk9/uflCtK4EtZKmPdRGtUHVC7DTVvDBMDzLRGdE2KCBVN29EbM5GGVNvijYbaZQ9OFQPBkQshayqSIyGRr6rreJdkrRVLIzu3uuAjKYydaeXZWSN2JLnVBwrClKUxaEdCwhb5nXpMtKOMD+R+LgaXLeJUWM8BdRSYnta9ZqI5pHY4y3v+eW7J+HHeTvRbHvlik+Z4hFUXmQIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "Nivyfli2rDHpfXURWJ10EpWsiNqT98S0KGInkroIF3eOvLd9Elp7XDjPBvypnoBkF3T+8UMBif1FEXnYbFSSjmOaWJVvwzp0LC9IE1izDXPwgiXctzDTY68zU6OpakVKyMGk7SwlO+XfK/l1zgaUCkUcEA3Z5atwCGyRyuRR8hejqkI7Lg7UXYxA4S9lLXqJyG+5XkR7ma7IVL1CR31TFeWMK4tYW0z14CtiyDAombLzTfZ2sABTX14BQ7aLM9QbPHn2WOk0YcXNVrdNPFxn3YrlNiBpTpDWgdN3JQEdkWcByMXDlxhmq5J+tjwB1EJHl3h1jprO73fDjecuAwzVLQ==" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAUpUs6PmUnz4C4gJCssFV-pL4kUHkkB5e_rWvWNxcjiA" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://w3id.org/np/RAFJKwxgChOLOQ2UduMAT1bYf1VNaWIZYIPmTT3YvJ8y0/docs-bot" } ] } ] }, { "@id": "https://w3id.org/np/RAUpUs6PmUnz4C4gJCssFV-pL4kUHkkB5e_rWvWNxcjiA/Head", "@graph": [ { "@id": "https://w3id.org/np/RAUpUs6PmUnz4C4gJCssFV-pL4kUHkkB5e_rWvWNxcjiA", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAUpUs6PmUnz4C4gJCssFV-pL4kUHkkB5e_rWvWNxcjiA/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAUpUs6PmUnz4C4gJCssFV-pL4kUHkkB5e_rWvWNxcjiA/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAUpUs6PmUnz4C4gJCssFV-pL4kUHkkB5e_rWvWNxcjiA/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAUpUs6PmUnz4C4gJCssFV-pL4kUHkkB5e_rWvWNxcjiA/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAUpUs6PmUnz4C4gJCssFV-pL4kUHkkB5e_rWvWNxcjiA/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://w3id.org/np/RAFJKwxgChOLOQ2UduMAT1bYf1VNaWIZYIPmTT3YvJ8y0/docs-bot" } ] } ] }, { "@id": "https://w3id.org/np/RAUpUs6PmUnz4C4gJCssFV-pL4kUHkkB5e_rWvWNxcjiA/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAsx4xAtpLTu9XdZHmO8K1jBHJf-T3iDB9lCM2ef91zHE/paragraph", "http://schema.org/about": [ { "@id": "https://w3id.org/kpxl/grlc/grlc-query" } ], "http://schema.org/title": [ { "@value": "Testing a query before publishing" } ], "@type": [ "https://w3id.org/kpxl/gen/terms/Paragraph" ], "https://w3id.org/kpxl/gen/terms/hasContent": [ { "@value": "

A query template can be run before it is published. Encode the signed nanopublication in base64url and pass it as the _nanopub_trig 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.

\n

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.

\n

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 large query nanopublication makes the request too long for the w3id.org redirector, which answers with error 414. The query service itself accepts it, so send the same request to an instance's own address, such as https://query.knowledgepixels.com/api/…, rather than falling back to the bare repository, which skips the template's parameter handling.

" } ], "https://w3id.org/kpxl/gen/terms/hasPositionString": [ { "@value": "13" } ] } ] } ]