@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:find-views a ; dct:description "This query finds views by a text query for auto-complete lookup."; dct:license ; rdfs:label "Find views"; ; """prefix rdfs: prefix np: prefix npa: prefix npx: prefix dct: prefix search: prefix gen: select distinct ?thing ?label ?description ?np ?pubkey ?date where { graph npa:graph { ?np npx:hasNanopubType gen:ResourceView . ?np npa:hasValidSignatureForPublicKey ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . } ?np dct:created ?date . ?np npx:embeds ?thing . ?np rdfs:label ?label . optional { ?np dct:description ?description . } bind(concat(?label, \" \", coalesce(?description, \"\")) as ?text) filter(contains(lcase(?label), lcase(?_query))) } } 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: dct:created "2026-03-20T12:42:34.427Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:find-views; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB"; npx:hasSignature "Vdd6m2p7J4ApKVo9oEsZhBSdta5C9ZZjBzsA246gwgGJU6Aofga/QA51qY3xgKo39okd2Wh3kJqM2nd1WLStijaNVM4/GufJNvGoOzH+CyTQfrrtrgY4Ki6VGG7kObnhXmwwaq++oyrySlzKynsfRiGxMwuAvX29KSBYi7RcnU0="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }