. . . . "The topics of a documentation collection in reading order: each topic's newest declaration by a member of the maintaining space, ordered by position and then label, with its description and its number of paragraphs. Shaped for a paragraph view, so each topic's heading links to its page; the declaring nanopublication is the source and edit target." . . . "Get the table of contents of a documentation collection" . . "prefix rdf: \nprefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix gen: \nprefix schema: \nprefix schemas: \n\n# The table of contents of a documentation collection: each topic's newest declaration by a\n# member of the maintaining space, in reading order (position, then label), with its description\n# and the number of paragraphs it has. Shaped for a paragraph view: ?paragraph is the topic's own\n# IRI (so the heading links to the topic page), ?title its label, ?content the description and\n# paragraph count.\nselect ?paragraph ?title ?content (str(?np) as ?override_target) ?np (\"^\" as ?np_label) where {\n {\n select ?topic ?np ?date (min(?l) as ?title) (min(?pos) as ?position) (min(?d) as ?description) where {\n service {\n select (group_concat(?mpk; separator=\" \") as ?memberPubkeys) where {\n graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?stateG . }\n values ?_resource_multi_iri {}\n graph ?stateG {\n ?_resource_multi_iri npa:isMaintainedBy? ?space .\n ?ri a gen:RoleInstantiation ; npa:forSpace ?space ; npa:forAgent ?agent ; npa:hasRoleType ?roleType .\n ?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?mpk .\n }\n filter(?roleType in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole))\n }\n }\n values ?_resource_multi_iri {}\n graph npa:graph {\n ?np npa:hasValidSignatureForPublicKeyHash ?k ; dct:created ?date ; np:hasAssertion ?a .\n filter not exists { ?x npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?k . }\n }\n filter(contains(?memberPubkeys, ?k))\n graph ?a {\n ?topic gen:isRelevantFor ?_resource_multi_iri ; rdfs:label ?l .\n optional { ?topic gen:hasPositionString ?pos . }\n optional { ?topic dct:description ?d . }\n }\n filter not exists {\n graph npa:graph { ?np2 npa:hasValidSignatureForPublicKeyHash ?k2 ; dct:created ?date2 ; np:hasAssertion ?a2 .\n filter not exists { ?y npx:invalidates ?np2 ; npa:hasValidSignatureForPublicKeyHash ?k2 . } }\n graph ?a2 { ?topic gen:isRelevantFor ?_resource_multi_iri . }\n filter(?date2 > ?date) filter(contains(?memberPubkeys, ?k2))\n }\n } group by ?topic ?np ?date\n }\n # number of paragraphs about the topic (retracted ones excluded; each paragraph counted once)\n {\n select ?topic (count(distinct ?p) as ?n) where {\n graph npa:graph { ?pnp npa:hasValidSignatureForPublicKeyHash ?pk ; np:hasAssertion ?pa .\n filter not exists { ?z npx:invalidates ?pnp ; npa:hasValidSignatureForPublicKeyHash ?pk . } }\n graph ?pa { ?p rdf:type gen:Paragraph ; schema:about|schemas:about ?topic . }\n } group by ?topic\n }\n bind(?topic as ?paragraph)\n bind(concat(\"

\", coalesce(?description, \"\"), \"

\", str(?n), \" paragraph\", if(?n = 1, \"\", \"s\"), \"

\") as ?content)\n}\norder by ?position ?title" . . "2026-09-16T12:40:45Z"^^ . . . . . . . . "RSA" . "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl8cMusqtNyKA6UIsi3f7BAcZmHQXWxU0qk0PLsboMWQxYrGBfGgHTgRHJrBRxL+Zn9kJHKVmz2smDcjCBptXi/OwWy80gjsx+Pbe6IWz3zFPWF1UoFIKfPnC0slV67CQgdM853zW7Bmk9/uflCtK4EtZKmPdRGtUHVC7DTVvDBMDzLRGdE2KCBVN29EbM5GGVNvijYbaZQ9OFQPBkQshayqSIyGRr6rreJdkrRVLIzu3uuAjKYydaeXZWSN2JLnVBwrClKUxaEdCwhb5nXpMtKOMD+R+LgaXLeJUWM8BdRSYnta9ZqI5pHY4y3v+eW7J+HHeTvRbHvlik+Z4hFUXmQIDAQAB" . "Fjb7rP3ZCsiyDnRZk+9SsGHYdToy0YfP32ar4tC1+m6URygt+YTT+7fTYhwzOSkcFDmk2pqMeRNUMRGeWmvyZ4bgnWmTockxU1tVBUmnTCzCGyukcqPIhIb9GrhvNRARb27r0+sYlw7apZoHbO4flddtTK+QnnoebI5F/z3UgAvzg/U2KNFhBJ3Jp6RYS8nbrTAZGFB7gyDWc211RW+j7jZhfYyikzmU92jmMh4GPo5sQPpR/bo0EaLPneh4JrLNNTFjUKSBTL27XGlnDH6J8H47T8DvxmAWa9D84BqWVFr6f4PKw3UIZlftLPZ421VeIQ2v2uV1zO/cXLvobe5Fzg==" . . .