[ { "@id": "https://w3id.org/np/RA7sUq2achAjyyP1TDuUExMAScLUmaZ18SPjtOZ7DeKiM/Head", "@graph": [ { "@id": "https://w3id.org/np/RA7sUq2achAjyyP1TDuUExMAScLUmaZ18SPjtOZ7DeKiM", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RA7sUq2achAjyyP1TDuUExMAScLUmaZ18SPjtOZ7DeKiM/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RA7sUq2achAjyyP1TDuUExMAScLUmaZ18SPjtOZ7DeKiM/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RA7sUq2achAjyyP1TDuUExMAScLUmaZ18SPjtOZ7DeKiM/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RA7sUq2achAjyyP1TDuUExMAScLUmaZ18SPjtOZ7DeKiM/provenance", "@graph": [ { "@id": "https://w3id.org/np/RA7sUq2achAjyyP1TDuUExMAScLUmaZ18SPjtOZ7DeKiM/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RA7sUq2achAjyyP1TDuUExMAScLUmaZ18SPjtOZ7DeKiM/pubinfo", "@graph": [ { "@id": "https://w3id.org/np/RA7sUq2achAjyyP1TDuUExMAScLUmaZ18SPjtOZ7DeKiM", "http://purl.org/dc/terms/created": [ { "@value": "2026-08-25T11:31:32Z", "@type": "http://www.w3.org/2001/XMLSchema#dateTime" } ], "http://purl.org/dc/terms/creator": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ], "http://purl.org/dc/terms/license": [ { "@id": "https://creativecommons.org/licenses/by/4.0/" } ], "http://purl.org/nanopub/x/embeds": [ { "@id": "https://w3id.org/np/RA7sUq2achAjyyP1TDuUExMAScLUmaZ18SPjtOZ7DeKiM/list-maintained-views" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "List maintained views of a space" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "https://w3id.org/np/RA7lSq6MuK_TIC6JMSHvLtee3lpLoZDOqLJCLXevnrPoU" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "https://w3id.org/np/RA0J4vUn_dekg-U1kK3AOEt02p9mT2WO03uGxLDec1jLw" }, { "@id": "https://w3id.org/np/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAEFAt-QcFK0ZhqfvlsmS10BnzGJA0xwOICZXkO-ai87k" } ] }, { "@id": "https://w3id.org/np/RA7sUq2achAjyyP1TDuUExMAScLUmaZ18SPjtOZ7DeKiM/sig", "http://purl.org/nanopub/x/hasAlgorithm": [ { "@value": "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey": [ { "@value": "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature": [ { "@value": "V1keK/0D0vHnOLIwLzeHfJKt2AwmgKm3t95pRPvgK+dCs4AxNUWG3KOHWoRTrhs/HpvjCHyCp5XgtiSArQiAaFlmFTHKXWJHXeGkeO3KNaB1wKtB85zqq+NUtFkImE3nDmDW6vPc6CZjdUIvcRoZf9kbaEqsTi1yDc9mNeuHNP4=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RA7sUq2achAjyyP1TDuUExMAScLUmaZ18SPjtOZ7DeKiM" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RA7sUq2achAjyyP1TDuUExMAScLUmaZ18SPjtOZ7DeKiM/assertion", "@graph": [ { "@id": "https://w3id.org/np/RA7sUq2achAjyyP1TDuUExMAScLUmaZ18SPjtOZ7DeKiM/list-maintained-views", "http://purl.org/dc/terms/description": [ { "@value": "Lists the resource views maintained by a given space, i.e. the view kinds registered as maintained resources of the space, each shown with the label and title of its current governed version and a link to that version's nanopublication. The current governed version of a (kind, space) pair is the newest non-invalidated version signed by a current member+ (admin/maintainer/member) of the governing space, mirroring the get-latest-governed-version resolver: winners are materialized per kind in a sub-select that federates to the spaces repo (checking npa:isMaintainedBy and the signer's validated role tier), then joined back to the view data by an exact date+nanopub match. Kinds without a validating governed version are not listed. Ordered alphabetically by label." } ], "http://purl.org/dc/terms/license": [ { "@id": "http://www.apache.org/licenses/LICENSE-2.0" } ], "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "List maintained views of a space" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/type/ec6722efa3b44e0a18aa63afe5964158a1fdb7f0413ea5f23bfddf5c03ca0221" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix gen: \n\nselect ?resource ?resource_label ?title ?np (\"^\" as ?np_label) where {\n {\n select ?resource ?np (coalesce(min(if(lang(?label) = \"\", ?label, ?nolabel)), min(?label)) as ?resource_label) (min(?titlex) as ?title) where {\n {\n select ?resource (max(concat(str(?gDate), \">\", str(?gNp))) as ?maxW) where {\n values ?_space_multi_iri {}\n graph npa:graph {\n ?gNp npa:hasValidSignatureForPublicKeyHash ?gPubkeyhash ;\n dct:created ?gDate ;\n npx:embeds ?gVersion ;\n np:hasAssertion ?gA .\n filter not exists { ?gInv npx:invalidates ?gNp ; npa:hasValidSignatureForPublicKeyHash ?gPubkeyhash . }\n }\n graph ?gA { ?gVersion a gen:ResourceView ; dct:isVersionOf ?resource ; gen:governedBy ?_space_multi_iri . }\n service {\n graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?stateG . }\n graph ?stateG {\n ?resource npa:isMaintainedBy ?_space_multi_iri ; npa:hasGoverningSpaceRef ?gRef .\n ?gRi a gen:RoleInstantiation ; npa:forSpace ?_space_multi_iri ; npa:forSpaceRef ?gRef ;\n npa:hasRoleType ?gTier ; npa:forAgent ?gAgent .\n filter(?gTier = gen:AdminRole || ?gTier = gen:MaintainerRole || ?gTier = gen:MemberRole)\n ?gAcct a npa:AccountState ; npa:agent ?gAgent ; npa:pubkey ?gPubkeyhash .\n }\n }\n } group by ?resource\n }\n graph npa:graph {\n ?np npa:hasValidSignatureForPublicKeyHash ?pubkeyhash ;\n dct:created ?date ;\n npx:embeds ?version ;\n np:hasAssertion ?a .\n }\n filter(concat(str(?date), \">\", str(?np)) = ?maxW)\n graph ?a { ?version a gen:ResourceView ; dct:isVersionOf ?resource . }\n optional { graph ?a { ?version rdfs:label ?label } }\n optional { graph ?a { ?version dct:title ?titlex } }\n } group by ?resource ?np\n }\n} order by lcase(str(?resource_label))" } ] } ] } ]