[ { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/provenance", "@graph": [ { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/assertion", "http://www.w3.org/ns/prov#wasAttributedTo": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/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/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo", "http://purl.org/dc/terms/created": [ { "@value": "2026-06-03T06:54:26Z", "@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://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "Assigning a preset to a resource" } ], "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/RAukAcWHRDlkqxk7H2XNSegc1WnHI569INvNr-xdptDGI" } ], "https://w3id.org/np/o/ntemplate/wasCreatedFromTemplate": [ { "@id": "https://w3id.org/np/RASDwdz5WzsWdeDRREs0i5n5xTtKTrKS8pCIFUXhlkpt0" } ] }, { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/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": "hTsFbmclxLSorGZL9t4WDIXn2GphxBXNWFSwPio3e6UHE+3zzD9ZvUVah/YcZxLQCxCTxnm3B7NQBJR3wifRM2B1Ka2dk23d1+WF3q7rukJLJ5evIffa4ppP30pM2go/R5T9NQscOAjctnkeOONSEaB1nXgev69UrQcUGXb3ASM=" } ], "http://purl.org/nanopub/x/hasSignatureTarget": [ { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo" } ], "http://purl.org/nanopub/x/signedBy": [ { "@id": "https://orcid.org/0000-0002-1267-0234" } ] } ] }, { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/Head", "@graph": [ { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo", "http://www.nanopub.org/nschema#hasAssertion": [ { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/assertion" } ], "http://www.nanopub.org/nschema#hasProvenance": [ { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/provenance" } ], "http://www.nanopub.org/nschema#hasPublicationInfo": [ { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/pubinfo" } ], "@type": [ "http://www.nanopub.org/nschema#Nanopublication" ] } ] }, { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/assertion", "@graph": [ { "@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": "https://w3id.org/kpxl/gen/terms/ActivatedPresetAssignment", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "activated preset assignment" } ] }, { "@id": "https://w3id.org/kpxl/gen/terms/DeactivatedPresetAssignment", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "deactivated preset assignment" } ] }, { "@id": "https://w3id.org/kpxl/gen/terms/PresetAssignment", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "preset assignment" } ] }, { "@id": "https://w3id.org/kpxl/gen/terms/isAssignmentFor", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "is an assignment for" } ] }, { "@id": "https://w3id.org/kpxl/gen/terms/isAssignmentOfPreset", "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "is an assignment of the preset" } ] }, { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/assertion", "http://purl.org/dc/terms/description": [ { "@value": "

Assign a preset (a named bundle of default views and roles) to a resource — a space or a maintained resource — so that the resource picks up the preset's views and roles.

\n\n

Like view displays, a preset assignment is identified by the (preset, resource) pair rather than by this nanopublication's URI. This means another user can later publish a deactivation of the same assignment (with their own key, without superseding this one); the application aggregates all assignments for the pair and resolves the activation state.

\n\n

This template uses the proposed terms gen:PresetAssignment, gen:ActivatedPresetAssignment, gen:DeactivatedPresetAssignment, gen:isAssignmentOfPreset and gen:isAssignmentFor, mirroring the existing view-display vocabulary, 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": "Assigning a preset to a resource" } ], "https://w3id.org/np/o/ntemplate/hasNanopubLabelPattern": [ { "@value": "${resource} uses preset: ${preset}" } ], "https://w3id.org/np/o/ntemplate/hasStatement": [ { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/st10" }, { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/st12" }, { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/st20" }, { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/st30" } ], "https://w3id.org/np/o/ntemplate/hasTag": [ { "@value": "Spaces" } ] }, { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/st10", "http://www.w3.org/1999/02/22-rdf-syntax-ns#object": [ { "@id": "https://w3id.org/kpxl/gen/terms/PresetAssignment" } ], "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/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/assignment" } ] }, { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/st12", "http://www.w3.org/1999/02/22-rdf-syntax-ns#object": [ { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/assignmentMode" } ], "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/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/assignment" } ], "@type": [ "https://w3id.org/np/o/ntemplate/AdvancedStatement" ] }, { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/st20", "http://www.w3.org/1999/02/22-rdf-syntax-ns#object": [ { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/preset" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate": [ { "@id": "https://w3id.org/kpxl/gen/terms/isAssignmentOfPreset" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject": [ { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/assignment" } ] }, { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/st30", "http://www.w3.org/1999/02/22-rdf-syntax-ns#object": [ { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/resource" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate": [ { "@id": "https://w3id.org/kpxl/gen/terms/isAssignmentFor" } ], "http://www.w3.org/1999/02/22-rdf-syntax-ns#subject": [ { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/assignment" } ] }, { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/assignment", "@type": [ "https://w3id.org/np/o/ntemplate/EmbeddedResource", "https://w3id.org/np/o/ntemplate/LocalResource" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "this" } ] }, { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/assignmentMode", "@type": [ "https://w3id.org/np/o/ntemplate/RestrictedChoicePlaceholder" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "select whether this assignment is activated or deactivated" } ], "https://w3id.org/np/o/ntemplate/hasDefaultValue": [ { "@id": "https://w3id.org/kpxl/gen/terms/ActivatedPresetAssignment" } ], "https://w3id.org/np/o/ntemplate/possibleValue": [ { "@id": "https://w3id.org/kpxl/gen/terms/ActivatedPresetAssignment" }, { "@id": "https://w3id.org/kpxl/gen/terms/DeactivatedPresetAssignment" } ] }, { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/preset", "@type": [ "https://w3id.org/np/o/ntemplate/GuidedChoicePlaceholder" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "choose the 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/Preset" } ] }, { "@id": "https://w3id.org/np/RA5shNOPHqtqUWkHnAWmff94G3wreqWUYYQFlHmrMTYzo/resource", "@type": [ "https://w3id.org/np/o/ntemplate/GuidedChoicePlaceholder" ], "http://www.w3.org/2000/01/rdf-schema#label": [ { "@value": "the ID of the resource" } ], "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/MaintainedResource" }, { "@value": "https://w3id.org/np/l/nanopub-query-1.1/api/RAyMrQ89RECTi9gZK5q7gjL1wKTiP8StkLy0NIkkCiyew/find-things?type=https://w3id.org/kpxl/gen/terms/Space" } ] } ] } ]