[ { "@id": "https://w3id.org/np/RABOLSAtvxPZkwrIoNPrRB80somdJ7_09Pk9EzKdUZ5mw/assertion", "@graph": [ { "@id": "https://w3id.org/np/RABOLSAtvxPZkwrIoNPrRB80somdJ7_09Pk9EzKdUZ5mw/get-sub-resources", "http://purl.org/dc/terms/description": [ { "@value": "This query returns the sub-resources of a Space or Maintained Resource." } ], "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 sub-resources of Space or Maintained Resource" } ], "https://w3id.org/kpxl/grlc/endpoint": [ { "@id": "https://w3id.org/np/l/nanopub-query-1.1/repo/full" } ], "https://w3id.org/kpxl/grlc/sparql": [ { "@value": "prefix rdfs: \nprefix dct: \nprefix np: \nprefix npa: \nprefix npx: \nprefix gen: \n\nselect distinct ?resource ?resource_label ?entity_main_type ?np where {\n graph npa:graph {\n values ?entity_main_type { gen:Space gen:MaintainedResource }\n ?np npx:hasNanopubType ?entity_main_type .\n ?np npx:introduces ?resource .\n ?np npa:hasValidSignatureForPublicKeyHash ?pubkey .\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkey . }\n ?np dct:created ?date .\n ?np np:hasAssertion ?a .\n filter not exists {\n ?np2 npx:introduces ?resource .\n ?np2 npa:hasValidSignatureForPublicKeyHash ?pubkey2 .\n filter not exists { ?npx2 npx:invalidates ?np2 ; npa:hasValidSignatureForPublicKeyHash ?pubkey2 . }\n ?np2 dct:created ?date2 .\n filter( ?date2 > ?date )\n }\n }\n graph ?a {\n { {\n values ?_super_resource_multi_iri {}\n ?resource a ?entity_main_type .\n filter(strstarts(str(?resource), concat(str(?_super_resource_multi_iri), \"/\")))\n bind(substr(str(?resource), strlen(str(?_super_resource_multi_iri)) + 2, strlen(str(?resource)) - strlen(str(?_super_resource_multi_iri)) - 1) as ?suffix)\n filter(!contains(?suffix, \"/\"))\n } union {\n values ?_super_resource_multi_iri {}\n ?resource a gen:Space .\n ?resource dct:isPartOf|gen:isSubSpaceOf ?_super_resource_multi_iri .\n } union {\n values ?_super_resource_multi_iri {}\n ?resource a gen:MaintainedResource .\n ?resource gen:isMaintainedBy ?_super_resource_multi_iri .\n } }\n filter exists { ?resource a ?__resource_type_iri }\n ?resource rdfs:label ?resource_label .\n }\n} order by ?resource_label" } ] } ] }, { "@id": "https://w3id.org/np/RABOLSAtvxPZkwrIoNPrRB80somdJ7_09Pk9EzKdUZ5mw/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/RABOLSAtvxPZkwrIoNPrRB80somdJ7_09Pk9EzKdUZ5mw", "http://purl.org/dc/terms/created": [ { "@value": "2026-10-09T13:14:38Z", "@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/RABOLSAtvxPZkwrIoNPrRB80somdJ7_09Pk9EzKdUZ5mw/get-sub-resources" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RAaUhlctxMExzXnDOnmJva2M32smbag8I527pAA7w5nOI" } ], "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/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" }, { "@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/RABOLSAtvxPZkwrIoNPrRB80somdJ7_09Pk9EzKdUZ5mw/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": "PHHqBghAUGV7HRhgEWvkdbgZsdaGDW39X32zlzZAlG4RuK+4xQctQehUYKxYLryipvvPpx2TBr7D0ldO5XkeDBzz/nqnaW6c5Sy4YlHw+k9r60LMeayHVxGDOLfVBHVBNRkxQb/438HkI5y9jQMFhIfIKB5fJ7kP4Gwrga5p0Bk=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RABOLSAtvxPZkwrIoNPrRB80somdJ7_09Pk9EzKdUZ5mw" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RABOLSAtvxPZkwrIoNPrRB80somdJ7_09Pk9EzKdUZ5mw/provenance", "@graph": [ { "@id": "https://w3id.org/np/RABOLSAtvxPZkwrIoNPrRB80somdJ7_09Pk9EzKdUZ5mw/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RABOLSAtvxPZkwrIoNPrRB80somdJ7_09Pk9EzKdUZ5mw/Head", "@graph": [ { "@id": "https://w3id.org/np/RABOLSAtvxPZkwrIoNPrRB80somdJ7_09Pk9EzKdUZ5mw", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RABOLSAtvxPZkwrIoNPrRB80somdJ7_09Pk9EzKdUZ5mw/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RABOLSAtvxPZkwrIoNPrRB80somdJ7_09Pk9EzKdUZ5mw/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RABOLSAtvxPZkwrIoNPrRB80somdJ7_09Pk9EzKdUZ5mw/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] } ]