@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:get-maintained-resources a ; dct:description "Returns server-validated maintained resources (npa:isMaintainedBy) from the current space-state graph of the spaces repo (/repo/spaces), with each resource's maintainer space, declaring nanopublication, label, optional namespace, and date. Only the current-state declarations are returned."; dct:license ; rdfs:label "Get maintained resources from spaces repo"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix gen: select ?resource ?space ?label ?namespace ?date ?np (\"^\" as ?np_label) where { graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?g . } graph ?g { ?resource npa:isMaintainedBy ?space . } graph npa:spacesGraph { ?d a npa:MaintainedResourceDeclaration ; npa:resourceIri ?resource ; npa:maintainerSpace ?space ; npa:viaNanopub ?np ; dct:created ?date . } graph npa:graph { ?np np:hasAssertion ?a . optional { ?np rdfs:label ?label } } optional { graph ?a { ?resource gen:hasNamespace ?namespace } } } order by desc(?date)""" . } 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-05-26T09:08:04Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-maintained-resources; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCwUtewGCpT5vIfXYE1bmf/Uqu1ojqnWdYxv+ySO80ul8Gu7m8KoyPAwuvaPj0lvPtHrg000qMmkxzKhYknEjq8v7EerxZNYp5B3/3+5ZpuWOYAs78UnQVjbHSmDdmryr4D4VvvNIiUmd0yxci47dTFUj4DvfHnGd6hVe5+goqdcwIDAQAB"; npx:hasSignature "iIv+pcQ7Hof/6nALTrnkU8LtOpgHHpGxM94F73exYbhthu6XpWNP46buint1RUwY+WbSHh6IlGBFu1gRVskghbCCA76rB7GNvZUdh0LSDbjM5WkG8UyGoeMLklnK0on+LCFPFeAZKX3P44SE1T3E3J9kAVZ6gw9uCHNMtzKPPpU="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }