@prefix this: . @prefix sub: . @prefix np: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix ns1: . @prefix prov: . @prefix foaf: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:np-label-test-query a ; dct:description "Testing..."; dct:license ; rdfs:label "Query to test np labeling"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: select ?type ?date ?np (\"^\" as ?np_label) where { npa:thisRepo ?pred ?obj . graph npa:graph { ?np npx:hasNanopubType ?type . ?np npa:hasValidSignatureForPublicKey ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . } ?np dct:created ?date . ?np np:hasAssertion ?a . optional { ?np rdfs:label ?label } } } limit 10""" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" . this: a npx:ExampleNanopub; dct:created "2026-01-13T07:38:03.443Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:np-label-test-query; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate ns1:RAXflINqt3smqxV5Aq7E9lzje4uLdkKIOefa6Bp8oJ8CY, , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB"; npx:hasSignature "gNzIjpvZE2jJQbLopSo23J+PNu5P6kSl4JGcj89wgQG/bL4wUvVLgnt32sCNH62BqYa6Ulr5N6czy+VXdUnKws/Cq4vxN3WxJB7uxMlfmn+/UXVhk7TTEdmFhpYPRqYwjTjOwprnfOPKa/MRkrwrMLE2B4m3S0eMXO1CJ87YQh4="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }