@prefix this: . @prefix sub: . @prefix schema: . @prefix gen: . @prefix np: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix 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 ; schema:title "Calling a query"; gen:hasContent """

Every query template is also an API: https://query.knowledgepixels.com/api/<artifact code>/<query name>?resource=… runs it with the given parameters. The format of the answer follows the request's Accept header. A browser gets XML, which most show as an empty page, so add .csv or .json to the query name to see the rows there. Each repository also has a SPARQL editor of its own, linked from the repository's page on the service.

Scripts and bots are better served by https://router.knowledgepixels.com/query/…, which forwards each request to a query instance that is currently healthy. Two calls may then reach different instances, so a nanopublication published a moment ago can be visible to one and not yet to the next. The test network has a query service of its own, https://test.query.knowledgepixels.com/, which sees only what was published there.

"""; gen:hasPositionString "060" . } sub:provenance { sub:assertion prov:wasAttributedTo . } sub:pubinfo { this: dct:created "2026-11-18T12:45:49.246+01:00"^^xsd:dateTime; dct:creator ; dct:license ; npx:introduces sub:paragraph; rdfs:label "Calling a query"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl8cMusqtNyKA6UIsi3f7BAcZmHQXWxU0qk0PLsboMWQxYrGBfGgHTgRHJrBRxL+Zn9kJHKVmz2smDcjCBptXi/OwWy80gjsx+Pbe6IWz3zFPWF1UoFIKfPnC0slV67CQgdM853zW7Bmk9/uflCtK4EtZKmPdRGtUHVC7DTVvDBMDzLRGdE2KCBVN29EbM5GGVNvijYbaZQ9OFQPBkQshayqSIyGRr6rreJdkrRVLIzu3uuAjKYydaeXZWSN2JLnVBwrClKUxaEdCwhb5nXpMtKOMD+R+LgaXLeJUWM8BdRSYnta9ZqI5pHY4y3v+eW7J+HHeTvRbHvlik+Z4hFUXmQIDAQAB"; npx:hasSignature "lU7hz32vq7K1vCsbVgvnr1pgyXUnoy0zi7msA5m6cgt4UMR0GOW+aICjnMjY2b119UG/i8hx1rSc9TOV+MF2USkkX5HW9JrgBjRs2zwVfT7ReRWtHHZr1T64vOqj7ageZHy0B9ztcyZBv20d0M1ktCkFq/dCxLX6FCMWNA0lGZj0bJyRNFeWEYKLCjLG/vyIo3ErFeidkuvjFTmo+VUOUcbyDgUQNxKIKrbm4ZYt14Qvx278LIqpwudp6pQ4/LSHaxZkjB55Yz1Ya6q1ZyIg3sxBnArr+RzMZGa8KWbZhaGlEgoM7/bJl76+4L0k4vvVqhcYW4OHL5SD3iykAWkHwQ=="; npx:hasSignatureTarget this:; npx:signedBy . }