. . . . "This query returns the pinned resources for a given entity (e.g. a Space), each resource only once (from its latest pin)." . . . "Get pinned resources" . . "prefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix gen: \n\nselect ?resource (min(?label) as ?resource_label) (min(?cmt) as ?comment) ?np (\"^\" as ?np_label) where {\n values ?_entity_multi_iri {}\n graph npa:graph {\n ?np npx:hasNanopubType gen:hasPinnedResource ;\n npa:hasValidSignatureForPublicKeyHash ?pubkey ;\n dct:created ?date ;\n np:hasAssertion ?a .\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }\n }\n graph ?a {\n ?_entity_multi_iri gen:hasPinnedResource ?resource .\n }\n # Show each resource once: skip this pin if a newer valid pin of the same resource exists (by anyone).\n optional {\n graph ?a2 {\n ?_entity_multi_iri gen:hasPinnedResource ?resource .\n }\n graph npa:graph {\n ?np2 np:hasAssertion ?a2 ;\n npx:hasNanopubType gen:hasPinnedResource ;\n npa:hasValidSignatureForPublicKeyHash ?pubkey2 ;\n dct:created ?date2 .\n filter not exists { ?npx2 npx:invalidates ?np2 ; npa:hasValidSignatureForPublicKeyHash ?pubkey2 . }\n }\n filter(?date2 > ?date || (?date2 = ?date && str(?np2) > str(?np)))\n }\n filter(!bound(?np2))\n optional { graph ?a { ?resource rdfs:label ?label . } }\n optional { graph ?a { ?resource rdfs:comment ?cmt . } }\n} group by ?resource ?np" . . "Tobias Kuhn" . "2026-11-11T05:08:08Z"^^ . . . . . "Each resource is listed only once: when several valid pins of the same resource exist for the entity, only the latest one (by dct:created) is shown." . . . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "U1bhghsj5a6qy48Uoq2Y14aPTauoHlBMxZyvxwvBi7pNjtHiIvqKgVel17vwjQheYm97wSVV9+89915WpArMfS+2bXt5O+gFRNFXmIqoLwh5wfzW+OOi6QF4Ux0WVs+Xgda9erXUuiWn/tO4WyCRu/dve7oi0+ouo1WGrxJqPEo=" . . .