@prefix this: . @prefix sub: . @prefix schema: . @prefix gen: . @prefix np: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix prov: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { a gen:Paragraph; schema:about nt:NanopubTemplate; schema:title "Prefixes on URI fields"; gen:hasContent """

nt:hasPrefix puts a fixed beginning in front of a URI field, so the user only types what comes after it, and nt:hasPrefixLabel gives that beginning a readable name in the form.

The prefix may also contain a token standing for wherever the form was opened: ~~SPACE~~ for the current space, and ~~NAMESPACE~~ for the namespace of the current maintained resource. A template using these mints new resources under the space or vocabulary the user is working in, rather than under a namespace fixed when the template was written. If the form is opened without such a context, it shows a picker to choose one.

A URI built from a prefix is not unique by construction: filling in the same name twice would make the second nanopublication quietly add to the first one's resource rather than create a new one. Typing the field nt:NewUriPlaceholder as well makes the form check, before publishing, whether any nanopublication already introduces the resulting URI, and refuse if one does (Nanodash 5.16 and later).

"""; gen:hasPositionString "140" . } sub:provenance { sub:assertion prov:wasAttributedTo . } sub:pubinfo { this: dct:created "2026-11-18T12:45:49.194+01:00"^^xsd:dateTime; dct:creator ; dct:license ; npx:introduces ; rdfs:label "Editing a paragraph"; prov:wasDerivedFrom ; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl8cMusqtNyKA6UIsi3f7BAcZmHQXWxU0qk0PLsboMWQxYrGBfGgHTgRHJrBRxL+Zn9kJHKVmz2smDcjCBptXi/OwWy80gjsx+Pbe6IWz3zFPWF1UoFIKfPnC0slV67CQgdM853zW7Bmk9/uflCtK4EtZKmPdRGtUHVC7DTVvDBMDzLRGdE2KCBVN29EbM5GGVNvijYbaZQ9OFQPBkQshayqSIyGRr6rreJdkrRVLIzu3uuAjKYydaeXZWSN2JLnVBwrClKUxaEdCwhb5nXpMtKOMD+R+LgaXLeJUWM8BdRSYnta9ZqI5pHY4y3v+eW7J+HHeTvRbHvlik+Z4hFUXmQIDAQAB"; npx:hasSignature "hm6YS3u6wEypM7/KvVcUFfvWFqE6gB1Wh7M+GctxauYQQMN9Pj+6wMuzFme32wmTheBT8WvnZq/GnqnhojjnSYHVMqSXfWP11x0xoxXI8TeNpzajnU26h9Gb/EejpO083GQy7RmiR2sWjzMRzv37HIuA5JP1iIxsRnUaz2pbBo8d83CWkKKlEaZba0riWa65+DME4cMRhhxxu9blMqH1o1+5fBM8lYl6O/3n87s2QfDW2i0LPxfxyYfIyqvMX4LpJrJa4rhufBPBcuX1uxtnNpnGKK6vurv6l1vda+9Bb95VhiwVw7L5XnSU9ISz4C8gDaydUbfSiAMqEujuZtzgug=="; npx:hasSignatureTarget this:; npx:signedBy . }