[ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/assertion", "@graph": [ { "@id": "http://purl.org/dc/terms/description", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "has the description" } ] }, { "@id": "http://purl.org/dc/terms/isVersionOf", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "is a version of" } ] }, { "@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "is a" } ] }, { "@id": "http://www.w3.org/2000/01/rdf-schema#label", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "has the name" } ] }, { "@id": "https://w3id.org/kpxl/gen/terms/IndividualAgent", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "individual agent" } ] }, { "@id": "https://w3id.org/kpxl/gen/terms/MaintainedResource", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "maintained resource" } ] }, { "@id": "https://w3id.org/kpxl/gen/terms/Preset", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "preset - a named bundle of default views and roles that applies to a resource type" } ] }, { "@id": "https://w3id.org/kpxl/gen/terms/Space", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "space" } ] }, { "@id": "https://w3id.org/kpxl/gen/terms/appliesToInstancesOf", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "applies to instances of" } ] }, { "@id": "https://w3id.org/kpxl/gen/terms/appliesToNamespace", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "applies to the namespace" } ] }, { "@id": "https://w3id.org/kpxl/gen/terms/hasRole", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "has the role" } ] }, { "@id": "https://w3id.org/kpxl/gen/terms/hasTopLevelView", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "has the top-level view" } ] }, { "@id": "https://w3id.org/kpxl/gen/terms/hasView", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "has the view" } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/appliesToClass", "@type": [ "https://w3id.org/np/o/ntemplate/RestrictedChoicePlaceholder" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "the type of resource page this preset applies to" } ], "https://w3id.org/np/o/ntemplate/possibleValue": [ { "@id": "https://w3id.org/kpxl/gen/terms/IndividualAgent" }, { "@id": "https://w3id.org/kpxl/gen/terms/MaintainedResource" }, { "@id": "https://w3id.org/kpxl/gen/terms/Space" } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/appliesToNamespace", "@type": [ "https://w3id.org/np/o/ntemplate/ExternalUriPlaceholder" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "optionally, a namespace (URI prefix) this preset applies to" } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/assertion", "http://purl.org/dc/terms/description": [ { "@value": "

Publish a preset: a named bundle that defines which views are shown by default and which roles are set up for a resource page — applied to all instances of a resource type (user, space, or maintained resource), so that any such resource automatically picks up the preset.

\n\n

Presets appear in view dropdowns alongside individual views, marked as a preset. A preset can bundle:

\n\n\n

Like resource views, a preset has a stable preset kind (linked via dct:isVersionOf) that persists across superseding versions.

\n\n

This template introduces the proposed term gen:Preset (reusing the existing gen:hasView and gen:hasRole properties) and is a draft for nanodash issue #302.

" } ], "@type": [ "https://w3id.org/np/o/ntemplate/AssertionTemplate" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Publishing a preset" } ], "https://w3id.org/np/o/ntemplate/hasStatement": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st10" }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st10b" }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st20" }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st25" }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st30" }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st36" }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st38" }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st40" }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st50" } ], "https://w3id.org/np/o/ntemplate/hasTag": [ { "@value": "Spaces" } ], "https://w3id.org/np/o/ntemplate/hasTargetNanopubType": [ { "@id": "https://w3id.org/kpxl/gen/terms/Preset" } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st10", "http://www.w3.org/1999/02/22-rdf-syntax-ns#object": [ { "@id": "https://w3id.org/kpxl/gen/terms/Preset" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate": [ { "@id": "http://www.w3.org/1999/02/22-rdf-syntax-ns#type" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/preset" } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st10b", "http://www.w3.org/1999/02/22-rdf-syntax-ns#object": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/presetKind" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate": [ { "@id": "http://purl.org/dc/terms/isVersionOf" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/preset" } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st20", "http://www.w3.org/1999/02/22-rdf-syntax-ns#object": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/name" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate": [ { "@id": "http://www.w3.org/2000/01/rdf-schema#label" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/preset" } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st25", "http://www.w3.org/1999/02/22-rdf-syntax-ns#object": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/description" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate": [ { "@id": "http://purl.org/dc/terms/description" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/preset" } ], "@type": [ "https://w3id.org/np/o/ntemplate/OptionalStatement" ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st30", "http://www.w3.org/1999/02/22-rdf-syntax-ns#object": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/appliesToClass" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate": [ { "@id": "https://w3id.org/kpxl/gen/terms/appliesToInstancesOf" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/preset" } ], "@type": [ "https://w3id.org/np/o/ntemplate/RepeatableStatement" ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st36", "http://www.w3.org/1999/02/22-rdf-syntax-ns#object": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/appliesToNamespace" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate": [ { "@id": "https://w3id.org/kpxl/gen/terms/appliesToNamespace" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/preset" } ], "@type": [ "https://w3id.org/np/o/ntemplate/AdvancedStatement", "https://w3id.org/np/o/ntemplate/OptionalStatement", "https://w3id.org/np/o/ntemplate/RepeatableStatement" ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st38", "http://www.w3.org/1999/02/22-rdf-syntax-ns#object": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/topLevelView" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate": [ { "@id": "https://w3id.org/kpxl/gen/terms/hasTopLevelView" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/preset" } ], "@type": [ "https://w3id.org/np/o/ntemplate/OptionalStatement", "https://w3id.org/np/o/ntemplate/RepeatableStatement" ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st40", "http://www.w3.org/1999/02/22-rdf-syntax-ns#object": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/view" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate": [ { "@id": "https://w3id.org/kpxl/gen/terms/hasView" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/preset" } ], "@type": [ "https://w3id.org/np/o/ntemplate/OptionalStatement", "https://w3id.org/np/o/ntemplate/RepeatableStatement" ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/st50", "http://www.w3.org/1999/02/22-rdf-syntax-ns#object": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/role" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate": [ { "@id": "https://w3id.org/kpxl/gen/terms/hasRole" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/preset" } ], "@type": [ "https://w3id.org/np/o/ntemplate/OptionalStatement", "https://w3id.org/np/o/ntemplate/RepeatableStatement" ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/description", "@type": [ "https://w3id.org/np/o/ntemplate/LiteralPlaceholder" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "an optional description of what this preset is for" } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/name", "@type": [ "https://w3id.org/np/o/ntemplate/LiteralPlaceholder" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "a short name for this preset (e.g. \"Nano Session\")" } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/preset", "@type": [ "https://w3id.org/np/o/ntemplate/EmbeddedResource", "https://w3id.org/np/o/ntemplate/LocalResource", "https://w3id.org/np/o/ntemplate/UriPlaceholder" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "short ID suffix for the preset" } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/presetKind", "@type": [ "https://w3id.org/np/o/ntemplate/IntroducedResource", "https://w3id.org/np/o/ntemplate/UriPlaceholder" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "short suffix or existing URI of the preset kind" } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/role", "@type": [ "https://w3id.org/np/o/ntemplate/GuidedChoicePlaceholder" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "a role definition to include in this preset" } ], "https://w3id.org/np/o/ntemplate/possibleValuesFromApi": [ { "@value": "https://w3id.org/np/l/nanopub-query-1.1/api/RAyMrQ89RECTi9gZK5q7gjL1wKTiP8StkLy0NIkkCiyew/find-things?type=https://w3id.org/kpxl/gen/terms/SpaceMemberRole" } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/topLevelView", "@type": [ "https://w3id.org/np/o/ntemplate/GuidedChoicePlaceholder" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "a view to show at the top level for this preset" } ], "https://w3id.org/np/o/ntemplate/possibleValuesFromApi": [ { "@value": "https://w3id.org/np/l/nanopub-query-1.1/api/RAs7Q2IMbb7C2WzFa98bVwlDMhN3kJ0rrF9cSEybtvLaA/find-embedded-things?type=https://w3id.org/kpxl/gen/terms/ResourceView" } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/view", "@type": [ "https://w3id.org/np/o/ntemplate/GuidedChoicePlaceholder" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "a view to show by default for this preset" } ], "https://w3id.org/np/o/ntemplate/possibleValuesFromApi": [ { "@value": "https://w3id.org/np/l/nanopub-query-1.1/api/RAs7Q2IMbb7C2WzFa98bVwlDMhN3kJ0rrF9cSEybtvLaA/find-embedded-things?type=https://w3id.org/kpxl/gen/terms/ResourceView" } ] } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/provenance", "@graph": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/Head", "@graph": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/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/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ", "http://purl.org/dc/terms/created": [ { "@value": "2026-06-03T07:00:18Z", "@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/supersedes": [ { "@id": "https://w3id.org/np/RAKx96LmDxywQj94o6X-SB9gqmAvH7-T0csYlKQLXcE7M" } ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Publishing a preset" } ], "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/RAMEgudZsQ1bh1fZhfYnkthqH6YSXpghSE_DEN1I-6eAI" }, { "@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/RASDwdz5WzsWdeDRREs0i5n5xTtKTrKS8pCIFUXhlkpt0" } ] }, { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ/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": "qgKJL0/LY7I0iZ+sl48AJeT4Y2AgdwkMBDEiCDRGGs5ILWRgrTOxiC4BIfCatN6ZDtizPwfHfdxjmEX2A2ZZA26L4m8DWAvul3FqrJhcerJhuhwXg8ebmTUvqDTsUJdPPwRlYKk/bX0RbhLvgjadcDueaxtwoxVL5CTWl9ir6CI=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RAjdBPJa3HQ1Oa5knoSQEs1ui6bf69iO8vGuEhoogRmcQ" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] } ]