@prefix this: . @prefix sub: . @prefix np: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . @prefix foaf: . sub:Head { this: np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo; a np:Nanopublication . } sub:assertion { sub:test-query dct:description "This is just a test query, now updated with the final template... and updated once more..."; dct:license ; a ; rdfs:label "test query"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix grlc: select ?np ?label ?pubkeyhash ?date where { graph npa:graph { ?np npa:hasValidSignatureForPublicKeyHash ?pubkeyhash . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkeyhash . } ?np dct:created ?date . ?np npx:introduces ?query . ?np np:hasAssertion ?a . ?np npx:hasNanopubType grlc:grlc-query . optional { ?np rdfs:label ?label } } graph ?a { ?query grlc:endpoint ?endpoint . filter(strstarts(str(?endpoint), \"https://w3id.org/np/l/nanopub-query\")) } } order by desc(?date)""" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" . this: dct:created "2025-05-22T13:07:00.446Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:test-query; npx:supersedes ; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "gFKMLnNw6lHwYvvbEx9+64OAxm7Bnqaeg55ptLO26u1kuLOpsAcQsAbsyboiCmaOHDKfHil10gJ2rMd/1cjoyONj+EqES5HLxnyhgIzQtUnOnEAOOjT5IIyZzW2zIYZocM03ekXOHzjT4D3OMC7LR1bXq19ZWyU+/TNkWW94pEw="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }