. . . . "Returns key-value facts for display on a space or maintained-resource page: its type(s), description(s), and admins. Type and description are read from the resource's latest non-invalidated definition nanopub. Admins are the validated admins (npa:hasRoleType gen:AdminRole) of the governing space - the resource itself when it is a space, or its maintaining space when it is a maintained resource - resolved via the spaces repository. Each property occupies one row; the Value column is a multi-value cell so properties with several values (multiple types or admins) list them all in a single row. Both columns use the '_noheader' convention so the redundant header row is dropped." . . . "Get resource info" . . "prefix rdf: \nprefix rdfs: \nprefix dct: \nprefix foaf: \nprefix np: \nprefix npa: \nprefix npx: \nprefix gen: \n\nselect distinct ?Property_noheader ?Property_label ?Value_multi_val_noheader ?Value_label_multi where {\n values ?_resource_multi_iri {}\n graph npa:graph {\n ?np npx:introduces ?_resource_multi_iri ; npa:hasValidSignatureForPublicKeyHash ?pubkey ; np:hasAssertion ?a .\n filter not exists { ?inv npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }\n }\n graph ?a { ?_resource_multi_iri a ?baseType . filter(?baseType in (gen:Space, gen:MaintainedResource)) }\n\n optional {\n select (group_concat(?typeIriS; separator=\"\\n\") as ?typeVal) (group_concat(?typeLocal; separator=\"\\n\") as ?typeLabel) where {\n select distinct ?typeIriS ?typeLocal where {\n values ?_resource_multi_iri {}\n graph npa:graph {\n ?npt npx:introduces ?_resource_multi_iri ; npa:hasValidSignatureForPublicKeyHash ?pkt ; np:hasAssertion ?at .\n filter not exists { ?invt npx:invalidates ?npt ; npa:hasValidSignatureForPublicKeyHash ?pkt . }\n }\n graph ?at { ?_resource_multi_iri a ?typeIri . filter(?typeIri != gen:Space && ?typeIri != gen:MaintainedResource) }\n bind(str(?typeIri) as ?typeIriS)\n bind(replace(str(?typeIri), '^.*[/#]', '') as ?typeLocal)\n }\n } having (count(?typeIriS) > 0)\n }\n\n optional {\n select (group_concat(distinct ?descEsc; separator=\"\\n\") as ?descVal) where {\n values ?_resource_multi_iri {}\n graph npa:graph {\n ?npd npx:introduces ?_resource_multi_iri ; npa:hasValidSignatureForPublicKeyHash ?pkd ; np:hasAssertion ?ad .\n filter not exists { ?invd npx:invalidates ?npd ; npa:hasValidSignatureForPublicKeyHash ?pkd . }\n }\n graph ?ad { ?_resource_multi_iri dct:description ?desc . }\n bind(replace(replace(str(?desc), \"\\\\\\\\\", \"\\\\\\\\\\\\\\\\\"), \"[\\r\\n]+\", \"\\\\\\\\n\") as ?descEsc)\n } having (count(?desc) > 0)\n }\n\n optional {\n select (group_concat(?admin2; separator=\"\\n\") as ?adminVal) (group_concat(?adminName; separator=\"\\n\") as ?adminLabel) where {\n select distinct ?admin2 ?adminName where {\n values ?_resource_multi_iri {}\n service {\n graph npa:graph { npa:hasCurrentSpaceState ?g . }\n optional { graph ?g { ?_resource_multi_iri npa:isMaintainedBy ?maint . } }\n bind(coalesce(?maint, ?_resource_multi_iri) as ?adminSpace)\n graph ?g { ?ri a gen:RoleInstantiation ; npa:forSpace ?adminSpace ; npa:hasRoleType gen:AdminRole ; npa:forAgent ?admin . }\n optional { graph ?g { ?admin foaf:name ?adminName0 . } }\n }\n bind(coalesce(?adminName0, str(?admin)) as ?adminName)\n bind(str(?admin) as ?admin2)\n }\n } having (count(?admin2) > 0)\n }\n\n values (?key ?Property_noheader ?Property_label) {\n ('Type' rdf:type 'Type:')\n ('Description' dct:description 'Description:')\n ('Admins' gen:hasAdmin 'Admins:')\n }\n bind(if(?key='Type', ?typeVal, if(?key='Description', ?descVal, ?adminVal)) as ?Value_multi_val_noheader)\n filter(bound(?Value_multi_val_noheader))\n bind(if(?key='Type', ?typeLabel, if(?key='Admins', ?adminLabel, '')) as ?Value_label_multi)\n}\norder by (if(?key='Type', 1, if(?key='Description', 2, 3)))" . . "Tobias Kuhn" . "2026-06-26T07:42:34Z"^^ . . . . "Get resource info" . . . . . . "RSA" . "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" . "WFeUtVAvS1oUVcrPsLin4mya6af5BujqWDK75ptKCN8RPd7Go92Um8Qmqv+V2ZCKqmJThf/dfnn/Tjl5tDtFstPz+I8B5H0hpvmVJjzP6F5Z5IQku0AC8qytUmtPY0qrWEYdoNPk2f8uto7RHUwR/ctBma0UeO39BLF9VgjhiTA=" . . .