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.
Get maintained resources from spaces repo
prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> prefix dct: <http://purl.org/dc/terms/> prefix np: <http://www.nanopub.org/nschema#> prefix npa: <http://purl.org/nanopub/admin/> prefix npx: <http://purl.org/nanopub/x/> prefix gen: <https://w3id.org/kpxl/gen/terms/> 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)