[ { "@id": "https://w3id.org/np/RAEdX-wzz7vfswC5Y6sbL7XeUyJrL2BKT-luDHPZZpmRY/Head", "@graph": [ { "@id": "https://w3id.org/np/RAEdX-wzz7vfswC5Y6sbL7XeUyJrL2BKT-luDHPZZpmRY", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAEdX-wzz7vfswC5Y6sbL7XeUyJrL2BKT-luDHPZZpmRY/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAEdX-wzz7vfswC5Y6sbL7XeUyJrL2BKT-luDHPZZpmRY/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAEdX-wzz7vfswC5Y6sbL7XeUyJrL2BKT-luDHPZZpmRY/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAEdX-wzz7vfswC5Y6sbL7XeUyJrL2BKT-luDHPZZpmRY/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAEdX-wzz7vfswC5Y6sbL7XeUyJrL2BKT-luDHPZZpmRY/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAEdX-wzz7vfswC5Y6sbL7XeUyJrL2BKT-luDHPZZpmRY/pubinfo", "@graph": [ { "@id": "https://orcid.org/0000-0002-1267-0234", "http://xmlns.com/foaf/0.1/name": [ { "@value": "Tobias Kuhn" } ] }, { "@id": "https://w3id.org/np/RAEdX-wzz7vfswC5Y6sbL7XeUyJrL2BKT-luDHPZZpmRY", "http://purl.org/dc/terms/created": [ { "@value": "2026-10-01T09:02:41Z", "@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/RAEdX-wzz7vfswC5Y6sbL7XeUyJrL2BKT-luDHPZZpmRY/get-maintained-resources" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAOOq81R84exTUKUBQT3BbgCaSJyC2lqPDXIP2XaDTosM" } ], "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/RAoTD7udB2KtUuOuAe74tJi1t3VzK0DyWS7rYVAq1GRvw" }, { "@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/RAEdX-wzz7vfswC5Y6sbL7XeUyJrL2BKT-luDHPZZpmRY/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": "BglYkbRdXz9Lf6XWfUwsetyNxkk/aJMXWgi+uwtAuTc1JuCzXYtgaCaJe9YSUKtJeUvDIbLDr32VSwnx3euJLnXVpLwz3MzN/sWehbTRvA2vCx0qEEsWlkCtqedLD5tiDls9u78ZPv9amVabrVEX++Ek2TRsLbSNosjaiHbpjwU=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAEdX-wzz7vfswC5Y6sbL7XeUyJrL2BKT-luDHPZZpmRY" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAEdX-wzz7vfswC5Y6sbL7XeUyJrL2BKT-luDHPZZpmRY/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAEdX-wzz7vfswC5Y6sbL7XeUyJrL2BKT-luDHPZZpmRY/get-maintained-resources", "http://purl.org/dc/terms/description": [ { "@value": "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. One row per resource and space: of several declarations, the newest by dct:created wins. The label is the resource's own rdfs:label from the declaring nanopublication's assertion, falling back to the nanopublication's label; a nanopublication declaring several resources therefore gives each of them its own name." } ], "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": "Get maintained resources from spaces repo" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/spaces" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix gen: \n\nselect ?resource ?space\n (coalesce(min(if(lang(?rLabel) = \"\", ?rLabel, ?nolabel)), min(?rLabel), min(?npLabel)) as ?label)\n (min(?ns) as ?namespace) ?date ?np (\"^\" as ?np_label) where {\n {\n select ?resource ?space (max(concat(str(?d0), \">\", str(?np0))) as ?maxW) where {\n graph npa:graph { npa:thisRepo npa:hasCurrentSpaceState ?g . }\n graph ?g { ?resource npa:isMaintainedBy ?space . }\n graph npa:spacesGraph {\n ?decl0 a npa:MaintainedResourceDeclaration ;\n npa:resourceIri ?resource ; npa:maintainerSpace ?space ;\n npa:viaNanopub ?np0 ; dct:created ?d0 .\n }\n } group by ?resource ?space\n }\n bind(iri(strafter(?maxW, \">\")) as ?np)\n graph npa:spacesGraph {\n ?decl a npa:MaintainedResourceDeclaration ;\n npa:resourceIri ?resource ; npa:maintainerSpace ?space ;\n npa:viaNanopub ?np ; dct:created ?date .\n }\n graph npa:graph { ?np np:hasAssertion ?a . }\n optional { graph npa:graph { ?np rdfs:label ?npLabel } }\n optional { graph ?a { ?resource rdfs:label ?rLabel } }\n optional { graph ?a { ?resource gen:hasNamespace ?ns } }\n} group by ?resource ?space ?date ?np order by desc(?date)" } ] } ] } ]