@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: np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo; a np:Nanopublication . } sub:assertion { sub:get-all-user-intros dct:description "This query returns all user IDs, introductions, and associated pubkeys."; dct:license ; a ; rdfs:label "Get all user intros"; ; """prefix np: prefix npx: prefix npa: prefix dct: prefix foaf: select ?user ?name ?intronp ?date ?pubkey ?pubkeyHash ?authoritative ?keyLocation where { graph npa:graph { ?intronp npa:hasValidSignatureForPublicKey ?introPubkey . filter not exists { ?intronpx npx:invalidates ?intronp ; npa:hasValidSignatureForPublicKey ?introPubkey . } ?intronp dct:created ?date . ?intronp np:hasAssertion ?a . } graph ?a { ?keydeclaration npx:declaredBy ?user . ?keydeclaration npx:hasPublicKey ?pubkey . optional { ?user foaf:name ?name . } optional { ?keydeclaration npx:hasKeyLocation ?keyLocation . } } bind(?pubkey = ?introPubkey as ?authoritative) bind(sha256(?pubkey) as ?pubkeyHash) } order by ?user desc(?authoritative) 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-08-05T20:04:08.365Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-all-user-intros; npx:supersedes ; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ns1:RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB"; npx:hasSignature "0ZKGo8QLYGMlQUu/+jg7l981tGTJWgKiJDClAhm14L7MiPFW47/dPOYJaSIxnPnCgELv8x+Dzm/goTzM9/HZVokc90mKj76ewc+DxtRiV398Ha6tSmpoua6xbfiZdM7IUvo2BQ2fJ2xBA/8ATY8aajj0Hp8eTM6w6n5spTXMF/A="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }