@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:get-filtered-nanopub-list dct:description "This query returns a filtered list of nanopublications."; dct:license ; a ; rdfs:label "Get filtered nanopub list (new version)"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: select ?np ?label ?date (group_concat(distinct ?t; separator=' ') as ?types) (?__pubkeys_multi as ?pubkey) where { graph npa:graph { values ?__pubkeys_multi {} ?np npa:hasValidSignatureForPublicKeyHash ?__pubkeys_multi . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?__pubkeys_multi . } values ?__types_multi_iri {} ?np npx:hasNanopubType ?__types_multi_iri . ?np npx:hasNanopubType ?t . ?np dct:created ?date . bind(coalesce(?__endtime, \"9999\") as ?endtime) filter(?endtime > str(?date)) bind(coalesce(?__starttime, \"0000\") as ?starttime) filter(?starttime < str(?date)) optional { ?np rdfs:label ?label } } } group by ?np ?label ?date ?__pubkeys_multi order by desc(?date) limit 100""" . } 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-02-02T13:15:10.969Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-filtered-nanopub-list; npx:wasCreatedAt ; prov:wasDerivedFrom ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB"; npx:hasSignature "GO/+bz41nLyrT/GdbhKWghDOMwdFsV6rizrhEsHjLHP34DrPaPdPKu53kTOXlkGCEzCwbPs58Isg5frQQtKmraqVrWO1q/gB9xOa6rS8Q8+l9ySiHCn/IapfO3eGc6WNPxIpsyAt1htEvHI5RWuDUNtzf7d0V0q1dwjocRzRfW8="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }