@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: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:get-highlights a ; dct:description "This query returns highlights stated according to the Web Annotation Ontology."; dct:license ; rdfs:label "Get highlights"; ; """prefix rdf: prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix oa: select ?comment ?source ?text_quote ?date ?np (\"^\" as ?np_label) where { graph npa:graph { ?np npx:hasNanopubType oa:Annotation . ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np dct:created ?date . ?np npx:introduces ?annotation . ?np np:hasAssertion ?a . } graph ?a { ?annotation a oa:Annotation . ?annotation oa:motivatedBy oa:highlighting . ?annotation oa:hasBody ?body . ?body rdf:value ?comment . ?annotation oa:hasTarget ?target . ?target oa:hasSource ?source . ?target oa:hasSelector ?selector . ?selector oa:exact ?text_quote . } } 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 "2026-01-26T16:05:33.606Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-highlights; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCjDGQCS1S+SRnERDuYDXOugdYUP0efEquHJEEHAbU/uLzBVlga89zqrNPCS7fBE6lArBUWEmT8eLKdMapyqvAzI1J3jUWTMhDJF+XFBkUiuiFfNSc4vJJcmi0yujtnuzXsRIG202jyaP4f5ULoskFwaZOSBZJfiE0dsB3D7DTIAQIDAQAB"; npx:hasSignature "Rt6ISJfMVJMbVYNSDhLvlbmIqddoJL6dP+h97tqGjFnEcYwtkCcjD2qrQqJwBX+wQkZJY6HrxrAeQBtwXLRUIHbPRlYq3B8stV1eoh49FsGpVLvghusP/1owtfheZjTF/aOWOg+8ScbJvHBu62r6Jtevhx3D15hXSxQ53Qvar1U="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }