@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: np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo; a np:Nanopublication . } sub:assertion { sub:get-maintained-resources dct:description "This query returns all maintained resources and their nanopublications, optionally filtered by space."; dct:license ; a ; rdfs:label "Get maintained resources"; ; """prefix rdfs: prefix dct: prefix np: prefix npa: prefix npx: prefix gen: select ?resource ?label (?_space_multi_iri as ?space) ?np ?pubkey ?date where { values ?_space_multi_iri {} graph npa:graph { ?np npx:hasNanopubType gen:MaintainedResource . ?np npa:hasValidSignatureForPublicKeyHash ?pubkey . filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . } ?np dct:created ?date . ?np npx:introduces ?resource . ?np np:hasAssertion ?a . optional { ?np rdfs:label ?label } } graph ?a { ?resource gen:isMaintainedBy ?_space_multi_iri . } } 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 "2025-10-23T09:35:51.042Z"^^xsd:dateTime; dct:creator orcid:0000-0002-1267-0234; dct:license ; npx:embeds sub:get-maintained-resources; npx:supersedes ; npx:wasCreatedAt ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB"; npx:hasSignature "tnfF6+5kZ3VsIW+yJUbivQPqfkx0IL/xO3vhUEpM036XOxIoIFEfBbC2iax0DN3biMPhRk+vbSO5br07894PaxQlVYm7BxsS9rhHzkPvzwBnwCjqrirVCmlko5d3+BReE24RWiHQUOZfbp/dpdgcgzpjv4tKlTL9vzjVLMSewyI="; npx:hasSignatureTarget this:; npx:signedBy orcid:0000-0002-1267-0234 . }