. . . . "Returns the introduction nanopublications of a given user (creation date, key location, declared public-key hashes), plus session-relative action targets from the viewer's local key (?__LOCALPUBKEY_multi) and site URL (?__SITEURL_multi): conditional retract/derive targets driving the per-row actions, and the local-key bundle (key string, short name, site URL) used to prefill the derive action. The retract/derive/local columns are action-mapping data (hidden from display by the result builders)." . . . "Get user introductions" . . "prefix np: \nprefix npx: \nprefix npa: \nprefix dct: \n\nselect (max(?date0) as ?date) (sample(str(?keyLocation)) as ?location)\n (group_concat(distinct ?keyHash; separator=\", \") as ?keys) ?np (\"^\" as ?np_label)\n (if(sum(?isLocal) > 0 && ?localCount > 1, str(?np), \"\") as ?retract_target)\n (if(sum(?isLocal) = 0 && ?localCount = 0 && max(?lpkBound) > 0, str(?np), \"\") as ?derive_target)\n (sample(?lpk) as ?local_pubkey) (sample(?lpkShort) as ?local_pubkey_short)\n (sample(?siteUrl) as ?site_url)\nwhere {\n values ?__LOCALPUBKEY_multi {}\n values ?__SITEURL_multi {}\n graph npa:graph {\n ?np npa:hasValidSignatureForPublicKey ?introPubkey .\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?introPubkey . }\n ?np dct:created ?date0 .\n ?np np:hasAssertion ?a .\n }\n graph ?a {\n ?keydeclaration npx:declaredBy ?_user_iri .\n ?keydeclaration npx:hasPublicKey ?pubkey .\n optional { ?keydeclaration npx:hasKeyLocation ?keyLocation . }\n bind(substr(sha256(?pubkey), 1, 10) as ?keyHash)\n }\n bind(coalesce(if(str(?pubkey) = str(?__LOCALPUBKEY_multi), 1, 0), 0) as ?isLocal)\n bind(if(bound(?__LOCALPUBKEY_multi), 1, 0) as ?lpkBound)\n bind(coalesce(str(?__LOCALPUBKEY_multi), \"\") as ?lpk)\n bind(if(strlen(?lpk) >= 45, concat(substr(?lpk, 1, 1), \"..\", substr(?lpk, 41, 5), \"..\"), \"\") as ?lpkShort)\n bind(coalesce(str(?__SITEURL_multi), \"\") as ?siteUrl)\n {\n select (count(distinct ?lnp) as ?localCount) where {\n values ?__LOCALPUBKEY_multi {}\n graph npa:graph {\n ?lnp npa:hasValidSignatureForPublicKey ?lk2 .\n filter not exists { ?lnpx npx:invalidates ?lnp ; npa:hasValidSignatureForPublicKey ?lk2 . }\n ?lnp np:hasAssertion ?la .\n }\n graph ?la { ?lkd npx:declaredBy ?_user_iri ; npx:hasPublicKey ?lpubkey . }\n filter(coalesce(str(?lpubkey) = str(?__LOCALPUBKEY_multi), false))\n }\n }\n}\ngroup by ?np ?localCount\norder by desc(max(?date0))" . . "Tobias Kuhn" . "2026-06-08T18:25:03Z"^^ . . . . . . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "LaPI57fSh851Mek1UXsI3cQ6qiRzOD3bWloMUGSTtkfUbt2VjuiQrIHiS2Xd3dHrZ6INVZfU54N9y5zy0GSU16iVkgvvHO0oBFRhHrjLP8n7F6Bn57kCd7MfKWQ6saaJAPQreVqJJlaZzlZPFlDP7lKCyhITwqwBuuOlSUoPI8g=" . . .