[ { "@id": "https://w3id.org/np/RAAHc9JTvuDx5gfaFQICdtCFphLltqlVDeGP7QEPJbnak/Head", "@graph": [ { "@id": "https://w3id.org/np/RAAHc9JTvuDx5gfaFQICdtCFphLltqlVDeGP7QEPJbnak", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAAHc9JTvuDx5gfaFQICdtCFphLltqlVDeGP7QEPJbnak/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAAHc9JTvuDx5gfaFQICdtCFphLltqlVDeGP7QEPJbnak/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAAHc9JTvuDx5gfaFQICdtCFphLltqlVDeGP7QEPJbnak/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAAHc9JTvuDx5gfaFQICdtCFphLltqlVDeGP7QEPJbnak/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/RAAHc9JTvuDx5gfaFQICdtCFphLltqlVDeGP7QEPJbnak", "http://purl.org/dc/terms/created": [ { "@value": "2026-07-13T06:00:00Z", "@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/RAAHc9JTvuDx5gfaFQICdtCFphLltqlVDeGP7QEPJbnak/get-space-reused-datasets" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RARY7uRqFMpxElsPdhsDxEr6HZtrgJ3Djm7NIqJQb8LVw" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get existing datasets reused per project for a space and its sub-spaces" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "http://purl.org/np/RAcm8OurwUk15WOgBM9wySo-T3a5h6as4K8YR5MBrrxUc" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "https://w3id.org/np/RACJ58Gvyn91LqCKIO9zu1eijDQIeEff28iyDrJgjSJF8" }, { "@id": "https://w3id.org/np/RARW4MsFkHuwjycNElvEVtuMjpf4yWDL10-0C5l2MqqRQ" }, { "@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/RAAHc9JTvuDx5gfaFQICdtCFphLltqlVDeGP7QEPJbnak/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": "bgsdGQHq/ZAzmRp0rFlcLB2bdyYcObqPBV5aaYyShxTIT/Qdj5dlmln0ew+4hxrycdHvP8+WtCIjl9BC0GXNJ+/AXlXk49GMVVvl2B41x1obUSgvLGTIrLtWbCbUIdoMqwAHLZAqJUj9C8HnleIYe4OCFIQabm4aHrEXBHNWyZc=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAAHc9JTvuDx5gfaFQICdtCFphLltqlVDeGP7QEPJbnak" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAAHc9JTvuDx5gfaFQICdtCFphLltqlVDeGP7QEPJbnak/assertion", "@graph": [ { "@id": "https://w3id.org/np/RAAHc9JTvuDx5gfaFQICdtCFphLltqlVDeGP7QEPJbnak/get-space-reused-datasets", "@type": [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Get existing datasets reused per project for a space and its sub-spaces" } ], "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 nt: \nprefix gen: \nprefix ff: \nprefix oh: \n\nselect ?project ?project_label ?dataset ?dataset_label ?publisher\n (group_concat(distinct str(?domain); separator=\"\\n\") as ?domains_multi_iri)\n (group_concat(distinct ?domain_label; separator=\"\\n\") as ?domains_label_multi)\n ?np (\"^\" as ?np_label)\nwhere {\n values ?_space_multi_iri {}\n service {\n select (group_concat(distinct ?mpk; separator=\" \") as ?memberPubkeys) where {\n graph npa:graph { npa:hasCurrentSpaceState ?stateG . }\n values ?_space_multi_iri {}\n graph ?stateG {\n ?ri a gen:RoleInstantiation ; npa:forSpace ?proj ; npa:forAgent ?agent ; npa:hasRoleType ?rt .\n filter(?rt in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole))\n filter(?proj = ?_space_multi_iri || strstarts(str(?proj), concat(str(?_space_multi_iri), \"/\")))\n ?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?mpk .\n }\n }\n }\n graph npa:graph {\n ?np npa:hasValidSignatureForPublicKeyHash ?npPubkey .\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?npPubkey . }\n filter not exists { ?supNp npx:supersedes ?np . }\n filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . }\n ?np np:hasAssertion ?a .\n ?np np:hasPublicationInfo ?pi .\n }\n filter(contains(?memberPubkeys, ?npPubkey))\n graph ?a {\n ?project ff:reuses ?dataset .\n ?dataset rdfs:label ?dataset_label .\n optional { ?dataset dct:publisher ?publisher }\n optional { ?dataset oh:domain ?domain }\n }\n filter(?project = ?_space_multi_iri || strstarts(str(?project), concat(str(?_space_multi_iri), \"/\")))\n optional { graph ?pi { ?project nt:hasLabelFromApi ?project_label } }\n bind(strafter(str(?domain), \"https://w3id.org/spaces/zonmw/r/onehealth/\") as ?domain_label)\n}\ngroup by ?project ?project_label ?dataset ?dataset_label ?publisher ?np\norder by ?project_label ?dataset_label" } ] } ] }, { "@id": "https://w3id.org/np/RAAHc9JTvuDx5gfaFQICdtCFphLltqlVDeGP7QEPJbnak/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAAHc9JTvuDx5gfaFQICdtCFphLltqlVDeGP7QEPJbnak/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]