[ { "@id": "https://w3id.org/np/RARaJ_Fj9XURsm5FlU6yxJ2x7SNtIuI0Pk0_ttu3QL5UI/Head", "@graph": [ { "@id": "https://w3id.org/np/RARaJ_Fj9XURsm5FlU6yxJ2x7SNtIuI0Pk0_ttu3QL5UI", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RARaJ_Fj9XURsm5FlU6yxJ2x7SNtIuI0Pk0_ttu3QL5UI/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RARaJ_Fj9XURsm5FlU6yxJ2x7SNtIuI0Pk0_ttu3QL5UI/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RARaJ_Fj9XURsm5FlU6yxJ2x7SNtIuI0Pk0_ttu3QL5UI/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RARaJ_Fj9XURsm5FlU6yxJ2x7SNtIuI0Pk0_ttu3QL5UI/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/RARaJ_Fj9XURsm5FlU6yxJ2x7SNtIuI0Pk0_ttu3QL5UI", "http://purl.org/dc/terms/created": [ { "@value": "2026-08-13T11:44:48Z", "@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/introduces": [ { "@id": "https://w3id.org/np/RARaJ_Fj9XURsm5FlU6yxJ2x7SNtIuI0Pk0_ttu3QL5UI/get-suggested-templates-to-get-started" } ], "http://purl.org/nanopub/x/supersedes": [ { "@id": "https://w3id.org/np/RACtrpz5w6egoLdx61qRMVza82Rc7wThen-RMyG_5NC1k" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromProvenanceTemplate": [ { "@id": "http://purl.org/np/RANwQa4ICWS5SOjw7gp99nBpXBasapwtZF1fIM3H2gYTM" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromPubinfoTemplate": [ { "@id": "http://purl.org/np/RAA2MfqdBCzmz9yVWjKLXNbyfBNcwsMmOqcNUxkk1maIM" }, { "@id": "http://purl.org/np/RAh1gm83JiG5M6kDxXhaYT1l49nCzyrckMvTzcPn-iv90" }, { "@id": "http://purl.org/np/RAjpBMlw3owYhJUBo3DtsuDlXsNAJ8cnGeWAutDVjuAuI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RAYvkQOT9-zrcql5lzMW9OpiPjA9UvSh-RezaVwYmWvns" } ] }, { "@id": "https://w3id.org/np/RARaJ_Fj9XURsm5FlU6yxJ2x7SNtIuI0Pk0_ttu3QL5UI/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": "nggFN4HsVDTHiTdGf9igKGOtYpMHTXnPTUQIHHQRerr63lySYnXV+JUNaF3WzgNXSI8gkz10kKo4xLG7aHj8P5AZSAqkqAJJfqrsVES8MNUOI+f0XzxsO50XTf9b2lE+DHZKXEwRinlKT+ZZV/qDpBH8QyAyideCrj4mQbcpCZI=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RARaJ_Fj9XURsm5FlU6yxJ2x7SNtIuI0Pk0_ttu3QL5UI" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RARaJ_Fj9XURsm5FlU6yxJ2x7SNtIuI0Pk0_ttu3QL5UI/assertion", "@graph": [ { "@id": "https://w3id.org/np/RARaJ_Fj9XURsm5FlU6yxJ2x7SNtIuI0Pk0_ttu3QL5UI/get-suggested-templates-to-get-started", "http://purl.org/dc/terms/description": [ { "@value": "This query returns a list of suggested templates to get started, as published by members of the space of the given resource (admins, maintainers, or regular members; observers excluded), so it can be shown e.g. on Nanodash." } ], "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 suggested templates to get started" } ], "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 np: \nprefix npa: \nprefix npx: \nprefix dct: \nprefix gen: \n\nselect ?template_iri ?template_iri_label where {\n service {\n select (group_concat(?mpk; separator=\" \") as ?memberPubkeys) where {\n graph npa:graph { npa:hasCurrentSpaceState ?stateG . }\n values ?_resource_multi_iri {}\n graph ?stateG {\n ?_resource_multi_iri npa:isMaintainedBy? ?space .\n ?ri a gen:RoleInstantiation ; npa:forSpace ?space ; npa:forAgent ?agent ; npa:hasRoleType ?roleType .\n filter(?roleType in (gen:AdminRole, gen:MaintainerRole, gen:MemberRole))\n ?acct a npa:AccountState ; npa:agent ?agent ; npa:pubkey ?mpk .\n }\n }\n }\n graph npa:graph {\n ?np npx:hasNanopubType gen:SuggestedTemplateToGetStarted .\n ?np npa:hasValidSignatureForPublicKeyHash ?pubkeyHash .\n filter not exists { ?npx npx:invalidates ?np ; npa:hasValidSignatureForPublicKeyHash ?pubkeyHash . }\n filter not exists { ?np npx:hasNanopubType npx:ExampleNanopub . }\n ?np dct:created ?date .\n ?np np:hasAssertion ?a .\n }\n filter(contains(?memberPubkeys, ?pubkeyHash))\n graph ?a {\n ?template_iri a gen:SuggestedTemplateToGetStarted .\n }\n optional {\n graph npa:graph {\n ?template_iri rdfs:label ?raw_label .\n }\n bind(replace(str(?raw_label), \"^Template: \", \"\") as ?template_iri_label)\n }\n} order by desc(?date)" } ] } ] }, { "@id": "https://w3id.org/np/RARaJ_Fj9XURsm5FlU6yxJ2x7SNtIuI0Pk0_ttu3QL5UI/provenance", "@graph": [ { "@id": "https://w3id.org/np/RARaJ_Fj9XURsm5FlU6yxJ2x7SNtIuI0Pk0_ttu3QL5UI/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]