@prefix this: . @prefix sub: . @prefix np: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix orcid: . @prefix prov: . @prefix foaf: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:list-maintained-resources a ; dct:description "Lists the maintained resources of a given space (from the spaces repo) with a link to the source nanopublication. Label comes from each resource's declaration assertion. Ordered alphabetically by label."; dct:license ; rdfs:label "List maintained resources of a space"; ; """prefix np: prefix npa: prefix gen: prefix rdfs: select ?resource ?resource_label ?np (\"^\" as ?np_label) where { { select ?resource (sample(?label) as ?resource_label) (sample(?viaNp) as ?np) where { values ?_space_multi_iri {} graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?g . } graph ?g { ?_space_multi_iri npa:hasMaintainedResource ?resource . } optional { graph ?ag { ?resource a gen:MaintainedResource ; rdfs:label ?label . } } optional { graph npa:spacesGraph { ?d a npa:MaintainedResourceDeclaration ; npa:resourceIri ?resource ; npa:maintainerSpace ?_space_multi_iri ; npa:viaNanopub ?viaNp } } } group by ?resource } } order by lcase(str(?resource_label))""" . } sub:provenance { sub:assertion prov:wasAttributedTo orcid:0000-0002-1267-0234 . } sub:pubinfo { orcid:0000-0002-1267-0234 foaf:name "Tobias Kuhn" . this: dct:created "2026-06-09T13:54:06Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:list-maintained-resources; npx:supersedes ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "RcNK5lYHt7ZNr5Ro8BkZR91VYp4Cxfjor1957jv0mlBWFg7+/MjEaJb2/s03zP8ex5HQkVPBIlyRs+NOtIlhPOJ1kVT6cI5erUK3+dgUri7ijmL8HFKv+GKQ4tSqBWoLWsyxQXVDGQzFXaHFS4TVov19uXXjFFqBwrXA1fyk7iw="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }