[ { "@graph" : [ { "@id" : "https://w3id.org/np/RA0kShKuqPRUVhiYAZb0H5xs5uGdYEmnY8BZk6fX7hXHs", "@type" : [ "http://www.nanopub.org/nschema#Nanopublication" ], "http://www.nanopub.org/nschema#hasAssertion" : [ { "@id" : "https://w3id.org/np/RA0kShKuqPRUVhiYAZb0H5xs5uGdYEmnY8BZk6fX7hXHs/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance" : [ { "@id" : "https://w3id.org/np/RA0kShKuqPRUVhiYAZb0H5xs5uGdYEmnY8BZk6fX7hXHs/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo" : [ { "@id" : "https://w3id.org/np/RA0kShKuqPRUVhiYAZb0H5xs5uGdYEmnY8BZk6fX7hXHs/pubinfo" } ] } ], "@id" : "https://w3id.org/np/RA0kShKuqPRUVhiYAZb0H5xs5uGdYEmnY8BZk6fX7hXHs/Head" }, { "@graph" : [ { "@id" : "https://w3id.org/np/RA0kShKuqPRUVhiYAZb0H5xs5uGdYEmnY8BZk6fX7hXHs/get-ro-crates", "@type" : [ "https://w3id.org/kpxl/grlc/grlc-query" ], "http://purl.org/dc/terms/description" : [ { "@value" : "This query returns all RO-Crates of which the metadata were published as nanopublications." } ], "http://purl.org/dc/terms/license" : [ { "@id" : "http://www.apache.org/licenses/LICENSE-2.0" } ], "http://www.w3.org/2000/01/rdf-schema#label" : [ { "@value" : "Get RO-Crates" } ], "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 schema: \r\nprefix rdfs: \r\nprefix dct: \r\nprefix np: \r\nprefix npa: \r\nprefix npx: \r\n\r\nselect distinct ?np ?metadata ?obj (group_concat(distinct ?objType; separator=\" \") as ?objTypes) (group_concat(distinct ?keyword; separator=\" \") as ?keywords) ?date where {\r\n graph npa:graph {\r\n ?np npa:hasValidSignatureForPublicKey ?pubkey .\r\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKey ?pubkey . }\r\n ?np np:hasAssertion ?a .\r\n optional { ?np rdfs:label ?label }\r\n }\r\n graph ?a {\r\n optional { ?metadata_a ?obj_a . filter(strends(str(?metadata_a), \"ro-crate-metadata.json\")) }\r\n optional { ?metadata_b ?obj_b . filter(strends(str(?metadata_b), \"ro-crate-metadata.jsonld\")) }\r\n filter(bound(?metadata_a) || bound(?metadata_b))\r\n bind(coalesce(?metadata_a, ?metadata_b) as ?metadata)\r\n bind(coalesce(?obj_a, ?obj_b) as ?obj)\r\n }\r\n optional { graph ?a { ?obj schema:datePublished ?datePublished . } }\r\n optional { graph ?a { ?obj schema:dateCreated ?dateCreated . } }\r\n bind(coalesce(?datePublished, ?dateCreated) as ?date)\r\n optional { graph ?a { ?obj a ?objType . } }\r\n optional { graph ?a { ?obj schema:keywords ?keyword . } }\r\n}\r\ngroup by ?np ?metadata ?obj ?date\r\norder by desc(?date)" } ] } ], "@id" : "https://w3id.org/np/RA0kShKuqPRUVhiYAZb0H5xs5uGdYEmnY8BZk6fX7hXHs/assertion" }, { "@graph" : [ { "@id" : "https://w3id.org/np/RA0kShKuqPRUVhiYAZb0H5xs5uGdYEmnY8BZk6fX7hXHs/assertion", "http://www.w3.org/ns/prov#wasAttributedTo" : [ { "@id" : "https://orcid.org/0000-0002-1267-0234" } ] } ], "@id" : "https://w3id.org/np/RA0kShKuqPRUVhiYAZb0H5xs5uGdYEmnY8BZk6fX7hXHs/provenance" }, { "@graph" : [ { "@id" : "https://orcid.org/0000-0002-1267-0234", "http://xmlns.com/foaf/0.1/name" : [ { "@value" : "Tobias Kuhn" } ] }, { "@id" : "https://w3id.org/np/RA0kShKuqPRUVhiYAZb0H5xs5uGdYEmnY8BZk6fX7hXHs", "http://purl.org/dc/terms/created" : [ { "@type" : "http://www.w3.org/2001/XMLSchema#dateTime", "@value" : "2025-07-18T14:15:14.570Z" } ], "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/RA0kShKuqPRUVhiYAZb0H5xs5uGdYEmnY8BZk6fX7hXHs/get-ro-crates" } ], "http://purl.org/nanopub/x/supersedes" : [ { "@id" : "https://w3id.org/np/RAMLxBF1tHvlBhZsUZjec6QA6nAKvXHWJgGU-ABP3TICE" } ], "http://purl.org/nanopub/x/wasCreatedAt" : [ { "@id" : "https://nanodash.knowledgepixels.com/" } ], "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/RA0kShKuqPRUVhiYAZb0H5xs5uGdYEmnY8BZk6fX7hXHs/sig", "http://purl.org/nanopub/x/hasAlgorithm" : [ { "@value" : "RSA" } ], "http://purl.org/nanopub/x/hasPublicKey" : [ { "@value" : "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQD4Wj537OijfOWVtsHMznuXKISqBhtGDQZfdO6pbb4hg9EHMcUFGTLbWaPrP783PHv8HMAAPjvEkHLaOHMIknqhaIa5236lfBO3r+ljVdYBElBcLvROmwG+ZGtmPNZf7lMhI15xf5TfoaSa84AFRd5J2EXekK6PhaFQhRm1IpSYtwIDAQAB" } ], "http://purl.org/nanopub/x/hasSignature" : [ { "@value" : "zcwhChP8FtO7kzhnqks5GV9eQCBol68MgW5kGqYHQ9lmxWMp+JRJO0oKMc0esO4hKw3VsiW2vRBJO4emMzMwzSwNfVpCAKo9vddIoJmv0bdlh0nyqdzF8QgPQ4EvSXAOQrN+NGyO/etgHbbyToke+tH/HnlZ5M0LVRzdpKJamsQ=" } ], "http://purl.org/nanopub/x/hasSignatureTarget" : [ { "@id" : "https://w3id.org/np/RA0kShKuqPRUVhiYAZb0H5xs5uGdYEmnY8BZk6fX7hXHs" } ], "http://purl.org/nanopub/x/signedBy" : [ { "@id" : "https://orcid.org/0000-0002-1267-0234" } ] } ], "@id" : "https://w3id.org/np/RA0kShKuqPRUVhiYAZb0H5xs5uGdYEmnY8BZk6fX7hXHs/pubinfo" } ]